Repository navigation
ci: attribute remaining Flatpak compiler costs on demand - #1803
Merged
Merged
Conversation
zackees
marked this pull request as ready for review
October 22, 2026 17:35
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. Actual warm production rebuild39812201578/119942032116 succeeded480s with329directhits/2misses; the target remains450s and a three-job median. Add default-off manual compiler attribution to explain remaining costs without changing compiler flags or freshness.
flatpak-compiler-diagnosticsis passed only from workflow_dispatch, defaultfalse in existing caller/reusable workflows; no new workflow files.CCACHE_LOGFILE; dependencies and existing environment remain unchanged.keep-build-dirs, enabled only here so the module-local log survives. Build directories are excluded from production projected archives and experimental compiler/dependency artifacts.RED → GREEN and review
RED
6e02903ab: missing helper fails focused import. GREENae7b6e9ed: focused23tests pass including interleaved calls, PID reuse, sensitive option/environment exclusion, size bound, module-only configuration and default-off workflow wiring. Full CI self-tests ran1101cases with one failure: new test imported thecinamespace, which the stdlib/local-module checker rejects. Corrected to the existing local-module import convention and verified that checker plus focused suites; remaining1100cases had no failure (6skips).Parser also consumed an existing real ccache log (two invocations and literal result codes). Same primary reviewer PASS; actual hosted log discovery/output remains to qualify on this branch after PR CI. Existing unchanged workflows are the normal merge gate. No performance saving claimed by this diagnostic itself.
Hosted qualification
Required PR CI Gate119956072020 passed on run39816026591 at
ae7b6e9ed. One frozen branch diagnostic run39816641317 is dispatched; actual discovery/report coverage remains pending. No master dispatch or production default changed.Hosted parser correction
First diagnostic Flatpak job119956905407 succeeded463s; sanitized artifact12442513554 contains347calls,328directhits/3misses and16unsupported results. It did not identify those options/sources: ccache4.14.1 emits canonical
Compiler option ... is unsupportedbeforeSource file. No unsupported-call attribution is claimed from that first report.RED
92c06356dreproduces the canonical message, compound option and early rejection. GREEN9cbb3247ecaptures supported canonical message forms, strips option values, and parses only the source operand after-cfrom the private command line as a fallback. Commands/environment remain unpublished. Focused24checks pass; same primary reviewer PASS. New-head CI39818608669 and corrected hosted coverage remain pending.Completed hosted qualification
Corrected diagnostic run 39820372855, frozen code9cbb3247e, completed the full Flatpak job successfully in472s. The bounded artifact attributes all16 uncacheable calls to obs-browser C++20 sources rejected for
-fmodules-ts;347 calls total,327 direct hits and4 cache misses. Log spans do not measure full fallback compiler execution. Portable evidence is committed at59a771cc6; this final commit changes documentation only. Current required CI Gate passed at HEAD59a771cc6. This PR provides opt-in diagnostics; it does not claim the parent performance target is achieved.