Repository navigation
Description
From the Oct 11–16 2026 Run retrospective, finding 12. Tracking issue: #721.
The evidence below is historical and attributed to the supplied report (repository snapshot 5504c97); it has not all been independently reproduced. Limited current-checkout checks were made at 53bb9c6. This is filed for maintainer triage, not automatic Pickup.
Requested outcome and validation
Ensure git invocations under tests/release.rs::isolated() disable automatic maintenance and automatic garbage collection even when GIT_CONFIG_GLOBAL=/dev/null bypasses the shared harness gitconfig. Consider command-scope GIT_CONFIG_COUNT / GIT_CONFIG_KEY_n / GIT_CONFIG_VALUE_n, preserving any existing entries and the intended global-config isolation.
Add a guard that exercises the actual isolated environment and shows maintenance.auto=false and gc.auto=0 reach child git commands. Validate release scenarios on a newer git where feasible, and state whether the original DirectoryNotEmpty race was reproduced or remains inferred. Do not hide cleanup failures or weaken tests.
This is the remaining release-test gap in the completed #263 fix, not a request to reopen its broader shared-harness implementation. Coordinate with the independent release-script issue #671 where useful.
The report also proposes allowing CI-fix Repairs to file a needs-triage issue when they diagnose an unrelated failure. Triage that publication behavior explicitly, including duplicate avoidance and trusted publication rules; it must not waive checks or broaden the automatic fix scope. The release-test fix can ship independently.
Current checkout check: isolated() still sets GIT_CONFIG_GLOBAL to /dev/null.
Original finding, including evidence, proposed fixes, and confidence
12. A gap in #263's fix still makes release tests flaky (Repo)
- Evidence:
tests/release.rsisolated()setsGIT_CONFIG_GLOBAL=/dev/null, which bypasses the maintenance-off gitconfig fromtests/support/mod.rs. CI's newer git then runs automatic maintenance in the background, and the fake gh'sremove_dir_allhit "DirectoryNotEmpty". This was agy sessions fail on agy 1.3.3: pass the prompt as -p's value #658's CI red, after a 21.5-min CI-fix Repair and 3.4M tokens.- The Repair named the cause but filed nothing, because the CI-fix prompt allows only a "CI notes" line.
- Fix:
- Repo: set
maintenance.auto=falseandgc.auto=0throughGIT_CONFIG_COUNT/GIT_CONFIG_KEY_n/GIT_CONFIG_VALUE_ninisolated(), plus a guard test. - Factory: let the CI-fix Repair file a
needs-triageissue for an unrelated failure whose cause it found.
- Repo: set
- Confidence: high.
Activity
JacobStephens2 commentedon Oct 17, 2026
Agent Brief
Category: bug
Summary: Ensure isolated release-test git commands cannot start automatic maintenance or garbage collection.
Current behavior:
The release tests'
isolated()helper setsGIT_CONFIG_GLOBAL=/dev/null, excluding the maintenance-off settings in the shared Scenario gitconfig. Its git child commands therefore lack that protection. The retro attributes a newer-git temporary-clone cleanup failure to this gap in #263's fix. Code inspection confirmed the configuration gap; the DirectoryNotEmpty race itself remains unverified in this triage.Desired behavior:
Every git command launched through the release-test isolation environment, including descendants of the release script and fake gh, must see effective
maintenance.auto=falseandgc.auto=0. Keep user/system configuration excluded and retain the helper's existing identity and isolation behavior. Use inherited command-scope configuration or an equivalent test-owned mechanism; preserve unrelated configuration entries and make the maintenance-off values authoritative within the test environment.Key interfaces:
isolated(&mut Command)helper and its command builders: apply the protection consistently to direct commands and their descendants.Acceptance criteria:
maintenance.auto=falseandgc.auto=0, even with global configuration excluded.Out of scope:
Source and historical evidence: #721, finding 12; related completed fix: #263. This brief narrows this issue to the release-test configuration gap.
Disable automatic maintenance in isolated release tests (#732)