Skip to content

ci(fat): gc.auto=0 in section clones (Refs #5917; stacked on #5850) - #5918

Draft
noahgift wants to merge 17 commits into
mainfrom
fix/fat-gc-auto-5917
Draft

noahgift wants to merge 17 commits into
mainfrom
fix/fat-gc-auto-5917

Conversation

@noahgift

Copy link
Copy Markdown
Member

Refs #5917. Stacked on #5850 (recut/5798-sq): the diff vs main includes #5850 until it lands; this PR's own change is 2 files, scripts/ci/fat_driver.py (+6: gc.auto 0, gc.autoDetach false after the section clone) and the fat_driver.py sha256 pin in scripts/check_receipt_gate.sh.

Measured on intel (read-only ssh, 07:41-07:46Z, load 85): 3 distinct section workspaces (shard 11, 5, 2) each had a live git gc --auto; shard 11's ran >=176 s and 133 CPU-s at ~84% of a core (77 -> 133 CPU-s in 67 s). Shard wall is mean 1347 s over 4 shards of run 39732941367, so gc is >=13% of a shard's wall in the workspaces it hits, and a lower bound (still running). Share of wall NOT measured exactly: gc timing is not logged.

Verified: fat_driver.py self-test 60/60; check_receipt_gate.sh 99 ok; a stub setup_workspace run yields gc.auto 0 / gc.autodetach false.

Not in this PR: the nightly git gc of the source repo (needs a schedule decision; not claimed done). Gate content (pin move): needs non-author quorum + 2 seats + arbiter. Not armed.

🤖 Generated with Claude Code

noahgift and others added 17 commits October 21, 2026 13:37
)

Squashed from #5798 for the REBASE merge queue.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ci/decide_tier.sh; receipt gate guard reads it)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ed PR_BODY from the tier step

Quorum at cb92a52 (2 FAIL, cited): !cancelled() had dropped the implicit success() on
workspace-test-arch, and PR_BODY reached a PR-tree step unread.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…hards to X64 ... (#5891)"

REVERT RULE (operator, 2026-10-18): merged/h below 0.46 for 2 consecutive hours after the change went live. 0 merges from 23:29:35Z (#5891 merged) to 01:30Z.
Plain revert of the squash b410374. Restores ci/sections.yml and removes scripts/ci/decide_tier.sh and scripts/ci/sigma_arch_uniform.sh.
#5906 (ci_test_tier row 67 retargeted to decide_tier.sh) must be DROPPED if this lands: row 67 asserts the old ci/sections.yml text again.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…-receipt-ok into the inline tier step, drop decide_tier.sh and workspace-test-arch)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
# Conflicts:
#	docs/roadmaps/roadmap.yaml
…, FETCH_HEAD compare; W20c-f mutants (Refs #5850)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…W20g-j E1-E4 mutants (Refs #5850)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…t (Refs #5850)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…oural fail-closed rows W23 (E6) (Refs #5850)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…efaults/env/GITHUB_ENV outside pinned lines; W40a-g (Refs #5850)

Note: PR-tree scripts run in the shard can still choose the tier.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…at_driver.py, ci_test_tier.sh, receipt_ok_arg.sh; W41 escaped-key M1/M2 (Refs #5850)

Any byte change is RED unless the pin moves in the same diff. A YAML structural check is a follow-up ticket.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…keys, dup shard) + GITHUB_ENV/OUTPUT rows (Refs #5850)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…e 3 pre-tier scripts; RED rows (Refs #5850)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…V; parse_file_command fails closed; exec list + RED rows (Refs #5850)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A section workspace is a throwaway hardlinked clone of a runner checkout with
299 packs and 26k loose objects; its first fetch tripped git gc --auto at ~95%
of a core beside the shards. Set gc.auto=0 and gc.autoDetach=false right after
the clone. fat_driver.py hash pin in check_receipt_gate.sh moved in the same diff.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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