Skip to content

ci: disable git auto-maintenance in staged build scripts - #304

Merged
Tobias-Fischer merged 1 commit into
mainfrom
ci/disable-git-maintenance
Oct 7, 2026
Merged

Tobias-Fischer merged 1 commit into
mainfrom
ci/disable-git-maintenance

Conversation

@Tobias-Fischer

Copy link
Copy Markdown
Contributor

Mirrors RoboStack/ros-rolling@580b668.

git's background auto-maintenance can hold, and then delete, a maintenance.lock in a cached source clone while rattler-build copies it. The staged build then fails with:

FileSystem error: 'Path "/home/runner/conda-bld/src_cache/<repo>-release.git/.git/objects/maintenance.lock" does not exist or you don't have access!'

This hit two staged jobs on ros-rolling (linux-64 and linux-aarch64). testpr.yml already runs git config --global maintenance.auto false; this PR adds the same line to .scripts/build_unix.sh and .scripts/build_win.bat, which the staged build-branch workflows use.

🤖 Generated with Claude Code

git's background auto-maintenance can hold, and then delete, a
maintenance.lock in a cached source clone while rattler-build copies it,
failing the build with "FileSystem error: ... .git/objects/maintenance.lock
does not exist". testpr.yml already disables it; do the same in
.scripts/build_unix.sh and .scripts/build_win.bat.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Tobias-Fischer
Tobias-Fischer merged commit 80d6db4 into main Oct 7, 2026
4 of 5 checks passed
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