Repository navigation
ci: isolate Tier 2 serial tests across verified balanced shards - #1583
Merged
Merged
Conversation
This was referenced Oct 21, 2026
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.
Tier 2 testing takes roughly 306–332 seconds per implementation despite a 66–96 second build step. Several long tests require RUN_SERIAL, so additional CTest parallelism cannot overlap them within one environment. Partition each OFF/ON suite into two duration-balanced shards on separate runners using the existing build-once artifact and planner. Keep RUN_SERIAL, all C assertions, the Fast Gate dependency and the required lane proof.
Before each filtered run, compare all shard plans against that runner's actual CTest JSON registry. Fail on omissions, duplicates, empty/missing plans, unknown tests and unsupported regex syntax; never silently fall back to striped scheduling. Timing artifacts have unique mode/shard identities and merge on master through the existing implementation. The new verifier lives in the validation directory so scope selection and proof invalidation cover its changes.
This is an experiment: four test runners replace two, increasing setup and potentially runner-minutes. Adopt/reject based on live suite times, coverage, runner cost and representative-day data. No measured speedup claimed yet; Refs #1581, not a closure of the full batch.
Validation:
080420b4b: focused shard/fanout/cost tests failed (9 failures) before the implementation.f5108758b: 36 focused tests pass, including actual CTest registry/filter partitioning, unchanged RUN_SERIAL metadata, invalid shard rejection, complete coverage, omissions, overlaps, missing and empty plans, timing merge, failure/cancellation/attestation gating.bash -nandgit diff --checkpass../lint --fixpassed (36.0 s); after relocating the helper into the validation directory, tool-guard, uv-run and stdlib-only checks also pass.Baseline: https://github.com/obs-rust/obs-studio/actions/runs/39521142237 (11m36s required gate; 341 registered tests/mode; ON CTest 331.24 s).