You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge-group runs select the Dell self-hosted pool even when every matching online runner is busy, leaving Linux jobs queued while hosted capacity is free. ci/select_mq_runner.py:35-40 checks only status == "online"; test_online_busy_runner_still_matches explicitly preserves this behavior. The maintainer reports all six dell-fsx3mn2 runners busy with three merge-group runs waiting.
Expected behavior
Overflow each merge-group run to hosted when matching idle capacity is below MQ_RUNNER_MIN_IDLE (default 2). Count online/busy runners from the existing bounded repository/organization API probes, deduplicate IDs across scopes, and allow a configurable per-run demand floor. Preserve opt-out, offline, invalid-configuration and probe-failure fallbacks and the existing independent-scope behavior. Report the decision and observed counts in the job summary. No runner registration, token permission or required-check changes.
Reproduction and proposed test
Run uv run --no-project ci/test_select_mq_runner.py with fixture payloads containing six matching online runners whose busy values are true. Assert hosted selection; assert Dell with enough idle runners, hosted for offline/error cases, configurable thresholds and scope deduplication. Keep separate local RED and GREEN commits, wire variables through the existing ci.yml selection job and update docs/ci-tooling.md.
Scope and acceptance
A focused CI bug fix requested by the maintainer; no C/Rust/API behavior changes and no new workflows. Snapshot admission only: it does not reserve runners or eliminate simultaneous-probe races. A merge group fans out roughly 11 Dell jobs, so configurable demand can conservatively raise the idle threshold; the default permits execution in waves. Queued-job estimation is deferred to avoid extending API scope and ambiguity about target labels.
Claiming: Dell merge-queue saturation overflow in pool slot obs-studio11. 1. Commit fixture-based RED tests for busy/idle thresholds, deduplication and summaries. 2. Implement bounded capacity selection, wire existing ci.yml variables and document it. 3. Run focused uv tests and ./lint, push through ./push, open a Refs-only PR and enable auto-merge. First PR expected this session. Decisions: default minimum idle is 2; optional per-run demand raises that floor; retain independent-scope API fallbacks and snapshot semantics.
Continuing the claimed fix after manager feedback: six Dell runners and five concurrent merge-group runs (~11 Dell jobs each) left run 43388225521 queued from 07:47Z through 08:30Z. Idle-only selection does not reserve headroom for jobs belonging to already-routed active runs. I disabled PR #4839 auto-merge while adding RED/GREEN coverage and demand accounting: inspect queued/in-progress merge-group runs and their job labels, count each Dell-routed run once, reserve a configurable ~11 jobs per run, exclude the current run and fail to hosted when demand cannot be established. MQ_RUNNER_LABELS remains unset; no repository variable will be changed.
Done by #4980 (merged as 40735a2): only cache-heavy merge-queue jobs (Tier 2 Linux build/tests, Cross Lint) go to the Dell, and both selection modes require the heavy jobs' demand in idle capacity, so other jobs fall back to hosted runners when the Dell is saturated. Follow-up #5010 makes the demand a repo variable.
Activity
zackees commentedon Nov 13, 2026
Claiming: Dell merge-queue saturation overflow in pool slot obs-studio11. 1. Commit fixture-based RED tests for busy/idle thresholds, deduplication and summaries. 2. Implement bounded capacity selection, wire existing ci.yml variables and document it. 3. Run focused uv tests and ./lint, push through ./push, open a Refs-only PR and enable auto-merge. First PR expected this session. Decisions: default minimum idle is 2; optional per-run demand raises that floor; retain independent-scope API fallbacks and snapshot semantics.
zackees commentedon Nov 13, 2026
Continuing the claimed fix after manager feedback: six Dell runners and five concurrent merge-group runs (~11 Dell jobs each) left run 43388225521 queued from 07:47Z through 08:30Z. Idle-only selection does not reserve headroom for jobs belonging to already-routed active runs. I disabled PR #4839 auto-merge while adding RED/GREEN coverage and demand accounting: inspect queued/in-progress merge-group runs and their job labels, count each Dell-routed run once, reserve a configurable ~11 jobs per run, exclude the current run and fail to hosted when demand cannot be established. MQ_RUNNER_LABELS remains unset; no repository variable will be changed.
zackees commentedon Nov 17, 2026
Done by #4980 (merged as 40735a2): only cache-heavy merge-queue jobs (Tier 2 Linux build/tests, Cross Lint) go to the Dell, and both selection modes require the heavy jobs' demand in idle capacity, so other jobs fall back to hosted runners when the Dell is saturated. Follow-up #5010 makes the demand a repo variable.
ci: overflow saturated merge-queue runners to hosted (Refs obs-rust#4838