fix: suppress background git maintenance during fedora kernel-ark; avoids stale runner#2142
Open
orthogonaleety wants to merge 1 commit into
Open
fix: suppress background git maintenance during fedora kernel-ark; avoids stale runner#2142orthogonaleety wants to merge 1 commit into
orthogonaleety wants to merge 1 commit into
Conversation
Fedora kernel-ark has now grown so complex that during Fedora 43 build, git maintenance becomes likely to fire (lots of commit-graph and pack-objects). In which event RAM and swap on ubuntu-latest runners becomes exhausted. There are then no resources left to resolve this and the runner goes stale, losing connection to the management plane. So, set git 'maintenance.auto' to false (solution credited has to go to Claude) Since the clone of kernel-ark is temporary the maintanance should have little net value.
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.
Fedora 43's kernel-ark repository has grown large enough that
git maintenance.auto fires routinely during builds, spawning
parallel commit-graph and pack-objects processes that exhaust
RAM and swap on ubuntu-latest runners, causing the runner to
go stale.
Setting maintenance.auto false before the build removes
this. Since kernel-ark is cloned fresh each run and discarded
afterwards, skipping maintenance should have no net negative effect.
Tested: successful v7.0.7 https://github.com/orthogonaleety/linux-surface/tree/f43-7-0-x , see actions. (NB: package itself not yet tested, only that build can at least complete)