Skip to content

fix(release): the version bump skipped a package, and would again - #17

Merged
ralyodio merged 1 commit into
mainfrom
fix/release-tracks-fleet-core
Aug 30, 2026
Merged

fix(release): the version bump skipped a package, and would again#17
ralyodio merged 1 commit into
mainfrom
fix/release-tracks-fleet-core

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

packages/fleet-core landed in #16 and was never added to MANIFESTS in scripts/release.mjs. The next release would have bumped seven manifests and left it on 0.2.7 — silently, because the drift check that exists to catch exactly this only inspects manifests that are already listed. It cannot report a package it was never told about.

So this does two things:

  1. Lists packages/fleet-core/package.json.
  2. Stops the list from being the weak point. The release now discovers every workspace package under apps/ and packages/ and refuses when one is unlisted, alongside the other guards that all fire before anything is written.
these workspace packages are not listed in MANIFESTS in scripts/release.mjs:
  packages/fleet-core/package.json

Add them, or the release leaves them behind at an old version.

Verified

Both directions, by running the discovery against the real tree:

  • As it stands — 8 workspace packages found, all listed, guard silent.
  • With packages/fleet-core deleted from the list again — guard refuses and names it.

The existing guards still fire in order (working tree is dirty before the branch check, and so on), so nothing about the refusal sequence changed.

Worth cutting the next release with this in. Without it, fleet-core drifts a version further behind at every release, and the moment anyone does add it to the list, the drift guard blocks the release until the versions are reconciled by hand.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UeSWg1Czsb2Lwxj8vHUnA4

`packages/fleet-core` was added and never listed in MANIFESTS, so the next
release would have bumped seven manifests and left it on 0.2.7 — quietly,
because the drift check that exists to catch exactly this only looks at what
is already listed. It cannot report a package it was never told about.

So: list it, and stop the list from being the weak point. The release now
discovers every workspace package under apps/ and packages/ and refuses to
run when one is missing, alongside the other guards that all fire before
anything is written.

    these workspace packages are not listed in MANIFESTS in scripts/release.mjs:
      packages/fleet-core/package.json

    Add them, or the release leaves them behind at an old version.

Verified both directions: the guard is silent on the tree as it stands, and
refuses when fleet-core is removed from the list again.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UeSWg1Czsb2Lwxj8vHUnA4
@ralyodio
ralyodio merged commit 863b5d7 into main Aug 30, 2026
4 checks passed
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