Skip to content

fix: suppress background git maintenance during fedora kernel-ark; avoids stale runner#2142

Open
orthogonaleety wants to merge 1 commit into
linux-surface:masterfrom
orthogonaleety:f43-stalerunner
Open

fix: suppress background git maintenance during fedora kernel-ark; avoids stale runner#2142
orthogonaleety wants to merge 1 commit into
linux-surface:masterfrom
orthogonaleety:f43-stalerunner

Conversation

@orthogonaleety

Copy link
Copy Markdown

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)

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.
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