Skip to content

ci: inventory Flatpak cache contents before tuning retention - #1703

Merged
zackees merged 3 commits into
masterfrom
infra/1269-flatpak-cache-inventory
Oct 22, 2026
Merged

zackees merged 3 commits into
masterfrom
infra/1269-flatpak-cache-inventory

Conversation

@zackees

@zackees zackees commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Refs #1269 and #1667. Add read-only Flatpak state contents reporting after the existing builder action, before compiler cache reporting/pruning. Record status and apparent bytes to depth two, without mutation or following symlinks. Two-minute timeout; missing state explicitly marked. No build/test selection, packaged-content, cache keys/publication or new workflow changes.

Observed qualification

The one defined full run is 39713423365, exact measurement source e8eb132. Flatpak job 119609912965 passed, restored the 2,747,488,816-byte builder archive, reused six dependency modules, built OBS and passed existing AppStream/build-directory/repository validation. The report passed: state 5,670,286,365 apparent bytes; cache objects 4,582,106,385; downloads 1,026,740,380; compiler cache 61,438,581. Nested rows overlap. Actual input build-bundle=false; no bundle or runtime qualification claimed. Compiler counters were restored/cumulative, not job deltas.

The parent full workflow still has platform jobs running at capture; no full-workflow success claim. No extra dispatch or whole-workflow rerun. Watcher cancellation is disabled for this experiment. Routine PR run 39713417715 passed on the measurement source; this documentation update will receive its own required gate.

RED → GREEN / review

RED bc17621 fails absent reporting. All 18 focused tests pass, executing the actual shell and checking category bytes, no mutations/outside-symlink traversal and explicit absence. Full lint passed 44.7s (151 CI test files, rustfmt, Clippy, Dylint). clud-review clean, one primary reviewer including the later docs/Node evidence delta. JSON and prefix probe reproduced; diff whitespace check passes.

Follow-up evidence / limits

Committed data and a SHA-guarded Node adapter probe of the actual pinned distributed action demonstrate a separate namespace mismatch: exact custom key matches, hypothetical changed hash fails the action's architecture-first fallback prefix. This is injected matching, not a real changed-manifest transport miss or speedup. No key change or pruning is adopted here. Safe removability, global allocation and native architecture retention remain unresolved under #1269.

@zackees

zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

The one defined full measurement is queued:
https://github.com/obs-rust/obs-studio/actions/runs/39713423365

Exact GREEN source: e8eb132. Event workflow_dispatch; native-cache-probe=false. Routine PR run is separate 39713417715. Existing full build/test selection is preserved; automatic watcher cancellation is disabled for this intentional experiment. No whole-workflow rerun requested.

Read-only inventory is still unobserved. Keep this draft until the real Flatpak job emits its contents and its build/test/cache-restore status is inspected. Directory sizes are not compressed archive sizes or a pruning decision.

@zackees
zackees marked this pull request as ready for review October 22, 2026 03:06
@zackees
zackees force-pushed the infra/1269-flatpak-cache-inventory branch from 93ad9d9 to 2d4eef5 Compare October 22, 2026 03:09
@zackees

zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

The defined full measurement run 39713423365 has now completed successfully on immutable source e8eb1327e29dcaf55796b6e504718911a24acfe3. Linux Tier 2 OFF and ON, Windows Tier 2, macOS Tier 2, Flatpak and the final CI Gate all succeeded. This supplements the committed evidence captured while the parent run was still active; it does not change the recorded build-bundle:false or runtime-validation limitations.

The branch was rebased onto current origin/master at the maintainer's request; current head is 2d4eef5ce560209356de8ae9d8a375f1b8f8302b. Its new required PR run is 39715318307. No manual experiment was restarted.

@zackees
zackees enabled auto-merge October 22, 2026 03:11
@zackees
zackees added this pull request to the merge queue Oct 22, 2026
Merged via the queue into master with commit a4cfc60 Oct 22, 2026
22 checks passed
@zackees
zackees deleted the infra/1269-flatpak-cache-inventory 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