Skip to content

ci: start slow client test groups before the bulk queue - #4906

Merged
zackees merged 2 commits into
masterfrom
infra/4896-client-gate-speed
Dec 4, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/4896-client-gate-speed

Conversation

@zackees

@zackees zackees commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Refs #4896

Client nextest queues native compilation contracts and pipe stress tests after most short tests, leaving a long tail. Give those groups positive scheduling priority while retaining the existing six slots, native-build cap of two, all test selections, retries, time budgets and Rust cache bypass.

A matched pair using the same eight compiled binaries and metadata passed identical sets of 8,638 tests (six skipped): reported execution fell from 161.686 s to 138.522 s, saving 23.164 s (14.3%). Command wall time was 281.706 s versus 139.337 s; the larger difference includes variable soldr/startup overhead and is not attributed entirely to priority.

Full local gate runs on the same machine were 918.848 s first / 444.974 s warm / 809.903 s after. The after run had a 155 s feature-suite pipe stress test (versus 23.6 s warm), slower GNU rebuilding, and more self-test/startup overhead. These full-run samples do not establish an end-to-end speedup; the matched execution pair isolates the scheduling improvement. Each full run preserved identical 8,638 workspace and 916 feature test names. Existing shared soldr verdicts were already warm in the first measurement, so “first” is not an empty-cache claim.

The only nextest execution-setting change is the priority-only rule. Gate declarations, push/proof code, local-gate runner and the 19-gate attestation inventory are unchanged. The budget guard now permits named priority-only overrides with no other execution settings; timeout exceptions retain the existing #2888 checks.

RED → GREEN:

  • RED 669e7445f: the scheduling regression failed four subcases (both groups, default/full profiles).
  • GREEN 3b05f1f8898d54b18673807246047340000ccc44 (local pre-stamp 2a17e550d): 17 nextest policy/tooling tests and nine Rust-runner contract tests pass; the read-only pre-push review is clean.
  • Full client lint, checks and test/link lanes passed before and after. Exact nextest settings excluding the priority-only rule compare equal to baseline.
  • ./lint passed once in 82.209 s (exit 0, full self-tests and lane completion confirmed in its artifact). ./push results follow after completion.

No Rust implementation, C tests, public headers, plugin, packaging or workflow changes; Tier 2/3/4 implementations are unchanged. Ordinary hosted checks remain required for this CI trust-surface edit. No native-coverage opt-in label is applicable.

Maintainer hold: draft only; do not mark ready, arm auto-merge or enqueue.

Final publication validation: strict PUSH_REQUIRE_ATTESTATION=1 ./push passed in 534.07 s, stamped the exact unchanged 19 Ci-Attestation records plus Client-Checks, and signed/verified final head 3b05f1f8898d54b18673807246047340000ccc44. The final push again passed 8,638 workspace tests, 916 feature tests, GNU test linking, full self-tests, data validators, and all six clippy/Dylint targets. Optional Swift formatting could not attest because swift-format is unavailable; this change selects no Swift files. No legacy fallback was used.

The stock push's automatic PR creation was deferred by an external command adapter, preserving its proof/sign/push pipeline and existing gh guard. This PR is created explicitly with --draft in a separate mutation, even though back pressure reopened during measurement.

Ci-Attestation: {"at":1795655171,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":88,"stamp":"4c1ce9da26cda930be715512407f8def","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655171,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":88,"stamp":"99957ce111c37974acff1e7aa3dbe5d5","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655171,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":88,"stamp":"e59f679f3f6ecfbbe6d46f6d2882869c","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655171,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":88,"stamp":"1043a620def0e626fb8a8f46046c32a2","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655081,"gate":"general/all/client-lint","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"0f18bcfed4186af71ce3a2422b7e6473","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655171,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":88,"stamp":"ab9204845226900d7ee5adb20edf5fe6","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655082,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"373158be2605fc5775d18604f0887fa7","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655082,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"5c913c035ff7527c74b6c476ab14eb7e","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655082,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"ee48bf1c6dad980f8c001d1b5cd928d2","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655082,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"7c4943701875f0d07a7d948ae1a8f102","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655081,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"d742d52f44eeed6ed0f4aeb6b2104165","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655081,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"05f8f2a3f78496de61c2dd767144be9c","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655082,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"6f23e02a2c8472a41c2767470bb3c457","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655082,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"fa4c583872592b702bb7dd9c562419b0","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655082,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"541a0098ed31ec2353b6d756b4418f73","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655082,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"ccd1d8294b84bc286bb36f7c107df55c","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655081,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"3ef4e3625d2ddf1ab5a10da2722494d3","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655081,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"24167c317e2f2afc15302f2b3c3b58b2790c9cb61c31c42a81ef065ed3d56fdc","lane":"client-lint","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":296,"stamp":"d8971d534263cefba782e1aa14f56400","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}
Ci-Attestation: {"at":1795655563,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"2eee95447f3ac2b294d5c7910296f160a5d5d925078a52a37f1dc1b4be806816","lane":"client-test-x86_64-unknown-linux-gnu","parents":["efcca53c5a0f6e9fd38b9dc199abc5d34f48baab"],"secs":391,"stamp":"673b6696b2d8ab4413510e14f60fcfe2","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"7f54bf96e78bc88fc3ea6a698513e38131e7932e","coverage":"all-tracked-applicable-files","diff":["ci/nextest.toml","ci/test_nextest_budget.py","ci/test_nextest_oversubscription.py","docs/ci-tooling.md"],"head":"b9577d6464b2d23face9464f00e32732d6fd5f0f","tools":{"orchestrator-python":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]","schema-dependencies":"3.13.15 (main, Aug 14 2026, 15:34:59) [Clang 22.1.3 ]\n{'jsonschema': '4.26.0', 'json_source_map': '1.0.5'}","uv":"uv 0.13.5 (x86_64-unknown-linux-gnu)","xmllint":"xmllint: using libxml version 21503\n   compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1 DTDValid HTML C14N Catalog XPath XPointer XInclude Iconv ISO8859X Regexps Automata RelaxNG Schemas Modules Debug"},"tracked-digest":"28a0d41999e6a4e009bea95c280402f51b2b723bf049b149787521b5a3b2ec3c","tree":"d144d2441d19ea209cbd4f6f7e23a7ccb55e2884"}}
@zackees
zackees force-pushed the infra/4896-client-gate-speed branch from 3b05f1f to 3aeb70a Compare November 26, 2026 01:12
@obs-rust-project-manager obs-rust-project-manager Bot moved this from Needs fix to In progress in obs-rust Multiview Nov 26, 2026
@obs-rust-project-manager obs-rust-project-manager Bot moved this from In progress to Stalled in obs-rust Multiview Nov 29, 2026
@zackees
zackees marked this pull request as ready for review December 3, 2026 23:11
@zackees
zackees added this pull request to the merge queue Dec 3, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 4, 2026
@zackees
zackees added this pull request to the merge queue Dec 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 4, 2026
@zackees
zackees added this pull request to the merge queue Dec 4, 2026
@obs-rust-project-manager obs-rust-project-manager Bot moved this from Stalled to In merge queue in obs-rust Multiview Dec 4, 2026
Merged via the queue into master with commit 21ec89d Dec 4, 2026
45 checks passed
@zackees
zackees deleted the infra/4896-client-gate-speed branch December 4, 2026 10:11
@obs-rust-project-manager obs-rust-project-manager Bot moved this from In merge queue to Done in obs-rust Multiview Dec 4, 2026
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.

1 participant