Skip to content

ci: overlap the serial tail of Rust Tier 2 (macos-26) to shorten the merge-queue floor #5282

Open

Description

@zackees

Refs #5251, #5264, #5249

Evidence (merge_group runs 16:44-20:16Z, 2026-11-19, 13 runs)

  • "Rust Tier 2 (macos-26)" is the last job to finish in 8 of 13 runs. Median 1163 s, range 879-1222 s.
  • When the Dell takes the Linux jobs (and none queue), runs finish in about 22 min, equal to this job: run 44595214632 took 1178 s and run 44600426368 took 1132 s.
  • Step breakdown, job 135830424089 (run 44600426368), one step of 1132 s:
    • configure 160 s
    • native build 497 s
    • ctest [OFF] 72 s
    • ctest [ON] plus cargo 262 s
    • cargo [obs-c-reference] suite 63 s
    • cargo [obs] suite 61 s
  • After the 664 s build, everything runs in series. The OFF (C reference) and ON (hybrid) halves are independent.

Proposal

Overlap the post-build work:

  1. Option A: run the [OFF] ctest and the [ON] ctest in parallel on the same runner. They load different frameworks from build_rust/libobs-c-reference and build_rust/libobs.
  2. Option B: run the cargo [obs-c-reference] and cargo [obs] suites in parallel, together with the ctest halves.
  3. Option C: build once, upload the build tree, and run OFF and ON on two macOS jobs. This costs one extra macOS runner acquisition (hosted macos-26 job waits reached 1540 s in run 44582437241), so try A and B first.

Expected gain

About 120-190 s on every Dell-routed merge-queue run, and about the same on hosted runs. No test or assertion is dropped.

Acceptance

  • The same 725 ctest cases pass in both variants.
  • Job duration p50 for "Rust Tier 2 (macos-26)" falls under 1000 s.
  • No new macOS runner demand, unless Option C is chosen.

Related: #5009, which removes the macOS build itself, about 660 s; overlapping the test tail is independent of it and complements it.

Activity

  1. added
    ready
    ci
    on Nov 19, 2026
  2. zackees commented on Nov 19, 2026

    @zackees
    MemberAuthor

    Claiming: overlap the macOS Tier 2 serial tail in pool slot obs-studio5. 1. Audit build, Cargo, fixture and runtime isolation. 2. Add concurrent execution on the same runner with all-child failure propagation and local RED/GREEN self-tests. 3. Run lint and publish a ready PR today, keeping the runner reusable by #5009.

  3. zackees commented on Nov 20, 2026

    @zackees
    MemberAuthor

    #5292 merged: the macOS Tier 2 Cargo preparation (about 216 s) now overlaps the CMake CTest passes, and each phase has its own ctest and loader log paths. That also fixes the latent probe | grep -q pipefail race in the load-proof check. The next E640 check will measure the new macOS Tier 2 wall clock (the baseline is about 1,034 s for the validate step). This issue stays open until that's confirmed; #5009 (run-only, after soldr v0.9.54) is the larger follow-up.

  4. moved this from In progress to Ready in obs-rust Multiviewon Nov 21, 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

    ciready

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions