chore(release): bump @aictrl/cli to 0.4.4 and guard tag/package version drift - #125
Merged
Merged
Conversation
…on drift The v0.4.4 publish half-shipped: platform binaries were stamped with the tag version, but @aictrl/cli was published from package.json (still 0.4.3), so it re-tried an existing version and the smoke test could not find 0.4.4. Bump the package version and fail the publish job before any upload when the tag and package.json disagree. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Uxnh5yTnJtZmnBwKDdVzK
Code reviewVerdict: Address the major findings before merging. · 🔴 0 · 🟠 1 · 🟡 2 · ⚪ 1 · 0/4 resolved
🤖 Fix all 4 open findings with your agent📋 Out-of-diff findings (4)
Reviewed 2 files · 0 inline · view all 4 findings ↗ aictrl · AI code review for fast-moving teams · aictrl.dev |
5 tasks
Contributor
Author
Review response — PR #125This PR merged before the automated review findings were answered. Verdicts are recorded below. No code changes are pushed here; the two valid findings are deferred to #126. Issues addressed (pushed to this PR)None. The PR is already merged. Accepted findings are deferred to #126. Review claims verified false (no change needed)
Not addressed here
|
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.
Why
The first
v0.4.4publish only half-completed:publish.ymlstamps the platform binaries (@aictrl/cli-*) with the tag version, so all of them published as 0.4.4;@aictrl/cliitself is published with the version inpackages/cli/package.json, which was still0.4.3.publish-if-new.shtolerated "cannot publish over 0.4.3";ETARGET No matching version found for @aictrl/cli@0.4.4.Changes
packages/cli/package.jsonto0.4.4.publish.yml, before any publish, that fails fast if the release tag version differs frompackages/cli/package.json. This stops a half-shipped release from happening again.After merge
Re-create the
v0.4.4release at this PR's merge commit. The platform binaries are skipped as already published (same code),@aictrl/cli@0.4.4publishes, and the smoke test runs.🤖 Generated with Claude Code
https://claude.ai/code/session_016Uxnh5yTnJtZmnBwKDdVzK