Skip to content

ci: preserve Flatpak warm fallback across manifest changes - #1705

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

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

Conversation

@zackees

@zackees zackees commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Refs #1269; follows merged #1703.

Fix the verified Flatpak cache namespace mismatch: the pinned action's fallback is flatpak-builder-x86_64, while our old custom keys put the manifest hash before the architecture. Keep the original-manifest identity and all build/module validation, use an architecture-first namespace, and preserve the known useful legacy master seed through a conditional exact restore.

A lookup-only query prevents a legacy download when either an exact or prefix new-namespace seed exists. The bridge runs before the independent compiler-cache overlay. Existing action pins, master-only saves, quotas, build flags and coverage remain unchanged; no pruning/new workflow/packaged-content change.

RED → GREEN

  • Published RED f698054f6 (original local 297fd4b45): both focused namespace and migration tests fail on the old workflow.
  • GREEN bab5bc2b8: 20 focused tests pass (uv run --no-project -m unittest ci.test_hybrid_packaging ci.test_ci_toml).
  • Full ./lint: passed in 56.5s, including CI self-tests, rustfmt/clippy and Dylint.
  • clud-review: clean, one primary reviewer; reproduced focused checks and pinned-body probe.
  • Pinned action-body probe demonstrates exact/changed-manifest matches after synthetic publication; pinned cache action source confirms lookup-only matched-key output. These are not real transport or speed measurements.

Hosted measurement / remaining validation

The single defined full run 39716240224 on immutable GREEN source bab5bc2 completed Flatpak job119619029863 successfully. New-namespace lookup missed; the exact 2,747,488,816-byte legacy seed restored, then the independent 60,766,818-byte compiler seed restored. All six dependency modules were reused and OBS/AppStream/build-directory/repository validation passed. Linux Tier 2 OFF/ON each registered354/executed351/skipped3Pulse/failed0. Parent full run still has native jobs active; no whole-run success claimed. Recorded metadata and literal excerpts are in docs/ci-evidence/2026-10-22-flatpak-cache-migration-hosted.json.

Input build-bundle:false; no distributable bundle or saved-profile runtime claim. Restored counters were not reset after final restore, so 156/360 hits are not this-build deltas. A branch cannot publish the master-only seed: later trusted publication and actual new-namespace consumer remain necessary before declaring migration complete. Cancellation remains disabled for the intentional full measurement. No workflow rerun requested.

The migration temporarily needs both old/new archives. No storage reduction, runtime speedup or durable capacity claim. #1269 remains open for global allocation/native architecture retention/representative durability. Evidence/plan: docs/ci-evidence/2026-10-22-flatpak-cache-migration.md.

@zackees

zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

The single defined full warm-consumer measurement is 39716240224, dispatched on immutable GREEN source bab5bc2b83570e9493cac4c48e5f526661b2a878 with native-cache-probe=false. Preserve all existing full validation; no workflow rerun requested. Watcher cancellation is disabled for this experiment. Required PR CI is separate run 39716235674. Actual legacy transport/module reuse, later master publication and a new-namespace consumer are still unproven.

@zackees
zackees marked this pull request as ready for review October 22, 2026 03:38
@zackees
zackees added this pull request to the merge queue Oct 22, 2026
Merged via the queue into master with commit 9c56136 Oct 22, 2026
22 checks passed
@zackees

zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

The defined full migration run 39716240224 has completed SUCCESS on immutable GREEN source bab5bc2b83570e9493cac4c48e5f526661b2a878. This updates the parent-status limitation in the committed capture; its other limitations remain.

Actual Tier 2 coverage from completed logs:

  • Linux OFF and ON: each 354 registered, 351 executed, three PulseAudio skips, zero failures.
  • Windows job119621053932: four successful CTest passes, each 174 tests; the Rust differential test also passed.
  • macOS job119621053948: four successful CTest passes, each 199 registered/198 executed/one test_svt_av1 skip; the Rust differential test also passed.

The Flatpak job verified real legacy archive transport, six dependency-module hits, OBS build and existing output validations. build-bundle:false; no distributable or saved-profile runtime claim. No workflow rerun or coverage reduction.

Latest-head PR run39717552504 and merge-group run39717995754 also completed SUCCESS. Trusted new-namespace publication, an actual new-namespace consumer, global capacity/native retention and representative durability remain unproven/open.

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