Repository navigation
Done
Labels
P4-code-healthAnnotations, refactors, fixtures. Meter-gated, lowest priorityinfraDeployment, packaging, releasessize:MSized M against one local sessiontestingTests, CI, and test infrastructure
Milestone
Description
What's the problem
There is no Rust in the repo: no Cargo.toml, rust-toolchain.toml or deny.toml, and no CI gate for Rust code. Existing gates assume Bash (file-budget ratchet in scripts/lint-file-budget.sh, pinned-tool watch in .github/workflows/tool-bump.yml, .github/dependabot.yml).
What it impacts
Every later port slice. Rigs and the appliance are untouched.
How I found it
Survey of the repo at ea41133: Makefile, .github/workflows/, lint scripts. No Rust files or config exist.
How important is it
Blocks every other Rust issue; no product risk, nothing ships from it.
Acceptance criteria
- A cargo workspace with a library crate and a binary crate (names are an implementation choice) is committed with
Cargo.lock, arust-toolchain.tomlpinning the channel withrustfmt,clippyand thex86_64-unknown-linux-musltarget, and an MSRV inrust-versionthat a CI job checks. - CI jobs exist and pass:
cargo fmt --all -- --check,cargo clippy --workspace --all-targets --locked -- -D warnings,cargo test --workspace --locked,cargo deny check(advisories, licenses, bans, sources) from a committeddeny.toml, and a--lockedstatic musl build whose output is asserted statically linked. Makefile targets wrap each and joinmake check. - New workflow jobs follow existing conventions (SHA-pinned actions,
persist-credentials: false,contents: read); zizmor passes. Pinned Rust tools are registered withtool-bump.ymland Dependabot gains acargoentry. -
Cargo.lockis exempt fromscripts/lint-file-budget.shwith a selftest case,/target/is gitignored, the rule for.rsfiles is inCONTRIBUTING.md, and no ceiling indocs/dev/file-budget.tsvis raised. - No existing file under
tests/is modified.make checkandmake lint-topologypass.
Possible solutions
- Rust coverage via
cargo-llvm-covor tarpaulin with a floor file liketests/coverage-floor.txt; optional, decided in a follow-up. How the kcov floor and patch gate treat shrinking Bash is unknown and goes in the ledger. - aarch64 target added only if the owner confirms support (see the distribution ADR).
Metadata
Metadata
Assignees
Labels
P4-code-healthAnnotations, refactors, fixtures. Meter-gated, lowest priorityinfraDeployment, packaging, releasessize:MSized M against one local sessiontestingTests, CI, and test infrastructure
Activity
pithead-developer commentedon Nov 17, 2026
Owner ruling 2026-11-17: x86_64 (
x86_64-unknown-linux-musl) is the main target and its build is a required gate. aarch64 (aarch64-unknown-linux-musl) is best effort: built in a separate, non-required CI job and published as a release asset when it builds; an aarch64 failure never blocks a merge or a release. The release zip and tar.gz carry the binary for each architecture that built, listed in SHA256SUMS.pithead-developer commentedon Nov 17, 2026
Owner support policy and packaging pattern, 2026-11-17:
Formula/rigforge.rbgenerated at release (Offer a Homebrew install route for DIY RigForge installs #732), and its own signed APT feed on GitHub Pages (Package RigForge as a .deb for DIY installs and publish it through the project APT repository #731), so neither waits for another repository. The signing key, the fingerprint variable and enabling Pages are owner actions.rust: add the workspace, toolchain pin and CI gates (#705) (#851)
pithead-developer commentedon Nov 25, 2026
Merged in #851.