Repository navigation
perf(flatpak): cache browser C++20 compilation without module scanning - #1806
Merged
Merged
Conversation
zackees
force-pushed
the
infra/1760-flatpak-modules
branch
from
October 22, 2026 17:48
d511b0a to
f668628
Compare
Member
Author
|
Rebased onto current master29722decc after GitHub reported a merge conflict. Replaced head d511b0a with f668628; RED is now8e57348d6. The conflict was adjacent evidence appended to docs/ci-speed-flatpak-pch-1760.md; both sections are retained. Manifest, PCH fixture and packaging tests are byte-identical to the original reviewed/qualified source ( |
8 tasks done
zackees
marked this pull request as ready for review
October 22, 2026 18:05
6 of 7 tasks
This was referenced Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #1760. Disable automatic C++20 named-module scanning only in the Flatpak OBS recipe, restoring cacheability of browser sources while retaining C++20, PCH and header dependencies. Existing project/browser sources are unchanged; the repository declares no named-module file sets. No new workflows.
Corrected hosted diagnostic 39820372855 attributes all16unsupported calls to obs-browser and
-fmodules-ts. The completed previous production cohort remains [480,421,475]s, median475s versus historical905s (47.51% lower), short of the parent target. This PR does not close the parent.RED → GREEN
-DCMAKE_CXX_SCAN_FOR_MODULES=OFF. Actual SDK bosn549 passes all10trials, including preserved-size/mtime source, header and compiler changes, configuration changes, and2-hit warm reuse following each. No unsupported calls remain in the fixture.uv run --no-project -m unittest ci.test_hybrid_packaging:38tests pass.git diff --check:pass. Same primary clud-review passed code and final portable evidence.docs/ci-evidence/2026-10-22-flatpak-cpp20-cache.json. Preparation deadline541 occurred before any fixture ran; partial setup resumed safely, not counted as a compiler correctness failure.Full qualification completed
Run39824614077 passed full producer119984644801, fresh consumer119988550402 and installed saved-profile runtime119993180570. Consumer:343compilerhits/3misses/0unsupported, all6dependencyhits, genuineOBSrebuild, fsck10commits19088objects andall3validators. Runtime:303verifiedbrowserframes, saved screen/camera/microphone/browser recording, unchanged C++WebSocket v5, modules andCEFdebugger checks; App/Debug commits exactlymatchconsumerexport. Synthetic/software coverage only. Portable evidence in docs/ci-evidence/2026-10-22-flatpak-cpp20-qualified.json.
Enclosing workflow has known Windows callback parity failure664pass/1fail, preserved on #1549; no rerun/test changes. Wholeworkflowcost waits on final native job. These experimental transfer jobs are not routine timing samples. Newproductioncohort/cold/retention still required after normal merge.
Scope
CI/packaging configuration and Python fixture only: Rust/C ABI/protocol implementations unchanged, so new Rust Tier1–3 cases are not applicable. Existing normal PR CI and merge queue remain required. No C tests/public headers or obs-websocket modifications.
Qualification dispatched once at exact HEADd511b0a84: 39824614077, compiler/dependency-transfer and saved-profile enabled, diagnostics disabled. Flatpak producer/consumer/runtime completed successfully; independent Windows failure disclosed above.