ci: run the Rust gates and tool self-tests through just #478

Merged
natsukium merged 1 commit from ci/gates-through-just into main 2026-09-26 11:47:17 +09:00
Owner
  • pr.yml / release.yml build jobs and windows.yml windows-cross call just lint, just test, just deny, just check-portable, just check-windows instead of repeating the commands. The copies had drifted: just test carried --all-targets, CI did not.
  • just test drops --all-targets so local and CI agree. The alternative, CI gaining it, would add bench/example links to the capacity-one nix runner; clippy already compiles every target and the nightly snapshot runs every bench. Say the word if you'd rather flip it the other way.
  • New just selftest (prose_check, proto compat, release verify, both bench orchestrators) runs once in the build job; bench.yml's two copies of the orchestrator self-tests and proto-compat's own self-test step go. just check uses it, so the bench suites now run locally too.
  • Required check names are unchanged.
- `pr.yml` / `release.yml` build jobs and `windows.yml` windows-cross call `just lint`, `just test`, `just deny`, `just check-portable`, `just check-windows` instead of repeating the commands. The copies had drifted: `just test` carried `--all-targets`, CI did not. - `just test` drops `--all-targets` so local and CI agree. The alternative, CI gaining it, would add bench/example links to the capacity-one nix runner; clippy already compiles every target and the nightly snapshot runs every bench. Say the word if you'd rather flip it the other way. - New `just selftest` (prose_check, proto compat, release verify, both bench orchestrators) runs once in the `build` job; bench.yml's two copies of the orchestrator self-tests and proto-compat's own self-test step go. `just check` uses it, so the bench suites now run locally too. - Required check names are unchanged.
ci: run the Rust gates and tool self-tests through just
Some checks failed
bench / Criterion full-suite snapshot (pull_request) Has been skipped
fuzz / cargo fuzz nightly long-run (pull_request) Has been skipped
darwin / detect relevant changes (pull_request) Successful in 15s
darwin / darwin docs-only no-op (pull_request) Has been skipped
darwin / build felis (aarch64-darwin) (pull_request) Successful in 53s
darwin / publish felis (aarch64-darwin) (pull_request) Has been skipped
windows / detect relevant changes (pull_request) Successful in 13s
windows / windows docs-only no-op (pull_request) Has been skipped
windows / cargo nextest (Windows) (pull_request) Successful in 3m9s
windows / frontend smoke (Windows) (pull_request) Successful in 33s
windows / package felis (x86_64-pc-windows-msvc) (pull_request) Has been skipped
bench / Criterion regression gate (pull_request) Failing after 14m31s
fuzz / cargo fuzz smoke (per target) (pull_request) Failing after 9m8s
pr / nix flake check (pull_request) Successful in 32s
pr / cargo build / clippy / test / deny (pull_request) Successful in 2m17s
pr / wire schema is compatible with the base (pull_request) Successful in 5s
pr / frontend smoke (x86_64-linux) (pull_request) Successful in 27s
pr / publish felis (x86_64-linux) (pull_request) Has been skipped
windows / cargo clippy (Windows cross) (pull_request) Successful in 31s
bd3d69728e
pr.yml and release.yml spelled out the clippy, nextest, deny and wasm32
commands that the justfile also carries as `lint`, `test`, `deny` and
`check-portable`, with "(mirrors pr.yml)" comments as the only link
between the copies, and they had drifted: `just test` added
`--all-targets`, so the local gate ran the benches in test mode and CI
did not. CI now calls the recipes, as fuzz.yml, kani.yml and `just
test-gpu` already did. `just test` drops `--all-targets` rather than CI
gaining it: clippy already compiles every target, the nightly snapshot
runs every bench, and the extra link work would land on the
capacity-one nix runner that dominates PR latency.

The Python tools' self-tests were spread over three workflows: bench.yml
ran the bench orchestrators' suites twice and only on bench-relevant
paths, pr.yml ran compat's and verify's in two different jobs, and
`just check` ran neither bench suite. `just selftest` collects all five
and runs once in the build job.

Assisted-by: Claude Code
natsukium scheduled this pull request to auto merge when all checks succeed 2026-09-26 10:53:58 +09:00
natsukium deleted branch ci/gates-through-just 2026-09-26 11:47:17 +09:00
Commenting is not possible because the repository is archived.
No description provided.