Skip to content

fix(release): unblock release workflow — demote 5 changesets + format drift - #1934

Merged
bokelley merged 1 commit into
mainfrom
bokelley/fix-release-blockers
May 22, 2026
Merged

bokelley merged 1 commit into
mainfrom
bokelley/fix-release-blockers

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Release workflow on #1902 failed; fixing.

Root cause

`Release` action ran after #1902 merged. Two problems:

  1. Computed version was `9.0.0-beta.0`, not the intended `8.1.0-beta.0`. The 5 structural-break changesets (OutcomeMeasurement, ControllerScenario, governance categories, AssetVariant, product_card) were still `major` — only the foundation changeset got demoted. In pre-mode, any `major` in the changeset pool bumps to the next major.
  2. Prettier check failed on `src/lib/server/test-controller.ts` during the release commit's pre-push hook. Pure formatting drift from the `wrapStoreSuccess` sweep.

Fix

  • Demote 5 changesets `major` → `minor` (next release: `8.1.0-beta.0`, stays on 8.x line per user intent)
  • `npm run format` resolves the test-controller.ts drift

Verification

  • `prettier --check` on test-controller.ts: clean
  • All 6 changesets in `.changeset/` (foundation + 5 structural breaks) now `minor`
  • Other queued changesets (`enter-pre-mode-beta.md` = patch, codegen ones already merged) unaffected

After merge

Release workflow re-runs; should successfully open a "chore: release package (beta)" PR cutting `@adcp/[email protected]` under the `@beta` dist-tag.

…r.ts

Release workflow on #1902 failed for two reasons:

1. Computed version was 9.0.0-beta.0 (next major bump from 8.0.0 in
   pre-mode). The 5 structural-break changesets from the 8.0-beta sweep
   (OutcomeMeasurement, ControllerScenario, governance categories,
   AssetVariant, product_card) were still `major` — only the foundation
   changeset got demoted before #1902 merged. Demote all 5 so the next
   release computes 8.1.0-beta.0 (stays on the 8.x line, per intent).

2. prettier --check fail on src/lib/server/test-controller.ts during
   the release commit's pre-push hook. Pure formatting drift from the
   wrapStoreSuccess sweep — `npm run format` resolves cleanly.

Next release workflow run after this merges should produce a Release
PR titled "chore: release package (beta)" cutting 8.1.0-beta.0 under
@beta dist-tag.
@bokelley
bokelley merged commit e7eee57 into main May 22, 2026
8 of 9 checks passed
@bokelley
bokelley deleted the bokelley/fix-release-blockers branch May 22, 2026 15:32

@aao-ipr-bot aao-ipr-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Right call to demote — in pre-mode, one unconsumed major poisons the pool to 9.0.0-beta.0 even when the 8.0-beta line already ate the breaking bump. Holding the structural deltas on the 8.x line is the intent.

Things I checked

  • All 5 changeset frontmatter flips are major → minor, body prose unchanged: asset-variant-array-slots, governance-agents-categories-removed, outcome-measurement-rename, product-card-self-rendering, promote-query-upstream-traffic.
  • The 8.0-beta cut (fa99cfc5) already consumed the major; subsequent structural breaks within the beta line as minor is consistent with how pre-mode is supposed to accumulate.
  • src/lib/server/test-controller.ts is pure prettier line-wrapping — every change is the wrapStoreSuccess(await store.foo(args)) → multi-line form at L903-909, L940-946, L960-966, L996-1005, L1034-1040, L1057-1059, L1115-1121, L1139-1145. No control-flow change, no argument change, no behavior change. Confirmed by reading the file post-merge.
  • wrapStoreSuccess call sites: 8 reformatted, semantics preserved at all 8.

Follow-ups (non-blocking)

  • The structural-break changesets are still labelled feat: / fix: with no wire-break callout in the body. Inside a beta line that's fine, but once 8.x graduates to GA the same wording shouldn't carry forward — adopters reading the CHANGELOG need to see "rename / dropped field / shape change" called out at the top of each entry. Worth a CHANGELOG editorial pass before the GA cut, not before merging the release PR.
  • Commit ba0fbf31 message reads fix(release): demote 5 changesets major→minor + format test-controller.ts — accurate, but a future grep for "why did this version land as 8.1.0-beta.0" hits the commit and stops. Worth a one-liner in the eventual release notes pointing back at the pre-mode major-poisoning behavior; next person to hit it shouldn't have to re-derive it.

Safe to merge.

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.

1 participant