GeezerVison is showing github.com — Reduce repeated disk-cleanup work in Go workflow fixtures · Issue #527 · devantler-tech/.github
Reduce repeated disk-cleanup work in Go workflow fixtures #527Closed 4 / 44 of 4 issues completedClosed Performance 4 / 44 of 4 issues completed Description
🤖 Generated by the Agentic Engineer
Evidence and audience
The completed CI run 37544576362, at reviewed head 8741cdba6d677439c06bbc43252d7baa3b44382a, contains 15 successful disk-cleanup steps across the five Go workflow fixture scenarios. Complete paginated native job and step data records 1,903 seconds of cleanup execution in total: median 126 seconds, minimum 71 seconds, maximum 203 seconds. These are summed runner execution intervals, not elapsed workflow time or CPU measurements.
The slowest coverage fixture job reports Free disk on /: 86G -> 111G (gained 25G). It spends 203 seconds deleting preinstalled toolchains before exercising a small fixture. This suggests avoidable setup work, but one fixture does not establish the disk requirements of real consumer builds.
The maintainer and engineering lanes need fast CI feedback without reintroducing the large Go consumer failures that originally required disk reclamation. validate-go-project.yaml currently repeats the same best-effort cleanup in build, test and coverage. The source records an actual previous “No space left on device” failure, so removing cleanup globally is not an acceptable shortcut.
Hypothesis
A measured capacity policy or a narrowly scoped fixture configuration can avoid unnecessary deletion on sufficiently provisioned runners while retaining the production disk-space protection and all Go workflow scenario coverage.
Acceptance criteria
- Record available disk before cleanup and peak disk use for the tiny fixture and a representative large Go consumer, including race coverage. Define the capacity requirement from these measurements.
- Choose and explain a bounded policy. Existing callers retain their disk-space protection by default; unknown capacity must not silently authorize an unsafe bypass.
- Exercise cleanup-needed and cleanup-unneeded paths, operational read failures, and any new input's valid and invalid values. Retain a real hosted exercise of the production cleanup path and all five existing Go workflow scenarios.
- Compare before/after cleanup execution, allocated jobs and end-to-end CI time on equivalent changed-path workloads. Use run, attempt and head identities and complete native job graphs; separate queued time from execution.
- Keep build, test, coverage, dependency/security checks, credential boundaries and the final required gate intact. Validate a representative consumer build and race-coverage path before changing its default behavior.
Part of #475. This is a measured follow-up; the parent’s five-update burst and downstream deployment-delay acceptance remain separate.
Completion verified: current protected delivery, four-job consumer receipts and whole-CI comparison. Existing consumer cleanup defaults remain protective; the separate parent criteria are unchanged. Sub-issuesCollapse Sub-issuesSub-issues4 of 44 of 4 Issues completedLoading 4 sub-issues Activitydevantler commented on Oct 8, 2026 ContributorAuthor More actions
🤖 Generated by the Agentic Engineer
The measurement increment is delivered in #533, merged as f5bdae4233b8f5c64a88de717b134205d8f6cc97 after all native checks and a substantive exact-head CodeRabbit review. v7.5.0 points to that merge commit and its release run succeeded; #532 is closed and its board card is Done.
Current-head hosted evaluation produced nine attributable build/test/race-coverage receipts from CI 37704013200, all measured with command_exit=0. Their source 90d95739ef8cd42b0453cc31fd2240d9ce527fdd was independently bound to reviewed base c252e112 and head c5458004. Sampled minimum available capacity was 110.17 GiB after cleanup in these small fixtures. Initial/final and periodic observation failures produce UNKNOWN, storage failures preserve the Go result, and cancellation has bounded child-process cleanup.
This parent remains open: obtain pre-cleanup measurements and a representative large-consumer baseline, decide a safe cleanup policy from those observations, and demonstrate the resulting before/after native runtime. Cleanup remains enabled and measurement is default-off. The fixture capacity alone is not permission to bypass cleanup or a runtime-savings claim. devantler commented on Oct 8, 2026 ContributorAuthor More actions
🤖 Generated by the Agentic Engineer
Joined the nine measured Go jobs from native CI 37704013200, attempt 1, with their completed cleanup logs and disk receipts at the same immutable workflow source 90d95739ef8cd42b0453cc31fd2240d9ce527fdd.
Every one reports Free disk on /: 86G -> 111G (gained 25G) before its Go command. That existing log uses rounded-up GiB values, so it is coarse pre-cleanup evidence rather than an exact capacity receipt. The nine attributable command receipts all complete successfully; their largest sampled drop from initial available capacity is 33.58 MiB, and the lowest sampled availability after cleanup is 110.17 GiB. One-second sampling does not prove an exact instantaneous peak.
This supplies a bounded tiny-fixture baseline for the capacity-policy decision. It does not establish representative large-consumer demand or authorize changing their default. Structured cleanup observation remains in #534; the fixture-only capacity increment is tracked in #537. Keep production cleanup as the default, treat unknown capacity conservatively, retain a hosted cleanup-positive control, and compare equivalent native workloads before claiming a runtime improvement. devantler commented on Oct 8, 2026 ContributorAuthor More actions
🤖 Generated by the Agentic Engineer
The measurement delivery in #534 / PR #538 is merged as 54738f4eeba4daae8da69484fe3d550800dbff41 and published in v7.6.0. The clean exact-head external review and required CI are recorded in the PR receipt. The real hosted cohort below comes from reviewed head 61fc4fbd58791b634258eb7c7a38176a20e403fa, run 37729336308, attempt 1.
All five selected fixture scenarios now actually execute build, test and race coverage on workflow-only changes; an earlier run exposed skipped runtime jobs, and the read-only fixture admission has been repaired without changing production consumer path filters. All 15 command jobs passed.
The nine measurement-enabled jobs emit paired cleanup/Go records: 18 complete receipts total, bound to the same run, attempt and synthetic merge source. Cleanup observations show capacity before and after the actual deletion. The six disabled jobs retain unconditional cleanup and emit no receipt. Full source and runtime joins are recorded in the PR validation receipt.
The merged source was also exercised by main run 37730636360, attempt 1: all 15 real command jobs passed, with 18 valid receipts from the nine enabled jobs and no records from the six disabled jobs. Both revision fields bind to merged commit 54738f4eeba4daae8da69484fe3d550800dbff41. Two separate workflow-history API failures keep overall main CI red; the active #546 repair has the attributable evidence.
For this single completed fixture cohort, cleanup-step execution ranges from 66 to 163 seconds, with median 113 seconds and 1,721 summed seconds across the 15 jobs. Measured reclaimed space ranges from 25,468,832 to 25,532,140 KiB across the nine observed jobs. These are observations of this run, not an equivalent-workload speedup comparison or a capacity policy. The large-consumer proof, budget decision and final before/after outcome remain open here and in #537. devantler commented on Oct 8, 2026 ContributorAuthor More actions
🤖 Generated by the Agentic Engineer
The fixture-capacity increment in #537 / PR #543 is merged as a52214f7321e43dde3279cddbe8ca760af47e7c2. The merged tree matches the reviewed and tested branch tree. Complete native exact-head checks were settled before merge, with substantive current-head Codex review and no unresolved finding.
The hosted cohort exercises all five Go scenarios: 15 build/test/race jobs passed. Nine opted-in cleanup steps retain toolchains with a complete observation meeting the 32 GiB fixture budget; six existing-default steps still reclaim disk. Compared with baseline run 37704013200, attempt 1, head c54580049bfd419ea8dc31bb39e2cc71aa113f78, the same 15 cleanup steps in run 37732447037, attempt 2, head 510ba6058a7de54d99cd71f1aaf6eda217ffd036, consumed 677 rather than 1,725 aggregate runner seconds, about 61% less. Synthetic execution revision 837c88ec424064b71b28f4098ecd4ec5347610de has exactly the reviewed tree. This comparison concerns cleanup execution only; the second attempt recovered from an installation-quota incident, so it is not an equivalent first-pass end-to-end latency or queue improvement claim.
All 15 Go jobs also passed on merged main in run 37734900858. A separate installer broken-pipe failure keeps that overall run red; #548 / PR #549 repairs the version reader without weakening integrity checks.
The default-off main-only evaluation then ran once against immutable signed KSail revision 3115397431e2bdf31d911930908a9002a93a4340, with cold separate Ubuntu runners and caches disabled: run 37734975025, attempt 1, workflow/main revision a52214f7321e43dde3279cddbe8ca760af47e7c2. Both the real build and race-coverage commands passed.
| Command |
One-second samples |
Initial available KiB |
Minimum sampled available KiB |
Maximum sampled used KiB |
Exit |
| Cold build |
366 |
115,549,868 |
96,926,640 |
54,320,832 |
0 |
| Race coverage |
1,355 |
115,545,456 |
94,052,032 |
57,195,440 |
0 |
These command observations begin after production-default cleanup. The native backend returns truncated logs for the large jobs, so the early before-cleanup receipts are not available in this read. One-second samples also do not prove an instantaneous peak. Existing production callers retain unconditional cleanup; this run does not authorize adopting the fixture budget for KSail.
#537's merged behavior and pinned large-consumer evaluation are complete. Keep #527 open for complete large-consumer before-cleanup evidence, the final consumer budget decision, and an equivalent-workload end-to-end/queue comparison. #475's fleet burst and downstream deployment-delay proof remain separate. devantler commented on Oct 15, 2026 ContributorAuthor More actions
🤖 Generated by the Agentic Engineer
Recovered the previously unavailable before-cleanup records from both completed native logs in run 37734975025, attempt 1. The workflow/receipt revision is a52214f7321e43dde3279cddbe8ca760af47e7c2; both jobs independently identify public KSail source 3115397431e2bdf31d911930908a9002a93a4340. No new trial or consumer change was needed.
| Command |
Before cleanup, KiB available |
After cleanup, KiB available |
Minimum sampled command headroom, KiB |
Maximum sampled filesystem use, KiB |
| Cold build |
90,018,924 |
115,551,048 |
96,926,640 |
54,320,832 |
| Race coverage |
90,014,492 |
115,546,628 |
94,052,032 |
57,195,440 |
Both cleanup records and all four usage receipts are measured; each command exited 0. Caches were disabled. There were 366 build samples and 1,355 race-coverage samples, at one-second intervals. This closes the missing-record gap. It establishes sampled filesystem use after cleanup, including background activity; it does not establish an instantaneous peak, isolated Go consumption, or the safety of applying the fixture’s 32 GiB budget to this consumer.
The historical comparison can also be narrowed to 12 identical named build/test/coverage roles. Both complete graphs contain 234 unique jobs, with 193 successful and 41 skipped:
The respective heads are c54580049bfd419ea8dc31bb39e2cc71aa113f78 and 510ba6058a7de54d99cd71f1aaf6eda217ffd036; executed workflow sources are 90d95739ef8cd42b0453cc31fd2240d9ce527fdd and 837c88ec424064b71b28f4098ecd4ec5347610de. The four fixture files have identical blob identities. Job intervals start at the first native step, excluding time queued before execution. The earlier 15-job totals include a maintenance scenario whose opt-in role changed; it is excluded from this narrower comparison. The second attempt followed a quota failure, so these observations do not prove equivalent first-pass end-to-end or queue improvement.
Keep #527 open for a defined representative-consumer capacity requirement and a fair end-to-end comparison. Existing production callers retain unconditional cleanup. #475’s fleet burst and deployment-delay outcome remain separate. devantler commented on Oct 28, 2026 ContributorAuthor More actions
🤖 Generated by the Agentic Engineer
Completed through PR #789, protected-merged as 7b184788f86261ac9feb4d6425e54bf4dbdad815 and published in v14.0.4. Exact-head CI/review and all five post-merge workflows passed. Current main retains identical measurement/Go workflow blobs and the protective production default of 0 GiB.
Representative consumer and capacity requirement
The reviewed trial 40722262518, attempt 1 completed all four jobs successfully, using immutable KSail 3115397431e2bdf31d911930908a9002a93a4340 and Go 1.26.8. Cache restoration was disabled. All four small artifacts were downloaded, checked against their native SHA-256 digests, and validated for source/run/attempt, policy and successful command receipts.
Each job waited three seconds between creation and start. Sampled command growth reached 17.76 GiB for build and 20.50 GiB for race coverage. Including toolchain setup, the retaining coverage arm consumed 21.09 GiB from admission to sampled minimum. Twice that measured requirement plus a 20 GiB reserve is 62.18 GiB, rounded to the evaluation’s 64 GiB budget. The tiny fixture measured at most 0.021 GiB command growth and 0.659 GiB including setup; its existing 32 GiB opt-in remains conservative. Unknown capacity still reclaims, and ordinary consumer defaults remain unchanged.
Equivalent-workload whole-CI comparison
Control 40681249569, attempt 1, head ff373dff78955256bb29ed4b4a0819efa8c2dd0a, and capacity-fixture run 40683749334, attempt 1, head fa1540d6a82bea4741033a2af6fe96687b12e2ec, differ only in four fixture budget values, 0 → 32. Their complete job-name, conclusion and step-outcome maps match: 218 jobs, 180 allocated, including 18 successful Go build/test/coverage jobs. Nine Go jobs had measurement enabled, yielding 18 measured phase receipts; nine retained the disabled-measurement path. All 18 cleanup decisions were observed.
| Observation |
Control |
Capacity fixtures |
| Summed cleanup execution, s |
2,242 |
1,163 |
| Summed allocated job execution, s |
10,568 |
9,421 |
| Summed created-to-started wait, s |
4,295 |
7,436 |
| Run creation to required gate, s |
410 |
559 |
Initial workflow queue time was zero in both runs. Created-to-started waits include scheduling, dependencies and runner waits; summed parallel intervals are not elapsed time or CPU use.
Cleanup execution fell, but whole-CI feedback was 149 seconds slower. Runner image builds differ for 12 of 18 Go roles, so this is not a causal lead-time improvement claim. The large build arms also differ in runner image. Large coverage arms match image and toolchain, but each has only one observation. Disk peaks were sampled at one-second intervals and can miss shorter spikes.
All original measurement, bounded-policy, refusal/invalid-input, equivalent-workload comparison and coverage-preservation criteria are now evidenced. No universal capacity guarantee or faster whole-PR feedback is claimed. The parent #475 retains its separate fleet-burst and deployment-delay acceptance.
MetadataMetadataNo fields configured for Performance. StatusShow more project fields
DevelopmentNo branches or pull requestsIssue actions
|