Skip to content

ci: unshard Linux Tier 2 and run one complete suite per backend - #1663

Merged
zackees merged 2 commits into
masterfrom
infra/tier2-unshard
Oct 21, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/tier2-unshard

Conversation

@zackees

@zackees zackees commented Oct 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Fixes #1662. Refs #1643, #1581.

User requested unsharding after the concurrency optimization merged. Run one complete Linux Tier 2 suite per backend: two test jobs instead of four, sharing the existing native build artifact.

  • Remove the shard matrix axis and both CI shard-plan/filter environment settings; each mode runs the entire CTest registry.
  • Keep OFF and ON, fail-fast: false, Fast Gate/build dependencies, eight concurrent binaries within each suite, deinterlace RUN_SERIAL, LP_NUM_THREADS=1, private XSHM and skip/failure policy.
  • Publish one uniquely named timing artifact per mode. Existing collection/merge validation and lane-proof aggregation remain intact.
  • Retain optional local sharding tools. Update current tooling documentation; the historical perf(test): remove nine serial barriers and fix output deactivation race #1643 audit remains historical. No new workflows, native test bodies, Rust source or public headers changed.

This halves test-job setup and artifact-download duplication. A full suite can take longer than one shard; no claim of shorter whole-gate time is made. The representative-day study stays under #1581.

RED → GREEN

  • 499ec7ee8 RED: the configuration contract rejects the old shard matrix (one test fails).
  • 6e6e62bfa GREEN: mode-only matrix, unfiltered suites and mode-only artifact names. 40 fanout/timing/shard/isolation/environment tests pass, plus 8 workflow duplicate-key/schedule tests.
  • One primary local clud-review: clean; 9 focused fanout tests passed independently.

Full unsharded native validation on base 700aaa8b0 passed using the existing bounded Linux harness:

Backend Registered Failures Expected skips CTest time
C reference (OFF) 352 0 3 171.06 s
Hybrid (ON) 352 0 3 165.77 s

Command: OBS_EXTRA_CMAKE_ARGS='-DCMAKE_C_COMPILER_LAUNCHER= -DCMAKE_CXX_COMPILER_LAUNCHER=' OBS_CTEST_JOBS=8 rust/tools/linux-validate/run.sh.

The first normal build failed through the compiler launcher with missing-source/dependency-path errors. A single rebuild with C/C++ launchers disabled succeeded, with identical 1,766 exported symbols and 68 ported C implementations excluded. No runtime test was retried or weakened. Compiler caching changes were local validation options only; this PR changes no harness/compiler flags. Both complete suites retain the same three unavailable PulseAudio skips.

Per the existing path-scope policy, workflow/ci/docs-only changes run CI/self-tests on PRs; Tier 2 runtime jobs run on relevant source changes and master. No labels or scope changes force extra jobs. PR CI and merge-group CI remain mandatory before normal queue landing.

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.

perf(ci): run one complete Tier 2 suite per backend

1 participant