Repository navigation
ci: route the Linux x86 Lint call to the forge pool through pool-select - #294
Conversation
A selector job runs forge-ci/ci.yml's pool-select on forge-quick and picks
the self-hosted Dell pool (repository variable FORGE_POOL_LABELS, Ubuntu
24.04 lane) when it has an idle matching runner and the event is trusted
(push, workflow_dispatch, or a same-repository pull request). It reads the
pool's tokenless status endpoint, so the repository holds no probe secret.
_lint.yml takes the choice as a new optional pool-runs-on input and keeps
runs-on for cache and artifact names. Fork pull requests, an unset variable
and any selector error run hosted.
Ci-Attestation: {"at":1795257075,"gate":"general/linux-x64/lint","host":"linux-x86_64","key":"f58788af9e849b79b399e3bc263d9e882f6416d662d2102d44e6d0fd13487e19","lane":"lint","parents":["a52f04360994f5870c6c4f0919c41869041b03b0"],"secs":4903,"stamp":"690e4da9862646d560da66a56bbac3d2","tree":"1691de269a3cc9237e979b97d79eb1ee20829216","v":1,"via":"run"}
Ci-Attestation: {"at":1795289164,"gate":"python/linux-x64/test","host":"linux-x86_64","key":"cfecc5e03d2ff1c986d574cb791aab87bf3090791759f3f58803596c7d336826","lane":"test","parents":["a52f04360994f5870c6c4f0919c41869041b03b0"],"secs":234,"stamp":"f0e87ff5fb10cc0c2e2362274ad73768","tree":"8b3c3c6e5c1b022f098a13bbe8b82b9e1e1ac37b","v":1,"via":"run"}
Ci-Attestation: {"at":1795257075,"gate":"rust/all/fmt","host":"linux-x86_64","key":"f58788af9e849b79b399e3bc263d9e882f6416d662d2102d44e6d0fd13487e19","lane":"lint","parents":["a52f04360994f5870c6c4f0919c41869041b03b0"],"secs":4903,"stamp":"c934c5fa91d0aa673dc99b7fee149a89","tree":"1691de269a3cc9237e979b97d79eb1ee20829216","v":1,"via":"run"}
Ci-Attestation: {"at":1795257075,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"f58788af9e849b79b399e3bc263d9e882f6416d662d2102d44e6d0fd13487e19","lane":"lint","parents":["a52f04360994f5870c6c4f0919c41869041b03b0"],"secs":4903,"stamp":"0bf5b139481336096851ab78044a6e91","tree":"1691de269a3cc9237e979b97d79eb1ee20829216","v":1,"via":"run"}
Ci-Attestation: {"at":1795257075,"gate":"rust/x86_64-unknown-linux-gnu/dylint","host":"linux-x86_64","key":"f58788af9e849b79b399e3bc263d9e882f6416d662d2102d44e6d0fd13487e19","lane":"lint","parents":["a52f04360994f5870c6c4f0919c41869041b03b0"],"secs":4903,"stamp":"6d822fb6f6fe1f4bc921b72ce526cd14","tree":"1691de269a3cc9237e979b97d79eb1ee20829216","v":1,"via":"run"}
Ci-Attestation: {"at":1795289164,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"cfecc5e03d2ff1c986d574cb791aab87bf3090791759f3f58803596c7d336826","lane":"test","parents":["a52f04360994f5870c6c4f0919c41869041b03b0"],"secs":234,"stamp":"dbfc10c81b06403452800150bae56c8d","tree":"8b3c3c6e5c1b022f098a13bbe8b82b9e1e1ac37b","v":1,"via":"run"}
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
Routes the Linux x86 Lint call (format, Clippy, Dylint; 6-11 min hosted) to the self-hosted forge pool (the Dell hosts, FastLED lane
ubuntu-2404, Ubuntu 24.04 image) when it has room.How it works:
pooljob inlinux-x86-lint.ymlruns forge-ci/ci.yml'sactions/pool-select(pinned to a36bc81, ci.yml#550) onforge-quick. It reads the pool's tokenless status endpoint (https://signal.forge-ci.com/v1/pool), so this repository holds no probe secret.FORGE_POOL_LABELSis set and the event is trusted: push, workflow_dispatch, or a pull request from this repository. A fork pull request never reaches forge-quick or the pool._lint.ymltakes the answer as a new optionalpool-runs-oninput.runs-onstays the hosted label and still names caches and artifacts. When the selector is skipped or fails, or the pool has no idle runner, Lint runs onubuntu-24.04as before.FORGE_POOL_LABELS(this repository) or the org variableFORGE_QUICK_LABELS.Until
FORGE_POOL_LABELSis set, this PR changes nothing at run time.Proof on the pool (RUN-005): PROOF_RUNS
Part of the forge pool rollout (forge-ci/signal.forge-ci.com
loops/dynamic-pool, M5).Summary by CodeRabbit