Skip to content

fix(ci): release hosted-decided Dell reservations (Refs #5135) - #5140

Merged
zackees merged 2 commits into
masterfrom
fix/5135-mq-hosted-reservations
Nov 18, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/5135-mq-hosted-reservations

Conversation

@zackees

@zackees zackees commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Older merge-group runs that had already chosen hosted runners could keep reserving Dell capacity simply because their workflows reported queued. Inspect their latest-attempt jobs before reserving capacity, retain completed heavy-job routing evidence, and recognize the Darwin artifact producer. Hosted-decided runs release their reservation; older undecided runs and observed Dell runs retain the race protection. A completed selector with no visible routing evidence fails closed because the REST jobs API does not expose its outputs. This reuses the bounded jobs read without adding runtime log or artifact requests.

Report 15 measured 168 idle Dell minutes between 16:45:53 and 19:34:21Z on 2026-11-18: every probe reported online=6, busy=0, idle=6, required=3. Meanwhile 78 Dell-routable ubuntu-26.04 jobs waited over five minutes (803 job-minutes), and only 3 of 19 merge-group runs used the Dell. Read-only selector logs for runs 44359171975 (job 134995483499) and 44367435932 (job 135024874840) confirm hosted rejection at committed=5 and 3. Run 44367448224 (job 135024915358) instead failed closed on an incomplete queued-runs collection. The fixture preserves their recorded metadata, labels and warnings and explicitly replays the queued-backlog and completed-hosted-job states.

Admission logs now expose the computed idle run slots, floor((idle - queued) / required), alongside the existing total run cap, floor(online / required). Six idle runners at demand three allow two admissions. Keeping online capacity for the total cap avoids charging busy Dell jobs twice: a running group with three busy runners can coexist with one new group using the other three idle runners. Tests cover other capacity/demand values, queued newer Dell decisions, skipped selectors and unknown completed decisions. No runner-host, routing-label, workflow-graph or existing queue changes.

RED commit 74bccdc adds two recorded-backlog regressions. uv run --no-project -m unittest discover -s ci -p test_select_mq_runner.py -k recorded fails both new cases with empty hosted selection before the fix. GREEN passes all 87 selector tests with uv run --no-project -m unittest discover -s ci -p test_select_mq_runner.py, 64 CI scope/workflow policy tests with -p test_ci_scope.py, and 13 workflow integrity/schedule tests with -p 'test_workflow_*.py'. Rust/libobs and protocol tiers do not apply to this Python CI admission change. Live post-deployment utilization has not been measured.

Refs #5135

Full SOLDR_PORCELAIN=0 ./lint passed once, exit 0, reporting lane lint: ok (658.7s). The diagnostic wrapper did not classify the output; the retained log explicitly records the successful lane.

./push completed its client lint (180.2s), validation/self-tests, workspace tests (9,057 passed, 6 skipped), feature tests and link checks; the client-test lane passed in 502.9s. It signed and published final head 45022fe77379efbe21d38996e6dc75413374e688. The optional Swift proof exited 75 because swift-format is absent; no Swift files changed. This CI trust-surface edit retains real selected PR checks. Backpressure was open before publication (headroom 9), and the PR opened ready.

Ci-Attestation: {"at":1795033640,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":235,"stamp":"4355a724799b4c3bc9f637883d6abc53","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033640,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":235,"stamp":"a5d87da974b43797a043721af9ee0dae","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033640,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":235,"stamp":"8ef48713734c8e78936a0c44f3b30e51","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033640,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":235,"stamp":"8ff8bedfaaad31f3fda20bf18b6a49f7","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"general/all/client-lint","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"7bfc3e71d22e0791209318a4acc7a471","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033640,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":235,"stamp":"9877676fe43ab54bb7e53a4152cb7313","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033404,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"ad66c209e656633e22a14227d90646cb","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033404,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"53440c445756f524b177d85ad19231fa","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"d6ae9fa83ed38890c59cf0f9d16a2111","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"1d970dfce71043efc7768c59196f7bc7","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"7aa0a29bcecf18406c36e256e9704c83","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"632810d7a2e4577c8c0988553ce4b08d","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"e21974b476a848b8392b5dcdf75e14c8","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"5a47b4a07c448a1c77fd9357e9279687","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"be57b4c87215fa5dbe68dda76d7b4205","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"53801829dd36365ffa43b870d7f6eac9","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"87abd2833fc0cf1faed1a13ab22d284a","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795033403,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"85afe00e6ca12438b8f9b9b89a349cc551175d2c426d89185dfd2e1f95ffe28b","lane":"client-lint","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":180,"stamp":"cef2047cb0142dcb36ec127c1c576eb5","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}
Ci-Attestation: {"at":1795034144,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"9dd065b851bce1c27f737bb9c089ecd79feafbc79ad8b0397a2d9a61d15f3000","lane":"client-test-x86_64-unknown-linux-gnu","parents":["74bccdcfe868dbca452ddc8f384eb660ab6dc85d"],"secs":503,"stamp":"d2141ff0ef9ce70a4004cf2ba10f7d1f","tree":"0708306aff78a47ceeeeba78c92af078d196af5c","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"4cad41119a9a247049a3325ac90cce1a18f0c521","coverage":"all-tracked-applicable-files","diff":["ci/fixtures/mq-hosted-backlog.json","ci/select_mq_runner.py","ci/test_select_mq_runner.py","docs/ci-tooling.md"],"head":"8c694aa702c8cf891d9516fda90cc8ee9024b84a","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":"69b5f60333a9881a45c5b232ed2981ee4b6d6f8db26c64e7872d1ef945a5474a","tree":"0708306aff78a47ceeeeba78c92af078d196af5c"}}
@zackees zackees added the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 18, 2026
@zackees
zackees enabled auto-merge November 18, 2026 20:36
@zackees zackees removed the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 18, 2026
@zackees
zackees added this pull request to the merge queue Nov 18, 2026
Merged via the queue into master with commit 833456c Nov 18, 2026
44 checks passed
@zackees
zackees deleted the fix/5135-mq-hosted-reservations branch November 18, 2026 21:44
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