Skip to content

meta: CI performance backlog and measured burn-down #1667

Open
3 of 5 issues completed
Open

Description

@zackees

Context

CI performance work is spread across several open trackers. This issue is the umbrella for burning down that existing backlog using GitHub's native sub-issue hierarchy, while preserving each task's acceptance criteria, claims, evidence, and existing children.

The repository already tracks the under-eight-minute code merge-queue goal in #930. That remains the runtime target, not a claim that it has been met. #1581 reports merged Qt overlap, isolated Tier 2 shards, scheduling reports, and Rust phase measurement; its representative post-rollout day and cost/coverage review remain outstanding. #1286 retains cache correctness and reuse measurements. Landed implementations alone do not complete their remaining validation.

Proposal

Use these existing tracks as native sub-issues:

Track Remaining focus
#930 Code merge-queue latency target; existing descendants cover #525 dependency assets, #782 Windows/macOS caches, and #897 platform scoping.
#1286 Cache correctness/reuse, compiler/PCH evidence, representative-day measurements, and unresolved cache blockers.
#1269 Remaining cache retention/tuning and throughput measurements after the janitor isolation fix.
#1581 Validate deployed overlap/sharding changes, quantify setup/compile/test/scheduling costs, and review post-rollout latency and runner cost.

Attach #1592 beneath #1581 as its prepared Tier 2 environment experiment. Preserve the existing #930 → #897 → #700 hierarchy, including native attestation (#443), full-build cross-compilation investigation (#697), and other existing children. These are native relationships, not a second checklist to maintain here.

Burn down measured critical-path work first: finish outstanding rollout evidence, then select the next change by expected net required-gate time saved and runner cost. Reconcile overlapping cache work in #1269/#1286 before claiming implementation. Record a measured adopt/reject result for experiments, and link any unresolved blocker to a concrete follow-up.

Acceptance criteria

  • Every track named above is reachable through native GitHub sub-issue relationships; existing parents and children are preserved.
  • Each remaining actionable item has an owning issue, a concrete next step, and linked evidence or blocker. Existing claim rules still apply; this umbrella does not claim the children.
  • Child issues close only against their own acceptance criteria. Publish representative code-PR and merge-group results separately, including sample sizes, median/tail gate latency, runner-minutes, failures/cancellations, and executed/skipped coverage. Distinguish cold/warm conditions and unmatched observations.
  • Implementation changes include focused RED → GREEN evidence under repository policy; measurement-only work needs reproducible evidence rather than artificial failing tests.
  • Preserve required checks, unchanged C tests/public headers, Tier 2 OFF/ON and differential coverage, isolation, compiler-cache correctness safeguards, and trusted cache publication policy. No new workflow files without explicit authorization.
  • Close this umbrella when its tracked backlog is completed or explicitly dispositioned with linked evidence; do not close it merely because individual optimizations merged.

Decisions

  • Create a broad coordination parent above meta: Faster CI: code-PR queue runs under 8 minutes #930 because the backlog also includes cache correctness, rollout validation, setup costs, and native/release build performance beyond its queue-latency target.
  • Keep existing nested ownership rather than moving children away from their current parents. GitHub's native hierarchy is the progress record.
  • Attach only open, directly relevant performance tracks. General lint-debt cleanup (ci: Burn down the ci-lint precheck baseline in ci.toml #962), nightly correctness incidents, and product recording/profiling performance are outside this roll-up.
  • Preserve current worker claims and avoid reopening completed implementation work. Prioritize evidence-backed latency reductions over cache hit-rate headlines.

Related issues

#930, #1286, #1269, #1581, #1592.

Follow-up batches

Decision: preserve #1581's completed evidence and attach its explicitly linked continuation directly to this umbrella. Keep the original four tracks and all their existing native descendants intact. The umbrella remains open until its tracked backlog meets the acceptance criteria above.

Sub-issues

Sub-issues

3 of 5 Issues completed
Loading 5 sub-issues

Activity

  1. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Final speed-batch report: #1754; measurements and portable evidence. The maintainer explicitly waived the24h wait; the fixed after window is October22,05:52–07:12:45UTC (80m45s),36listed/29terminal/7active-or-queued at capture. This is not a full-day result.

    Bounded batch #1694 completed via seven implementation PRs plus #1754. Exact-lane Linux PR median691→555s (19.7%faster), queue526→560.5s (6.6%slower), runner-cost medians6.9%/9.9%lower. Keep the broader backlog open; #930under8minute target and #1592stronger net-gate condition are not established by this sample. Decisions include retaining cooking and rejecting unsupported linker/deinterlace changes.

  2. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    #1760 interim Flatpak retrospective — target not yet proven

    CEF #1763 and installed-runtime #1771 merged normally. Draft #1767 has measured safe PCH/compiler reuse and remains held for fresh-runner/capacity evidence. Full controlled experiment results retain selected failures and costs.

    The initial controlled cold builder action took790s. Its non-overlapping live-log intervals were:

    Builder-action interval Seconds
    SDK/dependencies through OBS module start 145.186
    Configure through first Ninja task 14.853
    Ninja compile/link window 483.891
    Post-link install through first debug-processing message 12.835
    Debug processing through build-stage commit start 14.275
    Stage commits, cleanup, exports and action finish 118.959

    Raw job. These are log-derived wall-time intervals, not CPU profiles; native/Rust tasks overlap. Cargo's main self-reported builds took12.51s and0.89s, not an additional13.4s to add to the native window. This is a cold current-source action, not a comparable warm whole-job baseline.

    The isolated full-app pair then improved728.798s→326.785s with328hits/2misses and both output validators passing. The second build still has setup/configure/link/debug/export work; cache-hit percentage alone is not the user-visible job improvement. Buffered probe output means its CI line timestamps cannot attribute internal phases.

    Process lessons already supported: fix expensive immutable dependency processing once; reset inherited cache statistics; test mutable manifest overlay order; prove PCH freshness with preserved-size/mtime changes; run an actual installed saved capture/browser profile; retain qualification failures and artifact/setup costs. Five failed runtime harness attempts are retained, not erased from success accounting. Synthetic devices/software rendering do not establish physical/GPU coverage.

    New frozen fresh-runner transfer trial is active with only compiler-transfer and installed-runtime probes enabled. It measures an explicit one-day Actions artifact and a full fresh consumer, without changing production cache transport or family budgets. Start inventory45caches/10,182,677,782B makes global retention a real constraint; #1269 retains allocation/native-transport ownership.

    Remaining before final retrospective/closure: actual retained compiler consumer and capacity, >=3comparable warm whole-job observations, >=50%median whole-job improvement (target<=7m30), all PRs merged through the queue, final evidence and owned cleanup. No phase-only gain closes #1760 or this backlog.

  3. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Additional measured CI bottleneck from #1760 qualification (outside Flatpak):

    Ubuntu app job119827293073 passed after 65m54s. Its apt output reports:

    Transfer Reported duration Reported throughput
    16.9 MB tool packages 1m57s 145 kB/s
    134 MB app dependency packages 54m12s 41.3 kB/s

    The second fetch spans12:39:23–13:33:35UTC. Build files were generated at13:34:48. These reported download durations total56m09s; they are not compiler CPU time and must not be attributed to Flatpak changes. The underlying mirror/network cause is not yet established. No cancellation, rerun, cache-budget or mirror change was made here.

    Full v5 selected-job cost is now finalized: 188.5833 runner-minutes,22success/2failure(compiler consumer plus gate)/0cancel, skipped excluded and no billing multipliers. Flatpak producer/runtime passed; the compiler consumer failed before download on the now-fixed bootstrap path. Raw job logs, metadata and largest timestamp intervals are retained in1760's evidence. This is an additional retrospective finding, not the final1760 report or a measured routine speedup.

  4. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    The package-download bottleneck now has a second independent outcome: Qt job119857853485 ended with GitHub's annotation “The job has exceeded the maximum execution time of30m0s.” It spent the time in Install Build Dependencies; requested115MB, and was still fetching fromazure.archive.ubuntu.com when timed out. Whole job30m20s. Its post-timeout cache report then failed because setup had not completed.

    This is an automatic job timeout, not a manual cancellation. Record it as cancelled in outcome counts and retain its runner cost. V7's Flatpak compiler consumer separately passed327hits/3misses, all6dependencieshit, full app+3validators,418s wholejob; runtime infrastructure installation is still live. No unchanged retry or assertion relaxation. The underlying mirror/network cause and package-setup remedy remain unresolved; this does not establish a Flatpak compiler regression.

  5. 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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions