Repository navigation
Description
Follow-up to the attestation review (PR #2685 stops new dumps; this removes the
existing ones).
Problem
docs/ci-evidence/ holds 185 tracked files, 11.6 MiB of run metadata —
CI baselines, lane timings, apt inventories, flatpak capacity probes:
| file | size |
|---|---|
2026-10-22-ci-cache-day-cohort.json.gz |
3.0 MB |
2026-10-22-speed-batch-baseline.json |
2.26 MB |
2026-10-22-ci-speed-day.json |
1.21 MB |
2026-10-22-cache-allocation-followup.json.gz |
527 KB |
2026-10-22-ci-performance-handoff.json.gz |
458 KB |
That is measurement output, not source: it belongs in Actions artifacts, a
side branch (the leaderboard pattern), or an issue/PR comment — never on
master. The attestations that actually gate CI are already commit-message
trailers (Local-Gate: / Ci-Attestation:), so nothing here is needed for
trust.
docs/evidence/ in zccache (534 KB of HTML/txt timings) and
ci/fleet-evidence/ in soldr (146 KB) have the same shape and deserve the
same treatment in their own repos.
Why it can't just be deleted
- They are fixtures. These read the JSON files directly:
ci/cache_metrics.pyci/test_cache_metrics.pyci/test_tier2_cache_retention.pyci/test_ci_scope.py
- Docs point at them:
docs/ci-cache-audit-2026-10-17.md,
docs/ci-speed-2026-10-21.md(and thedocs/ci-speed-flatpak-*notes)
cite paths underdocs/ci-evidence/. ci/test_gitignore.pyforbids ignoring tracked files — so
/docs/ci-evidence/can only be added to.gitignoreafter the files
are gone. Until then, PR gitignore: never track CI evidence dumps (attestations stay in commit messages) #2685 covers the untracked scratch dirs only.
Plan (in order, one PR)
- Move what the tests really need into small synthetic fixtures under
ci/fixtures/(inline literals or a few-KB JSON), keeping every
assertion's meaning — do not weaken the checks. - Repoint the docs at the artifact/PR links (or drop the file paths and
keep the numbers in prose). - Delete
docs/ci-evidence/(185 files) in the same PR. - Add
/docs/ci-evidence/to.gitignoreonce nothing tracked matches,
extendingci/test_gitignore.py'sGENERATEDtuple so the rule stays
pinned (same RED→GREEN shape as gitignore: never track CI evidence dumps (attestations stay in commit messages) #2685). -
./lintgreen for the touched suites (test_cache_metrics,
test_tier2_cache_retention,test_ci_scope,test_gitignore).
History note
Deleting the files stops growth and removes ~11.6 MiB from every new
checkout, but git history keeps the blobs. Shrinking clones needs
git filter-repo (rewrites every SHA, breaks clones and PR refs) — not
recommended for 12 MB; say so explicitly if the decision is revisited.
Out of scope
soldr/ci/fleet-evidence/ and zccache/docs/evidence/ — same policy, their
own issues, so each repo decides on its own fixtures.
Definition of done
git ls-files docs/ci-evidence | wc -l→0./docs/ci-evidence/in.gitignorewith a test asserting it.- The four suites above pass without the JSON fixtures on disk.
- No doc links a deleted path.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 27, 2026
New dumps are already blocked: PR #2685 (merged as c2af3f9) ignores /ci-evidence-*/ and /ci-evidence/ and pins it in ci/test_gitignore.py. This issue covers removing the 185 tracked files under docs/ci-evidence (migrate the fixtures first).
zackees commentedon Oct 27, 2026
/ready
Claiming: retire
docs/ci-evidence/(185 tracked files, 11.6 MiB)ci/test_gitignore.py— it assertsgit ls-files docs/ci-evidenceis empty and that the directory is ignored; it fails on master today (185 tracked files). GREEN: migrate the three JSON snapshots the retention test reads into small synthetic fixtures underci/fixtures/, keep every assertion's measured value, repoint the historical docs at the commit that last held the files, delete the 185 files, add/docs/ci-evidence/to.gitignore../lintfortest_gitignore,test_tier2_cache_retention,test_cache_metrics,test_ci_scope; first PR expected within the hour.zackees commentedon Oct 27, 2026
Claiming: retire docs/ci-evidence (fixtures first, then delete + ignore)
ci/test_tier2_cache_retention.pyreads intoci/fixtures/entries that keep the measured values; repoint the historical docs at the commit that last held the files; delete the 185 files; add/docs/ci-evidence/to.gitignoreand pin it inci/test_gitignore.py(that pin is the RED commit)../lintfor the four touched suites.zackees commentedon Oct 27, 2026
Landed: #2693 merged at 21:10Z (
2693-> master) — the 185 snapshots underdocs/ci-evidence/are gone, the three snapshotsci/test_tier2_cache_retention.pyreads are migrated toci/fixtures/with the measured values intact, andci/test_gitignore.pypinsgit ls-files docs/ci-evidenceempty plus the new ignore rule. Nothing left on the issue; closing.ci: retire docs/ci-evidence (185 snapshots), keep the retention asser…