Skip to content

perf(ci): halve full Flatpak build time and eliminate repeated CEF processing #1760

Closed

Description

@zackees

Context

The maintainer requested a substantial Flatpak speedup after reviewing the current timings. Target the real full application build and packaging path, not only the faster Linux Tier 2 tests.

Successful full run 39721238636 / job 119635024523 took 15m11s. Log timestamps give this approximate non-overlapping breakdown:

Phase Observed wall time
Container, checkout, dependency/runtime setup and cache restore, through OBS module start 3m27s
OBS configure, compile and install, through first debug-processing message 5m40s
Debug compression and splitting 3m30s
Stage commits, cleanup and repository export 2m01s
Validation and final cleanup 33s

The biggest specific processing hotspot is libcef.so: its debug-compression-to-strip interval was 162.4 seconds, within the debug-processing phase. This is a log-derived interval, not a CPU profile. The CEF module already sets no-debuginfo: true, yet the installed browser copy is processed during the OBS module. Establish why and avoid repeating equivalent work without losing required debug artifacts or changing runtime behavior.

The same run restored a 2,748,017,078-byte compressed builder archive. Its later builder-state inventory was about 5.67 GB apparent size: 4.58 GB OSTree cache, 1.03 GB downloads, 61.6 MB ccache. Those inventory figures are not transferred bytes. Ccache counters are cumulative and must not be presented as this run's isolated hit rate.

A second source of apparently enormous durations is an explicit manual experiment, not routine production work: run 39732161172 / job 119669522061 spent 11m22s in the normal builder action, then 15m26s in Probe Pruned Flatpak Rebuild, which failed its dependency-reuse assertion. That probe belongs to existing PR #1715; later corrected trials have separate evidence. Do not claim the failed trial established useful pruning or count removing its experimental second build as a routine-build speedup.

Current master uses the v6.8 Flatpak action, cache restore with legacy-seed migration, trusted master-only publication, offline vendored Cargo sources and the Rust-enabled full application. Routine master pushes already omit downloadable bundle creation; bundle-producing release lanes remain separate. #651's older C-only compilation figures and already-landed bundle gating are not new savings available to claim.

Proposal

  1. Attribute the current full build. Add or use bounded timing markers for container/setup, SDK/runtime installation, builder/compiler archive transfer and extraction, CMake, Rust compilation, C/C++ compilation, linking, installation, per-binary debug processing, OSTree stage commits/export, optional bundle compression, validation and cache publication. Preserve run/source/toolchain identities and cold/warm state.
  2. Remove repeated CEF processing first. Profile the installed libcef.so path. Compare processing the immutable prebuilt dependency once, reusing verified processed artifacts, or retaining equivalent incremental processing state. Preserve browser loading, debug-symbol identity and release debugging capability. Do not simply disable all debuginfo or omit the browser/plugin to meet the target.
  3. Restore useful incremental application state. Diagnose why the OBS source module invalidates work; measure compilation/relinking and Rust target reuse inside the Flatpak sandbox. Key any retained outputs on source, toolchain, SDK, configuration, dependency and build-script inputs. Preserve the existing disabled unsafe Rust compiler-wrapper policy and freshness safeguards; do not reintroduce stale compiler output.
  4. Reduce transfer and export costs. Coordinate with ci: run cache janitor on trusted queue without delaying CI #1269 / ci: validate isolated Flatpak rebuild without download or compiler state #1715 for dependency OSTree reuse and the global cache budget. Measure actual producer/consumer transport before adopting a pruned cache. Avoid storing redundant downloads/toolchains/debug representations when they can be safely reconstructed or reused, but retain all required outputs. No hidden external storage, invented cache capacity, broad cache deletion or unapproved publication route.
  5. Land independent measured improvements. Keep routine validation separate from default-off manual capacity/rebuild probes. Preserve existing path selection and release bundle generation. Publish an adopt/reject table with net full-job savings and runner/transfer costs; overlapping phases must not be added together.

Touch points: existing .github/workflows/build-project.yaml, build-aux/com.obsproject.Studio.json, build-aux/prepare-flatpak-rust.sh, cmake/common/prepare-flatpak-soldr.cmake, browser/CEF installation rules and the existing dependency producer where evidence justifies it. Coordinate ownership before changing another active PR's code.

Acceptance criteria

  • Performance target: at least 50% lower median warm routine full-Flatpak job time, aiming for ≤7m30s versus the observed 15m11s reference. This is a target, not a promised gain. Establish a current comparable baseline before implementation; also report against it if it differs from the reference. Count setup, restore, build, debug processing, export, validation, cleanup and required cache publication; do not move work outside the clock to claim a saving.
  • Validate with at least three comparable warm observations before/after, plus explicit fresh-runner/cold-cache measurements. Use existing terminal runs where appropriate; no mandatory 24-hour wait or unchanged workflow retries. Report sample sizes, median, nearest-rank sample p95, runner-minutes, transferred bytes, failures/cancellations and cache/source/configuration differences. Keep bundle-producing and routine no-bundle lanes separate. If the target cannot be met safely, retain the issue with measured remaining bottlenecks rather than closing on a small phase-only gain.
  • Quantify and substantially reduce repeated CEF debug-processing time, or publish measured evidence rejecting that approach and deliver equivalent savings elsewhere. Verify debug artifacts/build IDs and symbol usability remain consistent with policy.
  • CI/configuration fixes have focused RED → GREEN regression evidence. Cache reuse must be tested for both a real hit and source/toolchain/configuration invalidation, including Rust freshness. Normal PR CI and merge queue remain required.
  • Preserve the full application, browser, existing C++ WebSocket plugin/API compatibility and required validators. Do not edit existing C tests/public headers, omit plugins or weaken checks to improve timings. Do not globally drop release debug symbols without a separate explicit maintainer decision.
  • Packaging changes run the actual packaged artifact as a user would, including a saved profile containing screen capture, camera and microphone sources, under the repository packaging-test policy. Verify browser/plugin loading and relevant debug behavior. A successful builder or empty-profile startup alone is insufficient; disclose unavailable device coverage.
  • Demonstrate real consumer reuse and acceptable global capacity before changing production cache transport/publication. Keep experimental probes default-off/manual and report their extra rebuild cost separately. No new workflow files without explicit authorization.
  • Publish final before/after evidence and the retrospective here and on meta: CI performance backlog and measured burn-down #1667; link remaining cache work to its existing owner rather than duplicating ci: validate isolated Flatpak rebuild without download or compiler state #1715 or closing ci: run cache janitor on trusted queue without delaying CI #1269 prematurely.

Decisions

  • Make this a focused full-Flatpak performance task, not another CI-wide umbrella. A roughly twofold improvement is the default meaning of the requested substantial speedup; the measurements decide which techniques achieve it.
  • Prioritize the measured 162-second CEF processing interval and full-app incremental work. Increasing compiler-cache hit percentages alone cannot remove debug/export/setup costs.
  • Keep release bundle/debug coverage and runtime features intact. Routine no-bundle and release packaging get separate performance tables.
  • Reuse existing cache investigation and PR ownership. The manual second-build experiment is diagnostic work, not a normal production bottleneck to advertise as fixed.

Open questions

  • Which debug-processing products can be reused from the pinned CEF dependency while preserving build IDs, symbols and the release debug contract?
  • What fraction of current C/C++ and Rust compilation is invalidated unnecessarily, and which safe persistent state fits the actual repository cache budget?

Related issues

Completion evidence

All eight criteria are verified in the closing report and parent retrospective report. Final median437s versus905s (51.71% lower), matched cold846s; #1810 merged normally with required gates passing. Post-queue cache retention fits both budgets. Known independent #1816 workflow failures, runtime/source/device limits and all attempt costs are preserved. #1269 retains broader cache ownership.

Activity

  1. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Claiming: #1760 full Flatpak performance, starting with measured CEF debug processing and current baseline.

    1. Preserve current full-build/log identities and three comparable warm baselines; separate normal builds from bundle generation and the ci: validate isolated Flatpak rebuild without download or compiler state #1715 manual probe.
    2. Add focused RED → GREEN coverage for eliminating repeated CEF debug work while preserving exact installed binary/debug identity and packaged-app behavior; open the first focused PR this session once the change is locally demonstrated.
    3. Profile compilation/freshness and setup/export costs, implement supported independent improvements, then qualify actual hosted cold/warm consumers and complete runtime/profile coverage. Final acceptance remains the issue's ≥50% warm-job reduction and full evidence, not a small phase-only saving.

    Decisions: keep release debug capability and all browser/WebSocket/source functionality. No new workflows or unsafe Rust wrapper. #1715 owns its isolated-cache probe and #1269 owns global allocation; I will consume their evidence without editing that active branch. Use the existing dependency publication route if verified preprocessing belongs upstream. Open design questions will be resolved from actual ELF/debug checks before selecting the implementation.

  2. added
    claimed
    on Oct 22, 2026
  3. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Compiler-cache investigation: safe candidate prepared

    Independent draft PR #1767 complements the CEF debug-processing candidate in #1763.

    The wrapper-only Flatpak compiler path misses the existing CMake PCH cache setup. A tiny real GCC/ccache fixture had two PCH refusals and a 1.219s warm clean rebuild; the PCH-aware launcher with dependency mode had two direct hits and took 0.242s. These single fixture observations are not full-job savings.

    A launcher-only fix was rejected: changing a header macro from 42 to 43 still produced 42. Ccache debug output showed PCH creation correctly missed its direct manifest, then reused an old preprocessor result. Disabling direct mode did not fix it. Dependency mode avoids that fallback. Ten trials now pass header, source, build-option and compiler replacements, including preserved file size/mtime; each subsequent clean warm rebuild hits both objects. Compiler content checking is enabled for the toolchain case. The reproducible probe and portable evidence are in #1767.

    33 focused packaging/CI-policy tests and independent local review passed. Both PRs remain draft, with no merge or whole-job speedup claim. The real production SDK image is prepared; local Flatpak sandbox launch failed its namespace permission check, so that failure is preserved and SDK-tool qualification is being separated from actual sandbox/runtime proof. Full packaged screen/camera/microphone/browser/debugger coverage, application freshness, global cache size, and comparable cold/warm whole-job measurements remain required.

    #1715 has now merged. Cache transport/capacity work remains coordinated with #1269; this compiler candidate does not alter publication or transport.

  4. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Baseline cohort and first live qualification

    The combined CEF + safe compiler-cache + installed-runtime qualification is running once at 39754042722, head 8ff154c45, based on master 7d06fad61. Runtime harness: draft #1771. #1767's normal PR CI gate is green; all three PRs remain draft.

    Before a hosted after result is available, I checked the historical baseline inputs rather than selecting only on duration:

    Full Flatpak run Whole job Builder action Baseline treatment
    39713423365 675s 568s Retained separately: earlier shipping/native build inputs
    39716240224 702s 543s Same manifest and shipping/build payload tree as reference
    39718597929 905s 753s Same manifest and shipping/build payload tree as reference
    39721238636 911s 768s Issue reference; same shipping/build payload tree

    The last three have the exact same manifest SHA256 and a conservative git tree/blob/submodule inventory of shipping/build inputs (frontend, libobs families, plugins, dependencies, shared code, CMake, build-aux, Cargo/toolchain inputs, Rust excluding rust/tools). CI/docs/test tooling is excluded from that inventory; Git-generated build-version identity still changes with HEAD. This is not a claim of identical artifacts or runner conditions.

    That matched historical group is n=3, median 905s, nearest-rank sample p95 911s, summed Flatpak runner time 41.97 minutes. With three observations p95 is only the sample maximum. All four observations remain in the evidence; the earlier 675s result is not discarded from reporting. The three selected runs also restored different namespace/writer identities, which will be disclosed.

    The live qualification uses newer master, including the PulseAudio monitor port, so source differences must remain explicit in any before/after comparison. No whole-job speedup is claimed yet. Archive payload sizes in the cache logs are not complete network transfer counts. A dedicated current-source/cold-cache comparison may still be needed; this evidence does not waive that requirement.

  5. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Additional #1760 evidence: the first combined full Flatpak build succeeded in 12m04s (builder action9m53s), including the optional exported-repository artifact. Existing validators passed. This is one non-comparable observation, not proof of a50% improvement. The runtime harness failed before app installation because remote-ls returns typed app/ and runtime/ refs; focused RED/GREEN commits in #1771 correct that. Runtime-only qualification39758270223 now reuses the same immutable exported repository, with separate package/harness source provenance, instead of rebuilding the application for a harness-only fix. It is currently installing test infrastructure; no runtime pass claimed.

    A further cache loss is reproduced with the production SDK's GCC16.2.0/ccache4.14 and the unchanged OBS PCH helper. Current CI restores the newer standalone compiler snapshot first; the pinned builder action then extracts an older whole-builder snapshot containing the same compiler-cache paths. Those paths include mutable direct-mode manifests, so content-addressed result objects alone do not make this overlay preserve hits.

    Real GNU tar extraction after a same-size/same-mtime header42→43 change:

    Restore order Correct output Direct hits / misses Fixture build
    New compiler snapshot only 43 2 /0 0.98s
    New compiler, then old builder snapshot (current order) 43 0 /2 4.19s
    Old builder, then new compiler snapshot 43 2 /0 0.90s

    Both independent copy-overlay and tar-overlay probes passed; no stale output occurred with dependency mode. Raw reports are retained under ci-evidence-1760/sdk-probe/{cache-overlay-result,tar-overlay-result}/report.json. These are fixture timings, not whole-job savings. Next change should restore the builder snapshot before the standalone compiler snapshot, preserving current families/trust/capacity policy. No production cache transport/publication change has been made. This remains within #1760 compiler reuse; #1269/#1764 retain ownership of global allocation/native transport. All three implementation PRs remain draft pending actual installed runtime qualification and full performance evidence.

  6. 53 remaining items

  7. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Actual production results after merged1767:

    Observation Whole Flatpak job Compiler calls Result
    Trusted seed39810319992/119934657726 651s 0hits/331misses Flatpak success; enclosing workflow later auto-cancelled native remainder;112.1runner-min counted
    Retained warm39812201578/119942032116 480s 329directhits/2misses Six dependency hits, genuine OBS rebuild and all validators; entire workflow success112.75runner-min,0failures/0cancellations

    Actual projected Actions archive9351848007 is2,266,246,245bytes and was restored on a fresh runner. It fits existing builder2.5GB allocation; global retention remains coordinated on1269. Same-source exact-hit publication skips legitimately, and that difference must stay visible when comparing different-source jobs.

    The first warm observation is46.96% below historical905s median, above450s. It is one sample, not the final median or a matched-source causal estimate. Proceeding with the remaining predeclared first-attempt samples, waiting for entire preceding master workflows to finish so dispatch concurrency does not discard native work. Compiler diagnostics1803 and local export-compression qualification remain separate experimental work. No final target claim or issue closure.

  8. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Continuing1760: corrected diagnostic39820372855/job119969902046 conclusively attributes all16uncacheable calls to obs-browser sources and -fmodules-ts. CMake enables module scanning for these C++20 targets; the repository declares no CXX_MODULES file sets. The project default is C++17 while browser targets requestC++20, matching the affected set.

    Next independent unit: exercise the existing PCH freshness fixture as C++20 with the manifest's scan setting; establish real SDK RED warm-cache failure before applying -DCMAKE_CXX_SCAN_FOR_MODULES=OFF only in the Flatpak OBS config. Preserve C++20, PCH, normal header dependencies and source/compiler/configuration freshness; do not ignore compiler flags or add ccache sloppiness. Qualify the complete rebuilt consumer/browser/saved-profile package before adoption. No new workflow files, C tests/public headers or browser source edits. Work branchinfra/1760-flatpak-modules.

    The existing third production warm sample and cold-only measurement continue unchanged and remain a distinct generation/cohort; do not fold new configuration results into that cohort.

  9. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    The predeclared original-production warm cohort is now complete at the Flatpak-job level:

    Run Whole Flatpak job Compiler hits/misses Unsupported calls
    39812201578 480s 329/2 16
    39816841905 421s 327/3 16
    39821239168 475s 328/2 16

    Median 475s, versus historical baseline median905s: 47.51% reduction, still short of both50% and450s targets. Nearest-rank sample p95 is480s (n=3, only sample maximum). Keep this complete cohort; do not replace its slower observations with selected faster diagnostic trials. Warm1 exact-source publication skipped; warm2 published a new source generation. Historical baseline/source differences remain and this is not matched-source causal attribution.

    Matched current-source cold-only run 39820593708 completed its Flatpak job119970653404 successfully in921s, with0compiler hits/330misses and16unsupported calls. All builder/compiler restores and publication were disabled; SDK/runtime image content remains preinstalled, so this is not a globally cold machine. Enclosing warm3/cold workflows remain active; their full costs will be collected after terminal state, without cancelling native work.

    Same-primary review passed the focused Flatpak-only module-scanning change and38packaging tests pass. Real SDK RED/GREEN freshness and complete consumer/saved-profile package qualification remain pending. The16unsupported calls are conclusively attributed by corrected diagnostic39820372855 to browser -fmodules-ts; cacheable-hit percentages exclude those calls. Issue remains open.

  10. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Full qualification 39824614077 is terminal. Flatpak producer passed470s; fresh consumer passed558s with343directhits/3misses/0unsupported, all6dependencies, genuine application rebuild, integrity andvalidators; installed consumer saved-profile runtime passed133s/303browserframes. App/Debug IDs match consumer export. Full curated evidence committed in #1806.

    The whole selected workflow cost133.3667runner-minutes and ended FAILURE solely on the known Windows callback declaration parity test (664pass/1fail; #1549 occurrence #1549 (comment)). No unchanged retries or test weakening. Experimental transport and unrelated native costs remain separate from routine speed claims.

    Final documentation head a0a5c20 has PR CI39827758217 running; normal merge queue follows its required gate. Parent warm median remains475s for the prior configuration; the new production cohort/cold/retention still must be measured after merge.

  11. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Final C++20 configuration cohort — declared before observation

    After normal #1806 merge, use the automatic master-push full Flatpak build as the trusted producer for the new manifest generation. Report its whole job/cache publication/counters and bytes separately; it seeds newly cacheable browser objects and is not counted as a warm observation.

    Then collect the first three comparable routine warm Flatpak jobs, with all optional diagnostics/transfer/pruned/capacity/runtime/cold inputs off. Include setup, restores, actual application rebuild, debug processing, commits/export, validators, stats/pruning, required publication and cleanup in whole-job time. Wait for each entire preceding manual master workflow to become terminal before the next master dispatch, preserving unrelated native jobs under existing cancel-in-progress concurrency. Source/configuration/cache identity and exact-hit publication skips remain explicit.

    Use an independent frozen ref for one cold-only run matching the first final warm source/configuration. Only cold-build input true: no builder/compiler restore or publication; preinstalled SDK image content remains disclosed. This ref has its own concurrency group and does not cancel master observations.

    Keep every attempt, failure/cancellation and full selected-workflow runner cost. Failed builds cannot count as successful warm speed observations or be silently replaced; changed-code qualifications and any justified infrastructure rerun stay separately identified. Do not select the fastest diagnostic consumers or move work outside the clock. Report n, median, nearest-rank sample p95 caveat, actual payload bytes and network-accounting limits.

    The prior [480,421,475]s cohort remains a completed missed-target result (median475s,47.51% below historical905s), not superseded or edited. The final target remains >=50% lower warm median and <=450s, with full app/browser/debug/unchanged C++WebSocket preserved. No arbitrary daily wait, new workflow, budget/backend change or manual cache deletion.

  12. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Correction to the seed scheduling plan, before observing final warm results: actual merged code e1b6499 has ci/ci_scope.py:scope() returning full=False for all path-based runs, and build-project.yaml selects Flatpak only when full is true. Master-push cannot seed this full Flatpak generation. This differs from the supplied policy summary; do not wait for a job that is not selected.

    Dispatched necessary manual master seed once: 39831165145, all optional inputs off, exact merged source to be verified from the run record. This first producer remains excluded from the warm cohort. The following three routine warm observations and matched cold plan are unchanged. Keep the seed's full native-matrix cost, publication bytes and failures in the ledger; no duplicate Flatpak push build is expected under this actual selector. No workflow/path selection change made.

  13. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Continuing1760 with a focused manual measurement-routing unit while the necessary seed's unrelated native app jobs finish. Existing manual workflow runs the entire native matrix, making three Flatpak observations consume hundreds of unrelated runner-minutes and delaying safe next dispatches.

    Plan: default-off flatpak-measurement-only input in the existing caller/reusable workflow; valid only on workflow_dispatch. Keep the entire Flatpak job byte-identical, including setup, restore, compile, debug/export, validators, pruning/publication and cleanup. Keep FastGate; skip unrelated native jobs only in this explicit manual mode. PR/push/merge-group/schedule/release behavior and required gates remain unchanged. No new workflow files, production package changes or cache policy changes.

    RED/GREEN executable workflow-scope and job-condition tests cover default full-matrix behavior, explicit measurement routing, and rejection outside manual dispatch. Same primary reviewer; normalPRCI/queue. Qualify one actual manual run and report native-routing savings separately from wholeFlatpak speed. Before any warm sample, amend the declared measurement invocation to enable routing only; all Flatpak probes remain off (cold-only flag added for the matched cold run). Seed39831165145 remains excluded; no cancellations or unchanged retries.

  14. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Final C++20 configuration cohort — declared before observation

    After normal #1806 merge, use the automatic master-push full Flatpak build as the trusted producer for the new manifest generation. Report its whole job/cache publication/counters and bytes separately; it seeds newly cacheable browser objects and is not counted as a warm observation.

    Then collect the first three comparable routine warm Flatpak jobs, with all optional diagnostics/transfer/pruned/capacity/runtime/cold inputs off. Include setup, restores, actual application rebuild, debug processing, commits/export, validators, stats/pruning, required publication and cleanup in whole-job time. Wait for each entire preceding manual master workflow to become terminal before the next master dispatch, preserving unrelated native jobs under existing cancel-in-progress concurrency. Source/configuration/cache identity and exact-hit publication skips remain explicit.

    Use an independent frozen ref for one cold-only run matching the first final warm source/configuration. Only cold-build input true: no builder/compiler restore or publication; preinstalled SDK image content remains disclosed. This ref has its own concurrency group and does not cancel master observations.

    Keep every attempt, failure/cancellation and full selected-workflow runner cost. Failed builds cannot count as successful warm speed observations or be silently replaced; changed-code qualifications and any justified infrastructure rerun stay separately identified. Do not select the fastest diagnostic consumers or move work outside the clock. Report n, median, nearest-rank sample p95 caveat, actual payload bytes and network-accounting limits.

    The prior [480,421,475]s cohort remains a completed missed-target result (median475s,47.51% below historical905s), not superseded or edited. The final target remains >=50% lower warm median and <=450s, with full app/browser/debug/unchanged C++WebSocket preserved. No arbitrary daily wait, new workflow, budget/backend change or manual cache deletion.

    Amendment before any final warm observation

    Actual merged path scope did not select a master-push Flatpak producer; manual master seed 39831165145 supplied the trusted producer (455s), excluded from warm samples. PR #1817 adds a default-off manual measurement routing flag. After hosted qualification and normal merge, final warm runs will enable only flatpak-measurement-only=true; the frozen matched cold will additionally enable the existing cold-build flag. The complete Flatpak job is unchanged, including publication and validation. Unrelated native matrices are omitted from these measurement workflows; their scheduling savings are not counted as Flatpak speedup. Fast Gate remains enabled. Branch qualification 39835603193 is excluded from the production cohort.

  15. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Final measurement routing #1817 merged normally as9b6f1f74835cfb852d70dd10abfb0c070058d8d5; queue39836822689/CI Gate120029993393 passed.

    Started first final warm sample 39837821816 on master, only measurement-routing flag true, actualsource9b6f1f748. Verified previous manualmasterworkflow39831165145 terminal before dispatch.

    Matched cold 39837854756 uses frozen infra/1760-flatpak-final-cold at the exact same source; only additional input cold-build=true. Independent branch concurrency avoids cancellation. SDK image remains preinstalled; all builder/compiler restores/publication disabled by cold flag. The whole Flatpak clock remains unchanged. All attempts/costs/failures will be retained; no results yet.

  16. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    First final warm observation is complete: 39837821816 / Flatpak120030810312, source9b6f1f748, 437s (7m17s) including setup/restore/build/debug/export/validators/pruning/new-generation publication/cleanup. Six dependency hits, genuine OBS rebuild,342direct compilerhits/3misses; all three artifact validators passed. Restored2,274,967,809B archive9358763488; published2,274,822,651B archive9360891151.

    Whole workflow failed on the unchanged #1816 shader-sampler C-oracle compiler warning;14.967runner-minutes, no cancellation/retry. Keep this failure in the ledger. A successful Flatpak job is not a successful whole workflow.

    After verifying the entire predecessor terminal, started warm2 39839045982 at the exact same source, measurement flag only. Matched cold39837854756 remains live. One sample does not establish the final median or50% target. Earlier API snapshots incorrectly continued to show the warm job queued; completed timestamps and downloaded logs establish the actual437s result.

  17. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Final declared Flatpak cohort: performance target met

    Metric Before Final configuration
    Whole warm job samples 702s,905s,911s 437s,434s,447s
    Median 905s (15m05s) 437s (7m17s),51.71% lower
    Nearest-rank sample p95 911s 447s

    Both p95 values are n=3 sample maxima, not stable population-tail estimates. Full setup/restore/build/debug/export/validators/pruning/required publication/cleanup are included; no work moved outside the Flatpak clock. The earlier interim [480,421,475]s cohort (median475s,47.51% lower) remains a recorded missed-target result.

    Final warm runs: 39837821816, 39839045982, 39840480759. All reused six dependencies, genuinely rebuilt OBS and passed all three artifact validators. Compiler directhits/misses:342/3,343/2,331/14. First two source9b6f1f748; third4509ca5be includes #1815 scene-audio extraction, with recipe/browser/CEF unchanged. Same hosted SDK container digest and GNU16.2.0; source/config differences remain explicit, not a matched-source causal estimate against historical baseline.

    Matched cold 39837854756 uses exact warm1 source/configuration: 846s,0hits/345misses, all four builder/compiler restores and publication disabled, validators passed. SDK image content remains preinstalled.

    All three selected warm workflows failed on the unchanged #1816 shader-oracle compiler warning, with49.433runner-minutes total; matched cold also failed #1816,20.567runner-minutes. No cancellations or unchanged retries. Full-workflow routing savings are separate from Flatpak timing: manual mode omits unrelated native matrices but keeps Fast Gate and the byte-identical complete Flatpak job.

    Third warm published archive9361847609,2,275,027,686B. Final settled retention/global capacity must still be checked after normal janitor activity. Runtime/browser/debug/saved-profile proofs remain linked in merged #1763/#1771/#1767/#1806; this measurement does not claim a new physical-device/GPU test.

    Issue stays open until final portable evidence/retrospective #1810, settled capacity verification, #1667 reporting, normal review/merge and owned cleanup are complete.

  18. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Flatpak speedup completed

    Metric Before After
    Warm full-job observations 702s,905s,911s 437s,434s,447s
    Median 905s (15m05s) 437s (7m17s),51.71% lower
    Nearest-rank sample p95 911s 447s

    n=3 p95 values are sample maxima, not stable population tails. Matched first-warm-source cold:846s,0compilerhits/345misses, preinstalledSDK disclosed. Historical before/after is observational; finalthird includes #1815 C scene-audio extraction with same packaging profile. Fulljob clock includes setup, restore, actual app build, debug/export, validators, required cache publication and cleanup. Earlier interim475s median that missed target remains in the report. No fast diagnostic cherry-picking or unchanged retry.

    Adopted: fast CEF debug processing (#1763), installed saved-profile qualification (#1771), safe compiler/PCH reuse and projected cache (#1767), bounded diagnostics (#1803), cacheable browser C++20 compilation (#1806), and explicit manual measurement routing (#1817). Existing C tests/publicheaders and C++ WebSocket plugin were not changed. Runtime proof loads actual exported App/Debug, authenticates unchanged WebSocketv5, checks23modules/CEFdebugger and records saved screen/camera/mic/browser profile. Synthetic devices/software rendering limits are explicit. Releasebundle generation remains separate; no releasebundle speedup claimed.

    All final Flatpak jobs passed, but every selected final workflow failed independently on #1816. Warm workflowcost49.433runner-minutes, cold20.567; all attempts/failures preserved. Overall completednonbaseline measurementcost2199.017runner-minutes plus112.117known cancelledseedminutes with inconsistent APIplaceholder; baseline374.033runner-minutes separate. PR/mergeCI and localwork are explicitly outside this ledger; no billinginvoice or completeNIC/TLS-byte claim. Manualnative-routing savings are separate from Flatpak speedup.

    Remaining walltime is dominated by setup/restores167–192s and commits/export117–120s; configure/compile/install81–89s, debugabout14s. These are nonoverlapping bufferedlog intervals, not CPU profiles. Compression-level experimentation was deferred after noisy local results and49MB larger archives.

    Retrospective #1810 merged normally as c9e73cb5b04e6a9dbc1c2d6753c0f3a51fc73ba0. Final-head PR CI39842834675/Gate120050193042 and merge-group39844208210/Gate120054761949 passed. All seven merged report files are byte-identical to reviewed09c482285. See the final cohort, retrospective, and actual installed C++20 package qualification.

    Post-queue terminal retention verified at2026-10-22T19:59:02Z: complete34entry inventory totals 7,978,324,059B, below10,737,418,240B global budget. One latestarchive9361847609 is 2,275,027,686B, below2,684,354,560B family budget. Normal janitor120053047134 passed, retained that one Flatpak entry before/after, and deleted8superseded non-Flatpak entries. The earlier transitional overflow is preserved in the report; the actor removing the older Flatpak entry is unknown from inventory alone. Warm2/3 really consumed9360891151; a later consumer of9361847609 is not claimed. Cache-owner report preserves #1269 ownership.

    Cleanup: all owned1760worktrees and local/remoteinfra/1760branches removed after clean/process/merged-head checks; sources remain in master and pull refs, and investigation evidence is retained. The original checkout is clean on its concurrent release-work branch; it and all unrelated worktrees were preserved.

    #1816 remains an independent CI regression; #1269 retains ownership of broader cache work. No new workflow, global budget/backend changes or manualcachedeletion.

    This completes the focused #1760 acceptance criteria. Broader CI and cache trackers remain open against their own criteria.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claimed

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions