Repository navigation
vinca-gha: disable git auto-maintenance before Setup pixi - #167
Merged
traversaro merged 1 commit intoOct 9, 2026
Merged
Conversation
Tobias-Fischer
added a commit
to RoboStack/robostack
that referenced
this pull request
Oct 8, 2026
- vinca (RoboStack/vinca#167) and the monorepo workflows set maintenance.auto=false and gc.auto=0 via GIT_CONFIG_*: a lock file left by git maintenance in pixi's cached vinca clone broke ros-jazzy's linux-aarch64 build branch - jazzy: exclude sick_safetyscanners2; the published sick_safetyscanners_base still requires Boost's system component (gone in Boost 1.89+), and jazzy never built it Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
pixi clones git dependencies into its cache, which setup-pixi saves. git's background auto-maintenance can leave commit-graph-chain.lock in such a clone; every later run restoring that cache then fails in "Setup pixi" with "hardlink different from source at ...commit-graph-chain.lock" (seen on RoboStack/ros-jazzy's linux-aarch64 build branch). A git config step before Setup pixi also covers the build script. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tobias-Fischer
force-pushed
the
fix/gha-pixi-git-maintenance
branch
from
October 8, 2026 10:05
041f916 to
bfd4c49
Compare
Tobias-Fischer
added a commit
to RoboStack/robostack
that referenced
this pull request
Oct 8, 2026
One git config step before Setup pixi (here and, via RoboStack/vinca#167, in the generated build workflows) covers pixi's cached git clones and the build scripts, so the GIT_CONFIG_* environment and the lines in build_unix.sh / build_win.bat go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
@traversaro this is ready for review |
Tobias-Fischer
added a commit
to RoboStack/ros-jazzy
that referenced
this pull request
Oct 9, 2026
The linux-aarch64 build branch fails in Setup pixi (5 attempts so far): git's background maintenance leaves commit-graph-chain.lock in pixi's cached vinca clone, one job saves that into the pixi cache and the next one fails restoring it. vinca now generates a git config step before Setup pixi (RoboStack/vinca#167, cherry-picked onto the current pin). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
traversaro
approved these changes
Oct 9, 2026
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.
pixi clones git dependencies (e.g. vinca itself) into its cache, which
setup-pixisaves. git's background auto-maintenance can leave a lock file in such a clone, and every later run that restores the cache then fails in Setup pixi:This happened repeatedly on RoboStack/ros-jazzy's
buildbranch_linux_aarch64. RoboStack/ros-jazzy#304 already turns maintenance off inbuild_unix.sh, but that runs after Setup pixi.The generated workflows now get a
Disable git auto-maintenancestep (git config --global maintenance.auto false && git config --global gc.auto 0) right before Setup pixi, for Unix and Windows. It also covers the build script, so repositories can drop the line from theirbuild_unix.sh/build_win.bat. Test updated.🤖 Generated with Claude Code