Skip to content

perf(ci): fix cache reuse gaps and measure libobs unity/PCH gains #1286

Open

Description

@zackees

Context

The 2026-10-17 CI audit found strong C/C++ compiler-cache reuse, but gaps in setup-soldr configuration, cache warming, retention, and performance measurements. The goal is faster PR chains and, above all, faster merge-queue throughput without reducing correctness checks.

Observed evidence:

Area Observation
Linux Tier 2 compiler cache 771/772 compilations cached (99.9%)
Windows Tier 2 ccache 304/304 cacheable calls hit; 27 other calls uncacheable
Fast Gate Rust compiler cache 0 compilations/hits/misses; local_gate.py deliberately disables the wrapper after stale-output incidents
Fast Gate dependency cooking ~760 MB release-profile archive restored before dev-profile clippy/tests; setup 32.5 s in the inspected PR
Test-timing cache ~188 bytes; artifact upload reports no files
Qt compiler cache ~1.11 GB versus the declared 300 MB family maximum
Warm master Tier 2 Build job 161 s, actual build step 67 s, test job 578 s; OFF and ON each ran 283 tests

Evidence: master run 39051349514, PR run 39052342189, Windows run 39050928366.

The unity/PCH rollout has passed a full-platform run and a release run with packaged-app startup checks. The recorded benchmark in #1128 is for a broader fresh Linux native build at -j16 with compiler caching disabled: 315 s wall / 2,416 s CPU before, 198 s wall / 1,053 s CPU with unity plus PCH. A same-tree warm rebuild took 26 s. These are not isolated libobs timings; the 67-second Tier 2 build step also includes other targets and validation.

Fix checklist

  • Match setup-soldr cook profiles to consumers. Audit every setup-soldr call; explicitly match dev/check/clippy/test versus release/static-library jobs. Compare total setup plus command runtime against the current configuration, including prebuild-deps: none where appropriate. Keep the fastest correct configuration and publish before/after results. The pinned action defaults to prebuild-deps-flags: --release and documents the profile requirement.
  • Resolve the Rust compiler-cache correctness blocker. Identify the stale-output issue behind SOLDR_RUSTC_WRAPPER=none, add a focused reproduction that distinguishes current source/diagnostics from stale cached output, and verify the pinned soldr/zccache version. Re-enable only after that evidence passes; otherwise link the remaining upstream blocker and retain the safeguard. Verified in merged ci: reproduce stale Rust cache hits and preserve gate safeguard #1290: pinned 0.9.35 still reproduces a false HIT; the bypass and strengthened nested-module/stamp probe remain. The existing upstream blocker is zccache#1943; the repository now contains the reproduction and captured JSON evidence.
  • Remove unused cache overhead from each lane. Inventory restored layers and prove which commands consume them. Measure cold and warm wall time, bytes transferred, and actual compiler hits. Disable layers with no demonstrated net benefit; do not enable all setup-soldr features merely because they exist. Preserve the toolchain-cache safeguards for lanes that add targets mid-job. Latest evidence: ci: stop transporting unused embedded Rust compiler caches #1372 disabled embedded transport in all seven callsites; ci: reclaim retention for disabled compiler-store archives #1380 retired its family and the actual janitor reclaimed 183,330,575 bytes. ci: reuse Qt compiler snapshots across unchanged build inputs #1374 verified exact Qt reuse without duplicate publication. ci: prevent mixed Ubuntu compiler snapshots from blocking cache seeds #1371's compatible OFF producer/consumer pair now passed in full runs 39089156757 and 39090099191: OFF 0/345 → 208/345 cacheable hits, build 630 → 359 s on the same source revision (different runners). ci: skip redundant Ubuntu snapshot saves after exact cache hits #1381 merged the exact-hit Ubuntu save guard after observing 14/11 s of redundant compression. Remaining: 137 unexplained OFF misses, cumulative Flatpak counter accounting, and durable allocation; the janitor actually evicted the 795,699,586-byte ON seed at 02:37 because its pooled family was over capacity. Detailed evidence is in docs(ci): verify Ubuntu reuse, cache retirement and freshness limits #1382; this item remains unchecked.
  • Give touched-plugin builds a working cache warming path. targets-ccache-linux-* is restored in the scoped PR lane but has no corresponding writer in this repository. Seed a compatible cache on trusted master runs, or remove the ineffective restore. Verify a subsequent PR actually gets compiler hits and improves total runtime. Verified through merged ci: seed touched-plugin compiler caches on master #1313/fix(ci): warm caches for every commit in a master push #1322/ci: retain warming scope across coalesced master pushes #1328/ci: preserve skipped warming paths during catch-up rollout #1330/ci: reuse apt downloads in scoped Linux plugin builds #1335/ci: bound host apt snapshots and rotate their image namespace #1339 and warm PR run 39068106135, job 117500138917: trusted compiler/host-apt archives were restored, all 41 cacheable compilations hit, all 323 packages were available, and apt reported zero download bytes. Host cold/warm pair on image 20261012.163.1: target 57→39 s, full job 165→148 s; tracked compiler-input fingerprints match the seed. Initial compiler-only warming was slower overall (169 s), so the apt overhead was addressed rather than treating an archive HIT as success. These are individual observations; representative-day queue impact remains under the final checklist item. Raw evidence is in ci: publish cache audit evidence and verify warm plugin reuse #1331.
  • Repair Tier 2 timing generation and persistence. Trace CTestCostData.txt through the container, .tier2-cost, artifact upload/download, and Actions cache. Diagnose missing files and hidden-file handling instead of assuming either cause. Verify a master run produces nonempty per-mode timing data and a later run consumes it. Report missing timing data visibly instead of silently saving an empty cache. Verified in merged ci: repair Tier 2 timing artifacts and reject empty caches #1288/fix(ci): consume single-artifact Tier 2 timings correctly #1311: master run 39059448618 produced 282 measured records per mode and saved a 5,920-byte cache. Later master run 39060831338, CTest job 117480136039, restored the newer nonempty tier2-ctest-cost-438659b4... cache and passed all 286 current tests in each mode. Producer/merge validation, persistence, and later CTest consumption are now observed.
  • Align merge-group cache saves with the repository policy. setup-soldr save-cache: auto permits merge-group uploads, while comments imply master-only writes and the janitor may evict off-master entries. Measure reuse versus churn, choose an explicit remote save policy, and align workflow inputs, ci.toml, documentation, and regression coverage. Retain local development cache saves. Verified in merged ci: save remote soldr caches only from master #1291: all seven callsites use the remote-only master policy; cold PR run 39059545021 skipped the new cook save, queue run 39058724917 passed save-cache-remote: false, and master run 39055270338 passed true and saved build/registry misses. Local saves remain enabled. Full-day traffic/churn comparison remains under the final measurement item.
  • Fix Qt cache sizing and retention. Reconcile the ~1.11 GB live entries with the declared 300 MB family maximum. Measure hit value and restore/save costs, then enforce a realistic bound or reduce stored content. Preserve a useful warm master entry and verify repository-wide cache budget headroom. Verified in merged ci: bound Qt compiler cache and report actual hit rates #1309 and master run 39059448618, job 117475403072: 284/297 cacheable hits (95.62%), 13 misses; reported 1.2/1.2 GB, 1,166,241,226-byte saved archive, 9 s restore / 82 s build+Qt tests / 6 s save. Family allowance is 1.3 GB with a 1.2 GB compiler-cache bound. Live inventory at verification: 50 entries / 8,065,425,958 bytes against the 10 GB budget, before old grace-window generations expire. Full-nightly occupancy remains part of the broader final traffic audit.
  • Unify scheduled cleanup with janitor retention. Replace or reconcile the independent broad compiler-cache purge in scheduled.yaml with ci.toml policy, preserving useful newest master caches and the grace window. Diagnose the observed scheduled startup_failure separately; do not attribute it to the cleanup script without evidence. Continue the related work in ci: run cache janitor on trusted queue without delaying CI #1269 without duplicating an active claim. Verified in merged ci: preserve nightly caches and fix scheduled workflow startup #1289 and full dispatch 39064183327: the independent purge is absent and every scheduled job started, resolving the caller-permission startup failure. Native app builds and all CodeQL scans passed. The overall run failed a newly added macOS ingest-refresh timing assertion, tracked separately in fix: diagnose macOS ingest-refresh wait timing failure in nightly Tier 2 #1334 (proposed fix test: ingest refresh wait bounds compare against the timeout (flaky on macOS) #1338); full-workflow success is not claimed.
  • Publish isolated C libobs before/after benchmarks. Use identical hardware, compiler, configuration, targets, parallelism, and cache conditions for the pre-unity baseline and current explicit unity/PCH groups. Record wall and CPU time for cold builds and warm compiler-cache rebuilds, repetitions and variance, and per-target PCH behavior. Keep these distinct from full-app and Tier 2 timings; update BUILD.md with reproducible commands and scoped results. Published in merged ci: measure isolated libobs unity and PCH build gains #1306: three trials per condition, raw JSON/cache counters, environment and reproduction commands. Uncached median wall 9.749 → 9.407 s (overlapping ranges), CPU 63.482 → 46.620 s; warm ccache wall 1.543 → 1.435 s with all cacheable calls hitting. Revisions include intervening changes, so this is not a unity-only causal claim.
  • Shorten the queue critical path beyond compiler caching. Under meta: Faster CI: code-PR queue runs under 8 minutes #930, measure Fast Gate → Tier 2 build → OFF/ON tests, identify slow/serial tests and shard balance, and evaluate safe concurrency of independent work. The observed OFF and ON test executions each took ~254 s despite almost perfect compiler-cache hits. Preserve both implementations' coverage and counts; publish queue-time impact and runner-cost tradeoffs. Verified in merged ci: run complete Tier 2 OFF and ON suites concurrently #1314/ci: isolate deinterlace timing test without relaxing assertions #1343/ci: overlap Tier 2 compilation while preserving Fast Gate test admission #1351 and the product-code queue run 39076470088: Fast Gate (209 s) ran entirely inside the Tier 2 build (395 s), so observed overlap was 209 s. OFF/ON each registered 293 tests with zero failures; CTest 316.03/316.71 s, concurrent job phase 390 s / 772 runner-seconds. Required gate completed 843 s after run creation; all non-skipped jobs consumed 1,499 runner-seconds. Slow deinterlace coverage remains intact and runs serially within each mode. Published raw timing/cost evidence is in merged docs(ci): publish code-queue timings and queue-only artifact option #1364 (docs/ci-evidence/2026-10-17-code-queue-critical-path.json). The older 954-second median is unmatched; no causal end-to-end speedup or full-day validation is claimed. Representative-day effects remain under the final checklist item.
  • Make the improvement measurable and durable. Publish per-lane setup/restore/save/build/test time, cache bytes, compiler hit/miss counts, queue gate wall time, and canceled runner-minutes. Compare representative code PRs and merge groups separately from docs-only runs over at least a day of traffic; report sample sizes and unmatched comparisons. Verify the useful Linux/Windows compiler, apt, and prebuilt dependency caches remain effective after changes.

Latest verification — 2026-10-18

Additional completed verification — 02:43 UTC

  • Full producer 39089156757 and same-revision consumer 39090099191 both passed all seven native app builds and remaining checks. Producer Linux OFF/ON: 296 tests each, zero failures, 314.80/304.42 s. Separate post-retirement master 39088999741 also passed with 785/786 native compiler hits and 296 tests per mode.
  • Native C rapid-edit diagnostic now corroborates existing zccache#1935: normal same-size source edit with naturally changed mtime, cached executable returns 7 versus fresh 8. Isolated private daemon and unwrapped GCC control; not proof of wrong output in the GitHub runs, and not attributed as the cause of OFF misses. The settling control is diagnostic only, not a sleep workaround. Existing Rust safeguards remain.
  • docs(ci): verify Ubuntu reuse, cache retirement and freshness limits #1382 consolidates the completed producer/consumer, reclamation, retention and freshness evidence. No representative full post-rollout day has elapsed, and no queue-only writer architecture is deployed.

Acceptance criteria

  • Every checklist item has linked implementation and measurements, or a documented unresolved blocker and follow-up issue before this issue closes.
  • Behavioral fixes include focused RED → GREEN evidence; CI/configuration fixes may record local RED and push separate RED/GREEN commits together under the repository policy. Measurement-only and documentation-only changes do not need artificial failing tests.
  • Improvements preserve required CI checks, Tier 2 OFF/ON coverage, and the Rust-cache correctness safeguard until its blocker is demonstrably fixed.
  • No new GitHub Actions workflow file is introduced without explicit user authorization.

Decisions

Related issues

#1269: janitor incident and cache policy follow-ups. #930: merge-queue runtime target. #782: Windows/macOS compiler caches and PCH. #525: prebuilt dependency caching.

Activity

  1. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Claiming: implement the cache reuse and measurement checklist in this checkout, without worktrees. Plan: (1) repair timing persistence and reconcile cleanup/save policy, (2) measure and tune setup-soldr and touched-target/Qt caches, (3) reproduce the Rust cache correctness blocker and publish isolated libobs benchmarks, (4) reduce the measured queue critical path and collect before/after traffic evidence. Existing PCH replay PR #1265 will be respected rather than duplicated. First focused PR expected today.

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

    @zackees
    MemberAuthor

    Progress, 2026-10-17:

    No checklist item is marked complete solely because a PR exists. Master timing upload/consumption, scheduled startup, cache hit/size measurements, and day-of-traffic evidence remain required.

  4. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Live verification update: master run 39056485478 now produces the timing artifact (7,688 bytes, both OFF/ON files). The aggregation exposed a second bug: pinned download-artifact v8 flattens exactly one matched artifact into its destination, while the shell expected artifact-name subdirectories. The validator correctly rejected the missing merged files rather than saving another empty cache.

    Follow-up #1311 accepts both flat and nested layouts. Its regression executes the actual workflow shell against both layouts: local RED reproduces the flat-layout failure; GREEN passes all 12 timing tests plus both stdlib policy tests. The PR merges cleanly; Pull run 39058271058 is queued. The timing checklist remains open until a master save and subsequent restore are verified.

    #1308 (traffic baseline and durable metrics) and #1309 (Qt sizing, bound and hit counters) are queued through the normal merge queue. Cache-profile benchmarking remains live; no configuration selection is based on an unfinished experiment.

  5. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Implementing maintainer policy: compilation and integrity checks belong on the merge queue; CodeQL/security analysis and release validation belong in nightly workflows. Replacing GitHub automatic CodeQL setup with jobs in the existing Scheduled workflow; no new workflow files.

  6. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Progress: #1317 cook-profile measurements and #1325 plugin experiment are merged. Live validation exposed a coalescing gap: the pending plugin seed push d512b28 was replaced by report-only c814d89, whose event.before scope omits the plugin. #1328 fixes master catch-up scope against the latest successful ancestor Push run (37 local tests pass; actual API/scope selects linux-v4l2). Do not consider the plugin cache checkbox verified until a trusted seed and a subsequent PR show compiler hits and timing benefit. Per maintainer direction, automatic GitHub CodeQL setup is now disabled; #1327 moves scans to the existing nightly workflow and records the admission policy. Both legacy automatic runs are confirmed canceled. Nightly verification will follow these queue changes.

  7. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Additional verified rollout: master 39061960882 completed successfully. Tier 2 compiler reuse 774/775 with 53 s build step; Qt 295/297 with 55 s build/test step. Parallel OFF/ON both passed 286 tests, phase 327 s wall and 642 runner-seconds. This is configuration/master evidence, not a substitute for the required representative-day comparison. Policy audit also found PR-triggered AppImage packaging: #1329 removes it from PR admission while retaining existing nightly/release packaged-app tests and publishing safeguards.

  8. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Live nightly verification started: https://github.com/obs-rust/obs-studio/actions/runs/39064183327 at merged master 713ceb3. Full build matrix and all four nightly CodeQL jobs started, so the previous startup_failure is resolved in a real dispatch. Full-run/platform/cache results remain pending. Correction to earlier shorthand test totals: master 39061960882 registered 286 tests per mode, with 283 passed, 3 PulseAudio device tests skipped and zero failures; the report now records skipped cases explicitly and profiles eight serial tests consuming about two-thirds of CTest wall time.

  9. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Nightly validation found an unrelated new integrity failure: macOS Tier 2 job 117489296507 in run 39064183327 fails test_ingest_refresh_wait / failed_refresh_ends_wait at its ms<150 assertion (introduced by #1326/#1284). Filed researched follow-up #1334 with the exact failure and diagnostic acceptance criteria; no compiler-cache cause is established and no existing C test was changed or speculative retry performed. Full nightly success is therefore not claimed. The other jobs remain in progress. Trusted plugin master seed is confirmed and PR #1331 is executing the warm scoped target build.

  10. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Report #1331 and macOS fixture fix #1338 both merged through the normal queue at 2026-10-17 21:08:22 UTC. Queue validation 39068741053 completed successfully with both Linux OFF/ON suites; no check bypass was used. The executive report and raw cache evidence are now on master at docs/ci-cache-audit-2026-10-17.md. Post-merge run 39069670404 is queued; actual macOS validation is still required before resolving #1334. Remaining acceptance work includes live full-Ubuntu cache reuse after #1337 and at least a full representative post-rollout day; no full-day speedup is claimed.

  11. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Post-merge cache snapshot at approximately 2026-10-17 21:10 UTC: listing 43 entries / 8,377,490,524 bytes, leaving 2,359,927,716 bytes below the configured 10 GiB budget. Usage endpoint independently reported 8,377,493,786 bytes (46 entries; endpoint timing differs). Useful targets-ccache (25,758,684 B), targets-apt (147,542,391 B), Tier 2 compiler (475,427,223 B), Qt (1,174,962,106 B), and Linux dev cook (621,978,240 B) remain. Prior full-Ubuntu cache entries are absent, so a future cold full-app run cannot prove warm reuse; validate a subsequent consumer of its seed. This is a timestamped observation, not proof of stable day-long retention. Raw API snapshots retained inside build_ci_audit/cache-{inventory,usage}-2026-10-17T2110Z.json.

  12. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Confirmed retention cause from earlier logs: merge-group run 39065741640, janitor job 117492903995, at 2026-10-17 20:12:49 UTC deleted Ubuntu ON cache id 9099821821 (711,970,692 B): lru: family zccache over its 1782579200B footprint. It also deleted Windows x64 app cache id 9099797398 (1,083,740,873 B) under the windows-ccache 838,860,800 B footprint. This proves a family-retention constraint for these entries, distinct from the removed pre-build Ubuntu purge. OFF disappearance is not yet attributed. Raw log: build_ci_audit/janitor-job-117492903995.log. Any retention adjustment must preserve queue-critical cache warmth and the overall budget; simply increasing every nightly family is not justified.

  13. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Capacity analysis: summing current declared family footprints (per-shape sums; 3 platform cardinality for platform families) yields approximately 16,951,069,900 B versus the 10,737,418,240 B repository budget. This is declared capacity, not live usage. It explains why simply increasing Ubuntu/Windows shared allowances cannot establish durable retention. Largest declarations: Flatpak 2,684,354,560 B; cooked deps 2,604,243,353 B; zccache 1,782,579,200 B; Qt 1,395,864,371 B. Further policy changes require a whole-budget allocation using actual producer sizes and demonstrated reuse, with queue-critical caches prioritized. Pinned janitor classification source was inspected; specific-family ordering must be verified before splitting overlapping prefixes.

  14. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Additional post-rollout warm observation on master 92605bf, run 39069670404 / Fast Gate job 117504557515: touched-target step 21:11:11→21:11:44 UTC (33 s), 44/44 cacheable compilations hit, zero misses; apt reports 0 B/147 MB and 0 B/773 kB. Package producer guard passed at 142 MiB and both trusted target caches saved successfully. This master selection includes more than the single-target PR pair and is not a matched whole-job speed comparison. Raw logs and job metadata retained in build_ci_audit/plugin-master-92605-warm{.log,-job.json}. Platform/Tier 2 validation still running.

  15. zackees commented on Oct 17, 2026

    @zackees
    MemberAuthor

    Queue-produced deep-cache investigation (user steering): native Actions cache saves are branch-scoped, so a temporary merge-group cache is not a generally readable PR seed. Recommended prototype: queue builds/tests and emits a bounded payload; an existing master-push workflow verifies the successful queue SHA/tree and promotes that payload under default-branch cache scope, without recompilation. All ordinary jobs can use enforced cache-mode: read; publisher is the write exception. No policy change has been made yet.

    New source/log evidence: pinned setup-soldr already performs post-consumer soldr save with profile=full (native macOS run 39063249804, job 117487791065, 291,602,979-byte inner archive / 8,238 files). Local 187,723,562-byte dev archive has workspace obs-util test fingerprints, compiled artifacts and 2,303 incremental entries; deep state is already present. The pinned action defaults cook-delta=false, uses immutable Cargo.lock/profile base keys, and skips a warm layered save when SaveLayer=none. Investigate generation refresh and actual consumption before adding a second target archive.

    Tier 2 already has a 177,234,558-byte execution-tree artifact from run 39069670404. It excludes objects/static archives/Cargo state and supports same-input binary reuse, not changed-source incremental compilation. Tests must continue executing. A changed-source prototype must demonstrate recompilation and current diagnostics with the Rust wrapper bypass retained. Compare transfer/save cost and total consumer runtime against current full post-job snapshots; do not count archive hits as build reuse.

  16. 31 remaining items

  17. zackees commented on Oct 18, 2026

    @zackees
    MemberAuthor

    Claiming: add bounded native cache journal evidence to the existing full Ubuntu lane for the unexplained 137 OFF misses. Existing completed logs expose only aggregate counters. Plan: RED tests for private workspace cache/session setup and sanitized per-unit summaries; use the pinned installed zccache journal capability; upload only sanitized summaries from existing nightly/manual Ubuntu jobs; keep diagnostics non-blocking and preserve compiler/test failures. No new workflow, extra queue lane, cache writer policy, or full dispatch. Next natural full run supplies the missing diagnostic evidence.

  18. zackees commented on Oct 18, 2026

    @zackees
    MemberAuthor

    Native miss-diagnostic implementation is now in #1386, with automatic merge enabled. It uses the existing full Ubuntu lane, a workspace-owned cache/IPC endpoint, and only bounded sanitized summary artifacts (two-day retention). Compiler/test failure behavior and cache writer policy are unchanged. All 672 local CI self-tests passed; actual pinned zccache/GCC validation proved miss/hit capture, stop/flush readability, synthetic argument exclusion and two hits after restarting a session over the same cache. No additional full dispatch; first hosted capture remains for the next natural full run.

  19. zackees commented on Oct 18, 2026

    @zackees
    MemberAuthor

    #1386 merged at 2026-10-18T03:20:58Z after successful queue run 39093161549.

    Implementation is landed; first hosted Ubuntu journal capture remains unverified until the next natural full run. No new full dispatch was made. Qualification so far is 672 local CI self-tests, actual pinned-binary miss/hit capture and stop/flush, no synthetic argument value in the sanitized summary, cross-session reuse, and two hits when moving an ordinary cache seed to the new job-local endpoint. See the PR for the fixture setup correction and raw proof locations.

    The last full-lane instrumentation change now landed at 03:20:58 UTC. A complete post-rollout 24-hour window cannot finish before 2026-10-19T03:20:58Z, assuming no later relevant changes. Actual code cohorts/retention/runtime data remain required; the clock alone does not complete acceptance.

    Remaining external/decision dependencies are unchanged: upstream compiler freshness, existing #1283 claim/takeover decision blocking #1362, and global allocation policy under #1269. The 137 OFF misses now have a diagnostic collection path, but no root cause is claimed from aggregate logs. Windows PCH qualification remains separately tracked in #782. No relaxed checking, queue-only publisher, test skip, or new workflow file was introduced.

  20. removed
    claimed
    on Oct 20, 2026
  21. zackees commented on Oct 21, 2026

    @zackees
    MemberAuthor

    The previously unverified hosted Ubuntu journal capture is now observed in #1269's full validation run 39691274808, source f1783cf.

    • Ubuntu app job 119537886586 passed, as did its build-step journal outcome.
    • Artifact native-cache-ubuntu-ON-39691274808 (ID 12388443685) downloads and parses: schema 1, status ok, zero malformed lines, record/byte limits not reached. Its sanitized records report 160 hits and 193 misses. These journal counters have their own scope.
    • The separate compiler summary reports 353 total calls: 160 cached, 177 cold, 16 noncacheable. Do not relabel all 193 journal misses as cold compilations.
    • A new compatible Ubuntu ON archive was published on master: 905,383,834 bytes, ID 9309124360. This is producer evidence, not proof of a subsequent warm consumer or stable retention.
    • Current master has an ON-only full Ubuntu app matrix; Tier 2 still independently runs C-reference OFF and hybrid ON. The old two-app-mode historical capacity example must not be treated as the current production matrix.

    The overall full run failed release cross-lint (missing target ARM64 gio-2.0 metadata, also reproduced locally) and a macOS native-build fixture already corrected in the pending #1669 head. These failures are recorded under #1395; this comment does not claim a full-green run or a speedup. The bounded sanitized artifact is being preserved with the #1269 evidence report before its two-day artifact retention expires.

  22. zackees commented on Oct 22, 2026

    @zackees
    MemberAuthor

    Next-batch implementation under #1694: #1706 merged through the normal queue at 2026-10-22T03:32:45Z (e001d38).

    Current attribution and decision:

    • Controlled local no-run build: 41.48 s after lint. Subsequent Cargo test command: 96.34 s, only 0.29 s reported build work; execution/teardown across the eight categories dominated that warm command.
    • Same compiled workspace through pinned nextest plus separate Cargo doctests: 64.89 s. Verified all 2,019 passing cases, same one ignored case and four doctests. Eight test executables retained; no assertions, C tests or public headers changed.
    • Link diagnostic: 35 calls, 2.17 s summed wall, max 0.21 s. Diagnostic linker identity induced a rebuild, so its outer duration is not an A/B improvement. Reject a linker-setting change for this batch: no demonstrated substantial benefit.
    • Retain conditional dependency cooking. ci: publish measured post-job cook profile tradeoffs #1317 already provides three controlled post-consumer snapshot trials per policy/scenario: unchanged medians release 57.259 / dev 36.170 / none 72.136 s; core rebuild release 67.869 / dev 82.736 / none 78.291 s, overlapping ranges. Those scoped local results support retaining the documented conditional policy, not universally switching to dev or disabling cooking. The new evidence does not justify replacing it.
    • Retain wrapper bypass, source-freshness probe and trust fingerprints. The runner installer/config are included in scope and proof inputs.

    Hosted PR run 39716279328 passed 2,020 cases plus the same one skip and four doctests on its current source. Its nextest execution span was 72.242 s, not the complete setup+Rust-command time; do not compare that directly to the local Cargo total as a causal CI speedup. Final matched post-rollout day/cost attribution remains under #1694. Evidence: docs/ci-speed-2026-10-22.md and docs/ci-evidence/2026-10-22-rust-runner-experiment.json on master.

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

    Rust execution adopted in #1706: same8category binaries, globally scheduled nextest with separate Cargo doctests and no retries/filter loss. One controlled local warm command96.34→64.89s (32.6%shorter), with exact case identity verified. Link diagnostic35calls summed2.17s, so no linker change justified; conditional dependency cooking retained using the existing profile experiment.

    The actual hosted after FastGate workload is broader than before; no causal compiler-speed claim is made from builder249→96s. Matched Linux PR median gate fell19.7%, while queue rose6.6%; runner-cost medians fell6.9%/9.9%. Preserve this issue for its broader cache/compile backlog.

  24. added
    P3
    size:L
    on Oct 25, 2026
  25. zackees commented on Oct 25, 2026

    @zackees
    MemberAuthor

    /ready

    Triage: a checklist with acceptance criteria. 8 of 11 items are verified with linked PRs and measurements, and the final report (#1754, docs/ci-speed-2026-10-22.md) says to keep it open for the rest. Left: matching setup-soldr cook profiles to their consumers, removing unused cache layers (137 unexplained OFF misses, Flatpak counters, durable allocation), and the full-day durable measurement. Each can be its own PR. P3, size:L.

  26. added
    ready
    on Oct 25, 2026
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

    P3readysize:L

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions