Refresh the stale src-tauri lockfile + a tauri-lock drift gate (#513 follow-up) - #515
Merged
Conversation
…drift (#513 follow-up) The first stamped CI portables all reported -dirty: the tracked src-tauri/Cargo.lock was 616 lines stale (this dev box never builds Tauri, so the lock only ever re-resolved on the CI runners — "Locking 55 packages" mid-build rewrote the tracked file and dirtied the tree at stamp time). A stale lock would equally demote a TAGGED release build to dev naming. Refresh the lock (cargo metadata resolves without compiling, headless-safe) and add `cargo xtask tauri-lock` — the gen/barrel-style drift twin, run as part of `cargo xtask ci` — so the lock can never rot silently again. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VdCtnsbcVyBLmc5xo5dHEX
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.
The first stamped portables from #514 all reported
0.4.0-dev-73e4195-dirty— truthfully: the trackedsrc-tauri/Cargo.lockwas 616 lines stale, so cargo re-locked 55 packages mid-CI-build (run 33352973050, theLocking 55 packagesline), rewriting the tracked file beforebuild.rsreadgit status. The same staleness would demote a tagged release build to dev naming, so this is a correctness fix for the stamp, not cosmetics.src-tauri/Cargo.lockrefreshed (viacargo metadata— resolution only, no compile, works on the headless dev box).cargo xtask tauri-lockdrift gate, wired intocargo xtask cibeside the gen/barrel twins: refresh, fail if the tracked lock moved, with the failure text naming the consequence.🤖 Generated with Claude Code
https://claude.ai/code/session_01VdCtnsbcVyBLmc5xo5dHEX