Skip to content

Refresh the stale src-tauri lockfile + a tauri-lock drift gate (#513 follow-up) - #515

Merged
ryan-johnson2 merged 1 commit into
develfrom
tauri-lock-drift
Aug 31, 2026
Merged

Refresh the stale src-tauri lockfile + a tauri-lock drift gate (#513 follow-up)#515
ryan-johnson2 merged 1 commit into
develfrom
tauri-lock-drift

Conversation

@ryan-johnson2

Copy link
Copy Markdown
Contributor

The first stamped portables from #514 all reported 0.4.0-dev-73e4195-dirty — truthfully: the tracked src-tauri/Cargo.lock was 616 lines stale, so cargo re-locked 55 packages mid-CI-build (run 33352973050, the Locking 55 packages line), rewriting the tracked file before build.rs read git 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.lock refreshed (via cargo metadata — resolution only, no compile, works on the headless dev box).
  • New cargo xtask tauri-lock drift gate, wired into cargo xtask ci beside 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

…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
@ryan-johnson2
ryan-johnson2 merged commit e7923c1 into devel Aug 31, 2026
4 checks passed
@ryan-johnson2
ryan-johnson2 deleted the tauri-lock-drift branch August 31, 2026 03:26
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