ReviewOS

craft-native/craft

fix(release): let the atomic publisher own changelog state

#14
Closed chris opened this 22 days ago · 1 comment
22 days ago

Problem

Craft's release scripts generated the changelog before Bumpx performed its clean-tree synchronization. Bumpx correctly refused to continue because the repository was dirty, so bun run release:patch could not complete atomically.

Required contract

  • Let Bumpx synchronize and validate the repository before release files change.
  • Let the atomic publisher own changelog, version, tag, and push state.
  • Pin the corrected Bumpx version directly rather than relying on a transitive dependency.
  • Prove the fix by publishing a patch tag with the documented command.

Resolution evidence

  • 6ac987f pins @stacksjs/bumpx v0.2.7 directly.
  • 68a4c4e removes the pre-release changelog mutation and delegates it to Bumpx.
  • bun run release:patch published v0.0.46 at 83cd0270a5e1118fa975f381e835bb0f8aee4baf.
22 days ago

Resolved in v0.0.46. The exact documented release command completed, the main branch, tag, and origin revision all match 83cd027. GitHub-hosted release jobs remain separately tracked by #11 because Actions are disabled at repository policy level.

Sign in to comment on this issue.