Repository navigation
perf(ci): rebalance Tier 2 Linux shards and trim the build checkout - #3023
Merged
Merged
Conversation
… shards (#3021) The suite ran ~1000 test-seconds at -j8 (ctest 123-128 s) while the serial shards finished their RUN_SERIAL deinterlace entries in 47 and 71 s. serial-2 now also runs the four 31-40 s tests, serial-1 the two 23-26 s ones; the suite excludes them. test_slideshow_mem_cap (102 s) stays in the suite, where it runs beside other tests. Refs #3021
…d job (#3022) The checkout fetched every branch's full history (7 s) and all submodules recursively with history (3 s), including the Windows-only libdshowcapture. Keep fetch-depth 0 for the version tags but fetch no old trees (filter: tree:0); validate.sh initializes obs-browser and obs-websocket at --depth 1. Refs #3022
zackees
commented
Oct 30, 2026
zackees
left a comment
Member
Author
There was a problem hiding this comment.
Coordinator review: LGTM.
- RED → GREEN for both parts (
ci/test_tier2_serial_part.py,ci/test_tier2_native.py). - The partition is pinned: every test runs exactly once per mode, the shard count must match the matrix, companion names are unique, and
test_slideshow_mem_capstays in the suite. The regex is anchored andre.escaped, so a companion name cannot pull in a similarly named test. - A missing companion name is skipped instead of failing, which is right while tests get renamed or removed. A later check that warns on stale names would keep the file honest.
- The treeless checkout keeps
fetch-depth: 0, sogit describeand the version string are unchanged;validate.shalready inits the two submodules configure needs. - Side benefit: three of the companions (
test_vlc_playlist_gap,test_audio_clock_drift,test_vlc_audio_pacing) are among the real-time audio tests that flake under load (#838). Moving them off the-j8suite onto the quieter serial runners should help. Please watch whether their flake rate changes.
Queue on green.
Member
Author
|
PR run 41021230867 (rerun after my watcher cancelled attempt 1), vs merge-queue baseline 41006754325 / 41016256643:
#3021: longest Tier 2 test job -18 to -33 s, no new runners. #3022: -2 to -4 s (Install Git 17 s, unchanged as expected). |
This was referenced Oct 30, 2026
3 of 4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #3021, Refs #3022 (part of #2072). CI/config only; no C tests or public headers touched. Documentation-free, not user-visible (no features.md line). No Rust tests added.
#3021 shard rebalance
Baseline (run 41006754325): suite ctest ON 127.8 s / OFF 123.2 s for ~1000 test-seconds at -j8; serial-1 71 s, serial-2 47 s.
test_slideshow_mem_cap(102 s) floors the suite and stays there (on a serial runner it would run after the RUN_SERIAL tests: 47+102 s).Change:
rust/tools/linux-validate/serial-companions.jsongives serial-2test_pipewire_screencast_resume,test_vlc_audio_pacing,test_inhibit_sleep_dbus,test_vlc_playlist_gap(31-40 s) and serial-1test_audio_clock_drift,test_stinger_media_duration(23-26 s).serial-tests.py --companionsadds them to the shard's-Rand to the suite's-E; ctest still runs RUN_SERIAL tests alone. Expected: suite ~105 s, serial-1 ~97 s, serial-2 ~87 s ctest, no new runners.ci/test_tier2_serial_part.py2 failures, 2 errors (no--companions, no companions file). GREEN 07292f5: 23 tests OK (with test_tier2_shard_plan.py). Pins: every test runs exactly once per mode, shard count matches the matrix, slideshow stays in the suite.#3022 build checkout
Baseline: checkout 9-11 s (7 s full fetch of all branches, 3 s recursive submodules with history incl. Windows-only libdshowcapture). Change:
filter: tree:0, nosubmodules(keepsfetch-depth: 0, sogit describeand the version are unchanged;validate.shalready inits obs-browser/obs-websocket at--depth 1). Not cut: Install Git (git/curl/zstd are in apt-packages.txt anyway; local 5.6 s download + 13 s unpack, dpkg unsafe-io no change), soldr, apt/zccache overlap.ci/test_tier2_native.py1 failure. GREEN 809fdb9: 16 tests OK../lint: only the known environment failure inci/test_check_changes.py(git: command not found).After numbers: to follow from this PR's run.