Skip to content

fix(ci): rubash lock entry back to the historical no-source form at 1.4.0 - #258

Merged
caomengxuan666 merged 1 commit into
masterfrom
fix/ci-cargo-lock-v2
Oct 10, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
fix/ci-cargo-lock-v2

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Follow-up to #257. The source+rev line did not satisfy --locked: cargo resolves a branch=master dependency to the branch HEAD and compares the lock's entry state against that. The historically green form (since the 1.3.3 release sync) records no source line - only the version, which must match what rubash master resolves to (1.4.0 since rubash#498). This restores exactly that form (verified with a full locked cargo metadata resolve against the local patch). Rubash version bumps now have a known one-line sync procedure.

…rm at 1.4.0

#257 added a git source line with a pinned rev, but cargo compares a
branch dependency's lock state against the branch HEAD it resolves, so
the recorded rev alone did not satisfy --locked. The historically green
form (e6ea561 'rubash 1.3.3 pin' through #252) carries no source line at
all: --locked stays satisfied as long as the entry's version matches the
version rubash master resolves to (now 1.4.0 since #498). Restore exactly
that form, version-only. Future rubash version bumps need the same
one-line lock sync (see e6ea561 for the release-time precedent).
@caomengxuan666
caomengxuan666 merged commit 66ff6ab into master Oct 10, 2026
3 of 9 checks passed
@caomengxuan666
caomengxuan666 deleted the fix/ci-cargo-lock-v2 branch October 13, 2026 02:06
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