Skip to content

docs(ci): verify Ubuntu reuse, cache retirement and freshness limits - #1382

Merged
zackees merged 8 commits into
masterfrom
infra/1286-retention-validation-report
Oct 18, 2026
Merged

zackees merged 8 commits into
masterfrom
infra/1286-retention-validation-report

Conversation

@zackees

@zackees zackees commented Oct 18, 2026

Copy link
Copy Markdown
Member

Summary

Refs #1286. Consolidated documentation/evidence update after the completed producer and consumer trials, with no workflow or product changes.

  • Full producer run 39089156757 and same-revision consumer 39090099191 both passed all seven native app builds and remaining checks.
  • Compatible OFF seed published and later consumed: cold 0/345 → 208/345 cacheable hits; build 630 → 359 s and job 661 → 405 s. ON consumer achieved 343/345 hits. Individual runner observations, not a controlled queue-throughput claim.
  • ci: reclaim retention for disabled compiler-store archives #1380 actually reclaimed 183,330,575 unused bytes; later master preserved 785/786 native hits and 296 passing CTests per mode.
  • Previously useful plugin compiler/apt seeds disappeared; 17 completed janitor logs contain no deletion of those IDs. Actor remains unproven.
  • Actual two-mode Ubuntu seeds exceed their pooled footprint. Pinned offline janitor predicts ON eviction after grace; no future deletion is claimed as observed.
  • Same-key saves wasted 14 s OFF / 11 s ON compressing existing keys. ci: skip redundant Ubuntu snapshot saves after exact cache hits #1381 merged the exact-hit save guard; subsequent Ubuntu runtime behavior remains to observe.
  • New private-daemon journal fixture corroborates existing upstream zccache#1935 with native GCC: ordinary same-size, changed-mtime edit produces cached executable 7 versus fresh 8. A 200 ms settling control passes; no sleep workaround or production policy change. This is not proof of wrong output in GitHub CI and does not explain the 137 OFF misses.

Validation / scope

All evidence JSON parses and git diff --check passes. Documentation/measurement only; no artificial RED/GREEN test. Raw commands, source stamps, executable outputs, journals, binary hash, exact cache entries, job IDs and scope limits are recorded in the evidence files. Rebased locally before publication onto merged #1381. No new workflow, public-header/test assertion changes, submodule pointer, or worktree.

#1286 remains open: representative-day comparison, durable global allocation, remaining OFF miss diagnosis, recording-race blocker and upstream correctness work are not declared complete. Queue-only publication remains a proposal.

@zackees
zackees enabled auto-merge October 18, 2026 02:42
@zackees
zackees added this pull request to the merge queue Oct 18, 2026
@zackees

zackees commented Oct 18, 2026

Copy link
Copy Markdown
Member Author

The Ubuntu capacity limit is now observed in an actual deletion, beyond the earlier prediction:

  • Queue run 39090715882, successful janitor job 117566681544, 02:37:02 UTC: explicitly deleted ON cache ID 9107248593, 795,699,586 bytes, because family zccache exceeded 1,153,433,600 bytes.
  • Fresh inventory retains OFF ID 9107347839 and has no ON seed. This deletion is attributable to the janitor; it is distinct from the still-unattributed earlier plugin/Flatpak seed losses.
  • The full same-revision consumer run succeeded after both jobs restored the compatible seeds. Successful consumption does not imply both modes remain warm afterward.

Additional completed-run Flatpak inspection: producer job 117562006078 restored a 2,359,668,350-byte builder archive and explicitly skipped five dependency modules. Consumer job 117564891083 reported No cache was found, rebuilt that dependency state and recreated a 2,348,886,553-byte archive. It is demonstrably useful state, not an unused cache to disable blindly. The deletion actor remains unproven. Their whole-job durations were 836/741 s, but different dependency availability and runners preclude a causal comparison.

Flatpak ccache output also retains cumulative statistics; the workflow does not zero them. Printed consumer 602/889 hits includes restored history and must not be described as per-job hits. The pinned action can overlay a second snapshot, so a correct future per-job measurement needs a baseline after the final restore or per-build statistics logging.

In-repo raw evidence: build_ci_audit/ubuntu-compatible-queue-janitor-117566681544.log, cache-inventory-after-compatible-consumer.json, flatpak-cache-observations.json, and both flatpak-cache-audit-<job>.log files. Report #1382 is already queued, so I am recording this as follow-up evidence without dequeuing/pushing it for a documentation-only update.

Merged via the queue into master with commit 5258daf Oct 18, 2026
22 checks passed
@zackees
zackees deleted the infra/1286-retention-validation-report branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant