Skip to content

ci: Tier 2 Linux runs OFF and ON as parallel jobs - #956

Merged
zackees merged 2 commits into
masterfrom
ci/tier2-split-modes
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/tier2-split-modes

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes #951. Part of #930, a step toward #937.

RED 9304c32: ci/test_tier2_split.py, 7 of 8 fail.
GREEN 7a7478b: 8/8 pass, and the ci/ suite is green (347 tests).

  • rust-linux-tier2 → matrix mode: [OFF, ON], fail-fast: false. Each job runs OBS_TIER2_MODES=<mode>, keeps its own ccache key (tier2-ccache-linux-<mode>-<sha>, falling back to the old shared key), and uploads tier2-exports-<mode>.
  • rust-linux-tier2-exports (needs both) diffs exports-OFF.txt against exports-ON.txt, the same enforced check as before, and publishes the tier2-linux lane proof.
  • validate.sh: OBS_TIER2_MODES (default OFF ON, so the local gate is unchanged), the ON/Debug staticlib check runs when ON is in the set, and exports are copied to /exports when mounted. run.sh passes OBS_TIER2_MODES and mounts OBS_TIER2_EXPORTS_DIR.

Local check: an ON-only lane run built and tested only ON (no OFF configure). Two real-time timing tests failed (test_deinterlace_2x_field_order, test_media_gif_last_frame, #938) with the host load average at about 180 from other sessions. This PR's CI is the clean-runner check.

Expected: Tier 2 wall time from about 13 min to about 6–7 min.

Fails: rust-linux-tier2 is one job running both modes, there is no
exports job, and validate.sh ignores OBS_TIER2_MODES.
The one Tier 2 Linux job built and tested ENABLE_RUST_LIBOBS=OFF, then
=ON: 12.9 min, about 9.4 of it two back-to-back ctest runs.
rust-linux-tier2 is now a mode matrix with a ccache per mode, each job
uploading its libobs exports; rust-linux-tier2-exports compares them and
publishes the lane proof once both pass. validate.sh honours
OBS_TIER2_MODES and OBS_TIER2_EXPORTS_DIR; the local gate still runs
both modes and compares them itself.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

ci: Tier 2 Linux runs OFF and ON as parallel jobs (A2 of #930)

1 participant