Skip to content

ci: run gate and cache janitor on ubuntu-latest (Refs #5256) - #5264

Merged
zackees merged 2 commits into
masterfrom
fix/5256-gate-janitor-standard-runner
Nov 19, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/5256-gate-janitor-standard-runner

Conversation

@zackees

@zackees zackees commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

CI Gate was waiting 196–280 seconds for an ubuntu-26.04 runner in three of the seven successful merge groups in report-22, adding about 110 seconds per merged PR on average. Run ci-gate and the final cache-janitor on ubuntu-latest to use the less contended hosted pool. The required check remains exactly CI Gate ✅.

The workflow change is two runner-label replacements in the existing ci.yml. Every step in both jobs was audited: checkout v6, setup-uv v10.1.0 (Node 24), the queue report, shell result checks, gate_jobs.py, and the pinned uvx cache-janitor command. Neither job declares a container, installs apt packages, loads a prepared runtime, or invokes soldr. The gate's Python dependencies use the standard library plus uv-managed prooft; the pinned ci-lint package requires Python >=3.11 and PyYAML, supplied through uvx. Git, GitHub CLI and Python 3.12 are available on the Ubuntu 24.04 hosted image. setup-uv installs uv and retains its existing cache policy.

The runner-policy audit found the CI Gate pin in ci/test_ci_scope.py and the numbered-label-only janitor allowlist in ci/test_ci_pre.py. Update the former to assert both lightweight jobs use ubuntu-latest, and allow the standard hosted alias in the latter while continuing to reject dynamic/self-hosted labels. Existing heavy-runner selection and MQ_RUNNER_LABELS assertions are retained. Container/runtime consumers and other runner labels are unchanged.

RED: commit 5300b3e, PYTHONPATH=ci uv run --no-project python -m unittest test_ci_scope.CiScopeTest.test_queue_runner_selection_preserves_hosted_fallbacks test_ci_pre.JanitorRunnerTest, failed with two subtest failures, one for each job still on ubuntu-26.04. Local RED evidence was recorded before the separate GREEN commit aabbe63; both are published together under the CI/configuration exception.

GREEN: PYTHONPATH=ci uv run --no-project python -m unittest test_ci_scope test_ci_pre test_runner_pools test_gate_jobs test_queue_report test_select_mq_runner test_ci_toml test_merge_queue passed all 270 tests. Full SOLDR_PORCELAIN=0 ./lint passed in 182.7 seconds, including all 397 ci/test_*.py files; soldr reused passing Rust fmt/clippy verdicts for unchanged Rust inputs. git diff --check origin/master passed. The pinned ci-lint precheck --repo . --local --event pull_request exited 1 with 68 violations, 405 approved exceptions and 43 needs_review; rerunning with the original two runner labels produced the same 68 violations and counts. The only finding differences are the two expected, already-approved RUN-001 exception descriptions (numbered label outside the old fleet list becomes a latest-alias warning). These existing repository policy findings are not caused by this diff. actionlint is not installed and ./lint does not invoke it. Full precheck logs are preserved in the worker response.

The publication wrapper additionally passed all 9,219 workspace host tests (six existing skips), 920 obs-util feature-set tests, its Windows GNU workspace test-binary link check, and its client lint/self-test/data validators. The final head is signed. The optional Swift proof was unavailable because swift-format is not installed; this change touches no Swift files.

This is CI scheduling configuration; Rust/API/protocol test tiers and packaged-artifact testing do not apply. Hosted execution and the next-ten-merge-group runner-wait measurement are left to the coordinator after handoff; no latency improvement is claimed as measured yet.

Refs #5256

Ci-Attestation: {"at":1795107562,"gate":"data/all/compatibility","host":"linux-x86_64","key":"","lane":"client-checks","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":164,"stamp":"00d1f301014c8625ef7c56e7415e71df","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107562,"gate":"data/all/flatpak-manifest","host":"linux-x86_64","key":"","lane":"client-checks","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":164,"stamp":"380680b7c6f12f32df9d79e102868baf","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107562,"gate":"data/all/qt-xml","host":"linux-x86_64","key":"","lane":"client-checks","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":164,"stamp":"1f05973318371a867be45bdd62d5ec52","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107562,"gate":"data/all/services-schema","host":"linux-x86_64","key":"","lane":"client-checks","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":164,"stamp":"b0fc6f759fa11b1b77e43a686c7f4e8d","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"general/all/client-lint","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"02224f7890e5bba8ade399fe75c93919","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107562,"gate":"python/all/self-test","host":"linux-x86_64","key":"","lane":"client-checks","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":164,"stamp":"cfaefaea10152702043daaaf64580d77","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/aarch64-apple-darwin/client-clippy","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"77edc2e60ce2bffd27480eacf22de0ce","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107397,"gate":"rust/aarch64-apple-darwin/client-dylint","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"ba7211c6c2f6c697378890940c076280","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/aarch64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"1548b36b64cbce545a37a85233c6794a","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/aarch64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"ef677efb05e99c52ca9f162b1900000d","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/aarch64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"60e469412965b49e047ac6c03d5605f9","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/aarch64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"206c4dc120a19b9517fa463fd267ef4b","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/x86_64-apple-darwin/client-clippy","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"30054312ab8037d66b987b6c4ed72db2","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/x86_64-apple-darwin/client-dylint","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"5f055150d19662044319cce893d7161b","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/x86_64-pc-windows-msvc/client-clippy","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"2141bf0cb6e47de3950e2692ee61844a","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/x86_64-pc-windows-msvc/client-dylint","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"0768b17139e83af58a6095154746a684","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/x86_64-unknown-linux-gnu/client-clippy","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"407b265e22c4acd4bd2546466406cd3e","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795107396,"gate":"rust/x86_64-unknown-linux-gnu/client-dylint","host":"linux-x86_64","key":"cbe685c32c443f7caa40a39414d00212fa0cc7c174d39b3546d4b96b0a609754","lane":"client-lint","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":16,"stamp":"6bc7822eafc1b480869d3c6bc444ac15","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}
Ci-Attestation: {"at":1795108571,"gate":"rust/x86_64-unknown-linux-gnu/client-test","host":"linux-x86_64","key":"3ba03671dcb9ac5a24732c9eeb5bce2a26b9a76c0adfea3e54fa67d43b94d3a5","lane":"client-test-x86_64-unknown-linux-gnu","parents":["5300b3ee62a459e199baa5364f17b77fce252dcc"],"secs":1007,"stamp":"0783b38ae0685c4e9f468d05a0699f0a","tree":"79951036a56cac5e0c61533b42fe0a97b095f893","v":1,"via":"run"}

Client-Checks: {"checks":{"base":"35b483067c6efc169d0724dbba05fbd4c3ee17d2","coverage":"all-tracked-applicable-files","diff":[".github/workflows/ci.yml","ci/test_ci_pre.py","ci/test_ci_scope.py"],"head":"9631c91e7becf559ca35310e35928eabe07f68a5","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":"767768d2bb34cb9fb4c84224bddb390770dfc2e1448857b371f2fe6c4059460e","tree":"79951036a56cac5e0c61533b42fe0a97b095f893"}}
@zackees zackees added the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 19, 2026
@zackees
zackees enabled auto-merge November 19, 2026 17:17
@zackees zackees removed the pool-active Pool worker owns this PR; automated rebases must skip it label Nov 19, 2026
@zackees
zackees added this pull request to the merge queue Nov 19, 2026
Merged via the queue into master with commit 6c3417a Nov 19, 2026
46 checks passed
@zackees
zackees deleted the fix/5256-gate-janitor-standard-runner branch November 19, 2026 18:45
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