Repository navigation
fix(release): unblock release workflow — demote 5 changesets + format drift - #1934
Merged
Merged
Conversation
…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.
Contributor
There was a problem hiding this comment.
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 asminoris consistent with how pre-mode is supposed to accumulate. src/lib/server/test-controller.tsis pure prettier line-wrapping — every change is thewrapStoreSuccess(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.wrapStoreSuccesscall 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
ba0fbf31message readsfix(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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Release workflow on #1902 failed; fixing.
Root cause
`Release` action ran after #1902 merged. Two problems:
Fix
Verification
After merge
Release workflow re-runs; should successfully open a "chore: release package (beta)" PR cutting `@adcp/[email protected]` under the `@beta` dist-tag.