Skip to content

chore(release): prepare v1.2.0 - #361

Merged
jirhiker merged 5 commits into
stagingfrom
release/v1.2.0
Aug 24, 2026
Merged

chore(release): prepare v1.2.0#361
jirhiker merged 5 commits into
stagingfrom
release/v1.2.0

Conversation

@jirhiker

@jirhiker jirhiker commented Aug 24, 2026

Copy link
Copy Markdown
Member

Version bump, one access-control repair, and a back-merge of production, ahead of merging staging into production as v1.2.0.

Version

staging has read 1.1.0 since July. The 1.1.1 and 1.1.2 bumps went straight to production on hotfix branches and were never merged back, so the number on staging has been behind for two releases. This sets it to 1.2.0.

Editor access to Unassociated Assets

The v1.1.1 hotfix (cac1710) gave editors access to Unassociated Assets, changing two things: the nav entry in src/config/navigation.ts and the policy in src/utils/accessControl.ts.

staging only carries part of that. The nav entry here said adminOnly and the policy said adminRoles, while production grants editorRoles.

That matters for the release merge. Git resolves the two files differently: production's nav line survives, because staging never edited that exact line, but staging's policy file merges in cleanly and wins. The merged result would show editors a nav link and then deny them at the permission check, with no conflict reported anywhere.

This restores editorRoles on the policy and editorAndAbove on the nav entry, so both agree, and adds the matching assertions to accessControl.test.ts.

Back-merge of production

Rather than resolve the same conflicts during the release merge, this branch merges production in first. staging then contains everything production has, and the staging into production merge is conflict-free. I verified that locally: zero conflicts.

It also stops the drift that caused this. Hotfixes have been landing on production and never coming back, which is what left staging two versions behind with a half-reverted permission fix.

Conflicts resolved in the back-merge:

  • package.json: keep 1.2.0.
  • .gitignore: keep staging's Claude Code entries; production has none.
  • authentik-provider.ts: keep staging's buildAuthentikUrl helper. It strips trailing slashes from the base URL (src/config/auth.ts:7), so the v1.1.1 fix survives.
  • accessControl.test.ts: keep both sides. hydrograph-correction is new on staging, asset-unassociated comes from the v1.1.1 hotfix, and editors should have both.

Verification

  • npx tsc --noEmit clean
  • 361 unit tests pass across 38 files
  • staging into production merges with zero conflicts after this lands

Two things for a follow-up, not changed here

tmp/wellpy-samples/ holds four sample data files, about 198 KB, added by the hydrograph correction work. They look like developer scratch files rather than anything the app serves, and this release would ship them to production. Worth deleting if I am reading them right.

Running the test suite from a git worktree fails with Failed to load url .../node_modules/@mui/icons-material/esm/index.js. The cause is vite's server.fs.allow, which defaults to the workspace root and denies the parent checkout's node_modules. Widening fs.allow fixes it. I kept the config untouched rather than fold an unrelated change into a release PR.

🤖 Generated with Claude Code

TylerAdamMartinez and others added 4 commits July 30, 2026 09:42
fix(asset): update access from admin to editor
Bump the version to 1.2.0. staging has read 1.1.0 since July, because the
1.1.1 and 1.1.2 hotfix bumps went straight to production and were never
merged back.

Also restore editor access to Unassociated Assets. The v1.1.1 hotfix
(cac1710) changed both the nav entry and the access-control policy, but
staging carries only part of that: the policy here had reverted to
adminRoles while production grants editorRoles. Merging staging into
production would have kept production's nav line and taken staging's
policy, leaving a nav link editors can see behind a permission check that
turns them away. Git reports no conflict on that file, so nothing would
have flagged it.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Back-merge production so staging stops drifting from it. The 1.1.1 and
1.1.2 hotfixes shipped straight to production and were never merged back,
which is why staging still read 1.1.0 and why the Unassociated Assets
policy had reverted to admin-only here.

Conflict resolutions:

- package.json: keep 1.2.0.
- .gitignore: keep staging's Claude Code entries; production has none.
- authentik-provider: keep staging's buildAuthentikUrl helper. It strips
  trailing slashes from the base URL (src/config/auth.ts:7), so the v1.1.1
  fix for a trailing slash in AUTHENTIK_URL survives.
- accessControl.test: keep both sides. hydrograph-correction is new on
  staging, asset-unassociated comes from the v1.1.1 hotfix, and editors
  should have both.

With this in place the staging into production merge is conflict-free.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

1 similar comment
@github-actions

Copy link
Copy Markdown

@jirhiker
jirhiker merged commit b416371 into staging Aug 24, 2026
7 checks passed
@jirhiker jirhiker mentioned this pull request Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants