Skip to content

ci: measure isolated Flatpak source and cache capacity - #1712

Merged
zackees merged 6 commits into
masterfrom
infra/1269-flatpak-download-probe
Oct 22, 2026
Merged

zackees merged 6 commits into
masterfrom
infra/1269-flatpak-download-probe

Conversation

@zackees

@zackees zackees commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Refs #1269; under #1667. No second issue selected.

Change

Add a default-off manual Flatpak capacity probe after existing output validation. Measure isolated warm/fresh source acquisition and canonical tar+zstd proxy sizes for full state, without downloads, and without downloads plus compiler state. Preserve production caches, writer policy, lane selection and all required validation. No new workflow file.

Temporary states are outside original builder state; reject recursive scratch and download symlinks. Commands have timeouts, failures remain failures, and small JSON evidence uploads even on failure. Proxy sizes are not Actions cache transport measurements or proof that exclusions are safe.

RED → GREEN

  • Published RED 905916855 (original f1062b947): missing helper/default-off wiring fails three focused cases.
  • GREEN 3531d3d67: 26 focused tests passed (ci.test_hybrid_packaging, ci.test_ci_toml, ci.test_ci_tests_stdlib_only). Actual local tar/zstd/timeout fixtures verify state preservation and cleanup.
  • Full ./lint passed in 41.7 seconds before mechanical rebase onto 51569f939.
  • One primary clud-review reviewer: clean. No C/Rust/product changes; port tiers do not apply to this measurement helper.

Defined trial

The defined full branch experiment39722540093 used flatpak-cache-probe=true, native-cache-probe=false. Flatpak including measurement passed; Linux OFF/ON, Windows and macOS Tier2 and all other selected build/test jobs passed. The final parent gate subsequently passed: full run39722540093 completed SUCCESS. Terminal metadata is appended separately from the original capture-time status. Reviewed evidence is committed, including log hashes, excerpts and coverage. Ready for review as the measured helper; production exclusions remain unadopted. The prior namespace consumer 39720695807 is now terminal: Flatpak passed, but macOS Tier 2 segfaulted in test_parallel_failure_keeps_slot; no workflow rerun is requested. The planned capacity experiment has a separate measurement purpose and preserves full validation and failures.

No production exclusion, smaller native cache limit, solved global capacity claim or end-to-end speedup is adopted. #1269 remains open for honest allocation, architecture retention and durability.

Observed measurement

Warm/fresh isolated acquisition:0.046s/26.691s (copy/setup excluded). Matched canonical compression proxies: full2,703,989,420B; without downloads1,684,447,411B; without downloads+compiler1,624,465,624B. Differences are not observed Actions transport savings or proof of a pruned-state app rebuild. Metadata and raw-log hashes are retained in docs/ci-evidence/2026-10-22-flatpak-capacity-hosted.json. One primary clud-review reviewer verified measurement and platform coverage, clean.

@zackees
zackees marked this pull request as ready for review October 22, 2026 04:57
@zackees
zackees enabled auto-merge October 22, 2026 04:57
@zackees
zackees added this pull request to the merge queue Oct 22, 2026
Merged via the queue into master with commit 9f22533 Oct 22, 2026
24 checks passed
@zackees
zackees deleted the infra/1269-flatpak-download-probe branch October 26, 2026 15:44
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