Skip to content

fix(ci): restore tracked files between wheel builds - #1740

Merged
AlpinDale merged 1 commit into
mainfrom
fix/ci-restore-tracked-build-changes
Jul 30, 2026
Merged

fix(ci): restore tracked files between wheel builds#1740
AlpinDale merged 1 commit into
mainfrom
fix/ci-restore-tracked-build-changes

Conversation

@AlpinDale

Copy link
Copy Markdown
Member

Some build tools update tracked files such as rust/Cargo.lock. The next historical checkout then aborts even though the wheel built, installed, and uploaded successfully. Restore tracked worktree/index changes before each reconciliation checkout and before returning to the target commit. Untracked build caches remain intact.\n\nValidated with the exact Cargo.lock mutation: cleanup restored the lockfile, retained an untracked cache marker, and checkout to failed historical commit 832d968 succeeded. Bash, ShellCheck, repository hooks, and diff checks pass.

Signed-off-by: AlpinDale <alpindale@gmail.com>
@AlpinDale
AlpinDale merged commit 4daf032 into main Jul 30, 2026
2 checks passed
@AlpinDale
AlpinDale deleted the fix/ci-restore-tracked-build-changes branch July 30, 2026 09:00
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