Skip to content

perf(ci): isolate complete Flatpak measurements from unrelated native matrices - #1817

Merged
zackees merged 4 commits into
masterfrom
infra/1760-flatpak-measurement
Oct 22, 2026
Merged

zackees merged 4 commits into
masterfrom
infra/1760-flatpak-measurement

Conversation

@zackees

@zackees zackees commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

Refs #1760 and #1667. Add default-off flatpak-measurement-only to the existing manual workflow and reusable build. It retains the complete Flatpak job and lightweight Format/FastGate checks, while omitting unrelated native app/Qt/Tier2/cross-lint matrices for explicit manual observations.

No new workflow files. Normal PR, merge-group, push, schedule and release selection is preserved. Reusable scope rejects this input outside workflow_dispatch and rejects it with explicit inputs.full, so a release gate cannot silently become a measurement.

Flatpak clock and scope

The whole flatpak-build job is byte-identical to merged base e1b6499: SHA256 c6a059bbbd959947e1062ac7dad23371a6f66eff025ebf449f6af3240c5d39c9. Setup, restore, actual compile, debug/export, validators, pruning/publication and cleanup all remain. No shipping sources/options/cache policies changed. Native-routing savings will be reported separately and will not count toward the parent50% Flatpak target.

The current full-matrix seed39831165145 spent81.4667runner-minutes while its Flatpak job passed455s. Its unrelated FastGate C-oracle compile regression is tracked in #1816; this mode keeps FastGate and does not hide that failure.

RED → GREEN

  • RED558692f23: execute actual workflow scope shell and actual native selector expressions; missing input/routing/rejection fails10subcases.
  • REDc7708c37e: independent cross-lint routing and explicit release-gate rejection coverage.
  • GREEN8e3048938: input/caller/guard/scope/native selectors;92focused scope/packaging/diagnostic tests pass.
  • Broad CI self-tests:1111cases with6skips found one preexisting exact-text journal selector assertion incompatible with the new AND guard.39c372450 extracts the actual job selector and retains its full-build predicate, journal ordering/nonblocking policy and fatal compiler-failure checks.15targeted journal/measurement tests pass. Normal PR CI remains authoritative.
  • git diff --check:pass. Same primary clud-review PASS through39c372450. Python tests use actual scope Bash and an AST interpreter for real job predicates, no eval.

Hosted qualification

Manual branch run 39835603193, source39c372450, enabled only the measurement flag. Complete Flatpak job120023161720 passed 392s, restored the trusted master archive, hit all six dependencies, genuinely rebuilt OBS, recorded342direct compilerhits/3misses and passed all three validators. Branch publication/pruning remain skipped by their existing trusted-master conditions; this branch qualification is excluded from production timing samples.

All unrelated native app/Qt/Tier2/cross-lint matrices were skipped. Format passed. FastGate120023263074 ran and failed on the same unchanged shader-sampler C-oracle sign-conversion compilation tracked in #1816; it remains visible and makes the qualification workflow fail. No unchanged retry and no relaxation of the gate. Complete workflow cost will be recorded after its final gate terminates.

Required normal PR CI39835195434 passed, including CI Gate. Same primary review PASS through39c372450 and focused checks are recorded above. Ready for normal merge queue. Production warm/cold sampling and final retrospective remain open under #1760; this PR does not claim the parent target.

@zackees
zackees marked this pull request as ready for review October 22, 2026 19:03
@zackees
zackees added this pull request to the merge queue Oct 22, 2026
@zackees

zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

Hosted qualification 39835603193 is now terminal: 14.033 runner-minutes, failure, no cancellations or retries. Complete Flatpak passed392s with342directhits/3misses, all6dependencyhits, genuine app rebuild and all3artifact validators. Fast Gate reproduced #1816 and the final CI Gate correctly failed. Thus this mode preserves failure propagation. Branch publication remains skipped by existing trust conditions; this run is excluded from final production timing samples.

Normal PR CI39835195434 passed. This PR is first in the normal merge queue; merge-group39836822689 remains live.

Merged via the queue into master with commit 9b6f1f7 Oct 22, 2026
56 of 58 checks passed
@zackees
zackees deleted the infra/1760-flatpak-measurement branch October 22, 2026 19:18
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