Skip to content

Let a release retry bump versions in crates added since 0.66 - #1496

Merged
ualtinok merged 1 commit into
mainfrom
fix/release-retry-version-files
Nov 23, 2026
Merged

ualtinok merged 1 commit into
mainfrom
fix/release-retry-version-files

Conversation

@aft-alfonso

@aft-alfonso aft-alfonso Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

The 0.67.1 patch retry (release.sh --retry-from v0.67.0 0.67.1) was refused before anything was pushed: "retry bump changes files other than versions and notes". The check listed the version files by path, and the list predates the crates added in 0.67 (aft-store, aft-base, aft-db, aft-parse), which version-sync now also bumps.

The check now accepts any Cargo.toml, package.json, Cargo.lock or bun.lock in the bump. The existing content check is unchanged: each such file may differ from the failed tag only by the version string, and the notes file must be present.

Tests: a fixture with a crate added before the failed tag now retries cleanly (fails on the old check), and a bump that touches a non-version file is still refused. All 92 release-landing tests pass.

This commit is also cherry-picked into the 0.67.1 retry, because the release branch's own CI gate runs the same check.


Summary by cubic

Fixes the release retry check so a 0.67.1 patch retry isn't refused just because version-sync now also bumps crates added after 0.66. The check now allows any Cargo.toml, package.json, Cargo.lock, or bun.lock in the bump, while still requiring those files to differ from the failed tag only by version and the notes file to be present.

Adds tests for a bump with a crate added before the failed tag and for a bump touching a non-version file. The change is also cherry-picked to the release branch, which runs the same check.

Written for commit 5712d42. Summary will update on new commits.

View guided diff Turn on auto-fix

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge.

Summary

Release retries now accept manifests and lockfiles by filename instead of a fixed path list.

  • Patch-release retries accept version bumps in newly added crate manifests.

Reviews (1) · Last reviewed commit: "Let a release retry bump versions in cra..." · Reviewed by Greptile

… written

The 0.67.1 retry was refused because version-sync now also bumps aft-store,
aft-base, aft-db and aft-parse, which the fixed path list didn't name. Match
manifests and lockfiles by file name; the content check still proves each one
changed only its version.

Co-authored-by: alfonso-aft <289616620+alfonso-aft@users.noreply.github.com>
@ualtinok
ualtinok merged commit fbc052c into main Nov 23, 2026
57 checks passed
@ualtinok
ualtinok deleted the fix/release-retry-version-files branch November 23, 2026 16:01
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