Repository navigation
Open
Labels
P4-code-healthAnnotations, refactors, fixtures. Meter-gated, lowest priorityblockedWaiting on another issue or a release; the runner clears it when that closesperformanceHashrate / tuning / efficiencysize:MSized M against one local sessiontestingTests, CI, and test infrastructure
Milestone
Description
What's the problem
The port is only worth shipping if it measurably beats the current code and passes everything the current code passes. The default must not flip on feel.
What it impacts
Every rig and the appliance on the release after the flip, and the cost of maintaining two implementations.
How I found it
The agreed method in #669 and the benchmark pattern from pithead#3811 (interleaved repetitions, identical commit except the component, a control arm, the decision rule written before the run).
How important is it
Gate for the whole tracker. Blocked until the owner writes the threshold.
Acceptance criteria
- Owner action: before the final run, the owner writes the saving threshold that justifies flipping the default, in this issue.
- The Measure a baseline and a control arm for the RigForge refresh tick and verbs before porting #704 method is rerun at one head covering the tick, both servers and the verbs, with at least 3 interleaved repetitions per arm (A current, B current plus control arm, C Rust), warm-up discarded, reported as measured including null or negative results. The report is class-level only: no hostnames, addresses or paths (
make lint-topologypasses). - At that same head,
make test-suitepasses unchanged in default mode and withRIGFORGE_IMPL=rust, the contract fixtures byte-match, andmake checkpasses in the author's checkout and in a clean worktree. - The ledger states per verb and component native or fallback, and whether
python3andjqremain runtime dependencies. - Pithead confirms the image carries the binary (Paired Pithead issue: carry the prebuilt RigForge binary in the image #710); remote upgrade and rollback were exercised from a tag containing it, or the ledger records not run; the owner has run
make e2e-realandmake e2e-pitheadin rust mode, or the ledger records them as not run. - If the threshold is met, one PR flips the
RIGFORGE_IMPLdefault torust; if not, the tracker closes with the results recorded.
Possible solutions
- Keep the flip as its own PR so it is revertible by a one-line change.
- Keep the Bash dispatcher permanently for hardware-bound verbs the port did not cover.
- Unknown: the owner's threshold; this issue cannot set it.
Metadata
Metadata
Assignees
Labels
P4-code-healthAnnotations, refactors, fixtures. Meter-gated, lowest priorityblockedWaiting on another issue or a release; the runner clears it when that closesperformanceHashrate / tuning / efficiencysize:MSized M against one local sessiontestingTests, CI, and test infrastructure
Activity
Hold #729 docs until the Rust binary ships
pithead-architect commentedon Nov 27, 2026
Blocked by the port issues #704, #709, #711, #712, #713, #717, #719, #720 and #725 (native links present).
pithead-architect commentedon Nov 27, 2026
Owner decision (2026-11-27) on the flip threshold: switch RigForge's default to the Rust implementation only if CPU per refresh tick drops at least 2x with identical output and no test-suite regressions. This issue now waits only on the ports.