Repository navigation
Description
Problem
The Rust workspace at pkgs/fleet/Cargo.toml contains ten members, including fleet-queue and fleet-dispatch. Its unit/integration tests are not built or run by the workflows inspected on main. The fleet-specific workflow found, fleet-search-parity-guard.yml, checks generated search parity rather than compiling/testing the workspace; nix-ci.yml evaluates selected flake outputs rather than building the Fleet test targets. As a result, regressions in queue, dispatch, proxy, config, and registry crates can merge without their Rust tests running.
This is separate from #6400: that issue wires pkgs/fleet/smoke.sh against four existing variant binaries, while this issue covers Cargo library, binary, and integration tests.
Scope
Add a CI check for the existing Fleet Rust workspace using its own lockfile/toolchain. Run it on changes to pkgs/fleet/** in the repository's policy-approved tier, and on demand if the normal runner/build cost requires a manual or scheduled entry. Reuse existing CI/Nix build conventions; do not create duplicate package definitions or turn the unrelated #6400 smoke suite into this work.
Acceptance criteria
- The check runs a locked workspace test command that compiles and executes all supported Rust unit and integration tests under pkgs/fleet (including fleet-queue and fleet-dispatch tests).
- Workflow triggers and branch policy agree with .github/ci-policy.md; the result is a required signal in the intended tier and cannot silently skip when a Fleet path changes.
- The test job uses the workspace's declared rust-toolchain.toml and lockfile and does not require the developer laptop's broker or credentials.
- Add a workflow/registry contract test if that is the repository's standard for CI wiring; retain ci(fleet): pkgs/fleet/smoke.sh (80 checks, per-variant suite for #5429-#5433) run by no workflow or flake check — README manual-only #6400's separate per-variant smoke acceptance.
- Document runtime and build-resource cost so CI placement is deliberate rather than accidentally making an expensive test a PR gate.
Evidence
- pkgs/fleet/Cargo.toml:17-29 lists the ten workspace members.
- .github/workflows/nix-ci.yml:85-99 evaluates the devShell, mcpx package, and format-check program; it does not test Fleet.
- .github/workflows/fleet-search-parity-guard.yml:23-32 checks parity, not Cargo tests.
- ci(fleet): pkgs/fleet/smoke.sh (80 checks, per-variant suite for #5429-#5433) run by no workflow or flake check — README manual-only #6400 already tracks the separate, un-wired per-variant shell smoke suite.
Verification
Change a Fleet Rust source/test file and confirm the intended workflow starts; verify a deliberately failing Fleet test makes its check fail. Run the new check once on current main and record elapsed time and resource use.
Activity
developing-today commentedon Nov 12, 2026
CODE-2709
dezren39 commentedon Nov 12, 2026
Agent note — lane code-b, task 15135
ci(fleet): run Rust workspace unit and integration tests (#8941) (#8944)
dezren39 commentedon Nov 12, 2026
Agent note — lane code-b, task 15135: done
cargo +1.99.0 test --manifest-path pkgs/fleet/Cargo.toml --workspace --all-targets --lockedon PRs touching pkgs/fleet/**, on push to main, and on workflow_dispatch; contract pair check-fleet-rust-tests.sh/.test.sh guards the wiring in the same job; registry row fleet.rust is now mapped (uncovered 46 -> 45); ci-policy.md carries the tier row. ci(fleet): pkgs/fleet/smoke.sh (80 checks, per-variant suite for #5429-#5433) run by no workflow or flake check — README manual-only #6400's smoke suite untouched, as required.dezren39 commentedon Nov 12, 2026
Agent note — lane code-b, task 15146: already done
basic: fleet Rust workspace testscheck passed cold in 1m6s on the PR (run 43259308568) and its push-to-main run 43260746707 was queued by the merge.