Skip to content

ci: make the merge-queue Dell runner demand a repo variable - #5010

Merged
zackees merged 2 commits into
masterfrom
infra/mq-demand-var
Nov 18, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/mq-demand-var

Conversation

@zackees

@zackees zackees commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Maintainers can set the repository Actions variable MQ_RUNNER_DEMAND to tune Dell merge-queue routing without editing the workflow. An unset or empty value retains the default of 6; required idle capacity remains max(MQ_RUNNER_MIN_IDLE, MQ_RUNNER_DEMAND).

The documentation inventories the heavy consumers of mq-heavy-labels on origin/master after #4980: one Tier 2 Linux build, its two OFF/ON test jobs, two main Cross Lint legs and one release-target Cross Lint job. The peak is 5 concurrent heavy jobs, because the tests wait for their build; the release job handles its three targets within one job. Set demand to 5 for the peak or retain 6 as the conservative total-job bound.

Validation:

  • RED 9f24f99c0: PYTHONPATH=ci uv run --no-project python -m unittest ci.test_ci_scope.CiScopeTest.test_queue_heavy_demand_fallback_matches_expanded_jobs fails (1 test), because the workflow hard-codes 6.
  • GREEN: that regression plus the existing runner-routing and probe-input tests pass (3 tests).
  • Full ./lint: passed (exit 0, 204.6 s), under a 900 s deadline; git diff --check passed.
  • ./push: passed with complete signed prooft client evidence on final HEAD 65bdec3535c1cb70f014707836a3728ced59c414, including all-six-target clippy/Dylint, client self-tests/validators, 8,891 host tests (6 skipped), 920 alternate-feature tests, doctests and Windows GNU test-binary linking.

Held as a draft while backpressure is closed: at publication, 6 PRs were counted and the oldest queued job had waited 22 minutes for a runner. Auto-merge remains off.

This focused CI change pushes the separate RED and GREEN commits together under coordination.md §4. No new workflow, Rust tests, C tests or public headers. Rust/C compatibility tiers do not apply to this workflow-variable change.

Refs #4896.

Refs #4896. RED: the demand regression fails because ci.yml hard-codes 6 instead of accepting vars.MQ_RUNNER_DEMAND with the same fallback.
Refs #4896. Read vars.MQ_RUNNER_DEMAND with the unchanged default 6. Document the six routed jobs and five-job concurrent peak after #4980.

RED 9f24f99: PYTHONPATH=ci uv run --no-project python -m unittest ci.test_ci_scope.CiScopeTest.test_queue_heavy_demand_fallback_matches_expanded_jobs failed on the hard-coded value (1 test). GREEN: the same regression and both existing runner-routing/probe tests pass (3 tests).

Ci-Attestation: {"at":1794956103,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":78,"stamp":"bb520c054bc29a880a77b98ad90b0f00","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956103,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":78,"stamp":"b9c5c559cd7ae7369b67ce4dd602138f","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956103,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":78,"stamp":"3e9bc27da0a3275c43dda4603994c92b","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956103,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":78,"stamp":"39767ff596628c39a9da971eb3dcc9ff","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"general/all/client-lint","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"29abddf37fc068477d98714794dfda72","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956103,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":78,"stamp":"0b25fceac3efde13de40b5f94e774a88","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"5b1a928dac8a86d372417cb0e1668447","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"f0d37b74c3b02e9c502a23532485d8aa","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"81388292ea69b7c5edf5082783facdbd","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"036858daf7e88b3420749b872384cd1f","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"05392198c3bc97c90dc9e3266afd5d66","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"14a26857ddc30efdb4f810b75d81abcd","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"6f4a1ee21d657d6bc9484de27e52eb15","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"b44f15b14a6826ba1254d78f50cddb25","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"d29ea23c5129fa97964b086d749e019d","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"e46cce012956bad35800e8f18d8ccfa3","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"e6c607136bf600dadad5246af9181640","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956023,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"7d2410a2ad4697d1b888a4ab52ad91b78dfcef64fdbfd5d8f29b200e43dec274","lane":"client-lint","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":197,"stamp":"921e1f64fc3f759702d2b9e6516a623a","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}
Ci-Attestation: {"at":1794956685,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"97259bd5a0a7b78afe791bb06c4cedf71ec2de903b340e47559de580fbe7e99e","lane":"client-test-x86_64-unknown-linux-gnu","parents":["9f24f99c0dd4dcceccb76153e965cecf7eee8b1a"],"secs":581,"stamp":"a365408ab6facdbf48c3a6de04161d41","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"d4da3f2a10da12cfe93c31899038cbe2ede2ef86","coverage":"all-tracked-applicable-files","diff":[".github/workflows/ci.yml","ci/test_ci_scope.py","docs/ci-tooling.md"],"head":"eb95d79b3e583781d36ace55d2ce9392de79038e","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 21504\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":"356c5e5023ca4137693763c4a59711a22918df6c714470abe35a79feba24fa47","tree":"cb035ba63c2247e7d2e9e667d94e8ee775aaf009"}}
@zackees
zackees marked this pull request as ready for review November 17, 2026 23:13
@zackees
zackees enabled auto-merge November 17, 2026 23:13
@zackees
zackees added this pull request to the merge queue Nov 18, 2026
Merged via the queue into master with commit d5474ed Nov 18, 2026
43 checks passed
@zackees
zackees deleted the infra/mq-demand-var branch November 18, 2026 00:17
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