Repository navigation
ci: Linux Rust jobs run the local gate; declare them as GATE-001 mirrors - #16
Merged
Merged
Conversation
…ors (GATE-001) rust-tests-linux now runs `python3 ci/local_gate.py --lane lint --lane rust-test` and rust-linux-tier2 runs `python3 ci/local_gate.py --lane tier2-linux`, the same commands ./lint and ./unittest run. local-gate.toml lists both jobs in `mirrors`, so ci-lint can check that remote is a subset of local. The lint lane needs uvx, so the job sets up uv. Refs #13 Local-Gate: v1 tree=ab0ca6868e45d0e731a32e236366aa85739631a3 secs=49 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791509563,"gate":"rust/all/fmt","host":"linux-x86_64","key":"32bad43f4b58d1082ba60799a7d940d0788fa578a254600420dec41eb12a356e","lane":"lint","parents":["bf7986a8dd6463bce12458e3659975ab676ba080"],"secs":24,"stamp":"0e50590570ec1af5c2d9639d27f243f8","tree":"ab0ca6868e45d0e731a32e236366aa85739631a3","v":1,"via":"run"} Ci-Attestation: {"at":1791509563,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"32bad43f4b58d1082ba60799a7d940d0788fa578a254600420dec41eb12a356e","lane":"lint","parents":["bf7986a8dd6463bce12458e3659975ab676ba080"],"secs":24,"stamp":"397a46501aa5ff93c60ac81ae84c03ce","tree":"ab0ca6868e45d0e731a32e236366aa85739631a3","v":1,"via":"run"} Ci-Attestation: {"at":1791509563,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"b92c325aca3246b7ed557c608d92291b0d8e30686e68188b09cb01b4af5bafa8","lane":"rust-test","parents":["bf7986a8dd6463bce12458e3659975ab676ba080"],"secs":5,"stamp":"79bc92f06437a46bf7ac4fcf9304eb4c","tree":"ab0ca6868e45d0e731a32e236366aa85739631a3","v":1,"via":"run"} Ci-Attestation: {"at":1791509563,"gate":"general/linux-x64/tier2","host":"linux-x86_64","key":"5fe713716b1203ded4fc02683cba8f0bb0aed3c6e4b1260fcc6a4384b4a71d6c","lane":"tier2-linux","parents":["bf7986a8dd6463bce12458e3659975ab676ba080"],"secs":20,"stamp":"e7652a59b3410c9f383155629c89b030","tree":"ab0ca6868e45d0e731a32e236366aa85739631a3","v":1,"via":"run"}
4 tasks done
This was referenced Oct 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Item 3 of #13: prove the GATE-001 mirrors. Builds on PR #12, which added
ci/local_gate.pyandlocal-gate.toml.Change
rust-tests-linuxreplaces its separatesoldr cargo test/clippy/fmtsteps withpython3 ci/local_gate.py --lane lint --lane rust-test, the exact command that./lint+ the first half of./unittestrun. The lint lane also checks clang-format 22.1.3 and gersemi 0.25.0 through uvx, so the job addsastral-sh/setup-uv(pinned SHA, v10.1.0), an allowed setup action.rust-linux-tier2runspython3 ci/local_gate.py --lane tier2-linux, which wrapsrust/tools/linux-validate/run.shas before, still withOBS_CCACHE_DIR.local-gate.toml:mirrors = ["build-project.yaml:rust-tests-linux", "build-project.yaml:rust-linux-tier2"]. The ccache save step gets a name and is listed insetup-steps.actions/cache/restore, checkout and setup-soldr are already recognised as setup.RED → GREEN (
ci-lint local-gate lint, ci.yml@70e8fef)RED, on
ci/fast-gate(aad35e1, same gate config as master after #12):GREEN, on this branch: no GATE-001 finding, so both mirrored jobs pass the "invokes the gate and nothing else" check.
What's left is the GATE-008 ×2 and GATE-012 ×5 false positives, items 4–5 of #13, fixed upstream in forge-ci/ci.yml#394.
Local gate:
./lintok. The commit is stamped withci-lint local-gate run(all lanes: lint, rust-test, tier2-linux).Refs #13