Skip to content

ci: size the merge-queue runner probe for queue regroups and log probe failures - #5055

Merged
zackees merged 2 commits into
masterfrom
infra/select-budget
Nov 18, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/select-budget

Conversation

@zackees

@zackees zackees commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Draft hold: the manager-requested five-idle-runner phantom-commitment test is committed and passes locally, but is not yet published. Another worker reused the assigned checkout during client validation; ./push correctly refused the changed worktree. Awaiting a reserved existing checkout to publish the test safely.

Nine active merge-group runs during a queue regroup can exhaust the shared ten-request probe budget and send work to hosted runners despite idle Dell capacity. Size the budget for two waves of the ruleset's five build entries: 210 attempts cover both runner scopes, both run statuses, per-run jobs pagination and retries. Preserve the shared 45-second deadline from #5043, which is now on master.

Skip terminal runs and jobs, and avoid jobs calls for queued workflows. When jobs probing exhausts its budget, reserve one run slot and at least the required runner demand for every unprobed active run, retaining any larger queued-job count already observed on earlier pages. Warnings include the failed probe step and ValueError reason. Capacity-driven hosted choices are identified in logs and summaries.

Refs #4839 #4896.

Validation:

  • RED 7543eb32d (original cfb979aef): uv run --no-project ci/test_select_mq_runner.py InflightAdmissionTest failed locally with 12 assertions/subtests across the requested regressions. Evidence: /home/niteris/.clud/tmp/tool-output/local-test-private/local-test-sPvTvE.log. RED and GREEN were pushed together for this focused CI fix.
  • GREEN: all 80 selector fake-API tests pass, including the nine-run burst, exhaustion during retries and pagination, terminal run/job filtering, queued-run call avoidance, probe diagnostics and the inherited retry/deadline cases. Repeated after rebasing onto master following ci: retry transient API failures when selecting the merge-queue runner #5043's merge.
  • Focused Ruff checks and formatting, plus git diff --check, pass.
  • Full ./lint: passed, lane lint: ok (220.7s), exit 0.
  • Local clud-review: clean after preserving partial pagination commitments; one reviewer. The RED/GREEN patches are unchanged across the rebase (git range-diff).

Rust/C/API/protocol tiers do not apply to this Python CI selector change. No workflow files or native implementation change; no native-coverage labels apply. Live Dell utilization and hosted wait-time improvement remain to be measured after deployment.

Final ./push published abf367b3146ab6afde796c2bc2bbf88c1ec3e62b with an exact lease replacing the original stacked head. It carries 13 fresh partial prooft records: general client lint plus Clippy and Dylint for all six supported targets. Client checks stopped at test_shared_link_support.SharedLinkSupport.test_compiles_once_per_complete_context_and_keeps_eager_objects: its CMake build timed out after 60 seconds. The final host-test gate was not reached, and no complete signed client evidence was produced. ./push warned: client proof failed or unavailable; partial evidence only, ordinary PR CI and pushed without complete signed client evidence; ordinary PR CI remains required. Required selected PR checks remain enabled.

@zackees zackees added the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 18, 2026
…e failures

Refs #4839 #4896. Size the shared budget for two five-entry waves, reserve unprobed active work conservatively, and release terminal commitments.

Ci-Attestation: {"at":1794985557,"gate":"general/all/client-lint","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"33f83efa2c6397bd88d3a56efb87deee","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985562,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"68124ff117b1ba31acb8b610460cd52c","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985563,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"8ecba633f072e2ef6b1ed1fd96de386c","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985561,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"9aac7e5bb5845166cf7aeeed2b97e95d","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985561,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"6e3259b83455aa9377d4b582b1af1236","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985559,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"d62410037188dcbbc9c75939ae65b99f","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985559,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"44d61fa901ff536d0547ed6a063171f1","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985561,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"f6e1191819e4e3240d74ddd6a97bcc37","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985562,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"34e3f3f291cd93d64504ec25c82e12a9","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985560,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"fa3b2b2a51e4920a6217e9195bd96211","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985560,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"4f66cc4462c75def631c69375a871b67","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985557,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"1b7a1198fa6cd9ecb0ed7b54e38045ff","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
Ci-Attestation: {"at":1794985558,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"6627f232960f59312ddb4fe6cbcc30033819f9511754f220aee773628713bf65","lane":"client-lint","parents":["7543eb32da1d352bb60430919e0958a544550f60"],"secs":483,"stamp":"c3956c7bde2cb7eb94ce1ea37d7fa3c0","tree":"5f85d1aa958d5e3adbf6e9d45b3a7e6fa2640f07","v":1,"via":"run"}
@zackees
zackees force-pushed the infra/select-budget branch from ecd882a to abf367b Compare November 18, 2026 07:15
@zackees
zackees enabled auto-merge November 18, 2026 07:17
@zackees zackees added pool-active Pool worker owns this PR; automated rebases must skip it and removed pool-active Pool worker owns this PR; automated rebases must skip it labels Nov 18, 2026
@zackees
zackees disabled auto-merge November 18, 2026 07:20
@zackees
zackees added this pull request to the merge queue Nov 18, 2026
@zackees
zackees marked this pull request as draft November 18, 2026 07:52
@zackees zackees removed the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 18, 2026
Merged via the queue into master with commit 056a321 Nov 18, 2026
42 checks passed
@zackees
zackees deleted the infra/select-budget branch November 18, 2026 08:34
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