Repository navigation
Description
What's the problem
Nothing proves a stick rig runs with no coordinator: mining to a Pithead's stratum as a plain pool with no pairing, while still serving its feed and API on the LAN. rigmedia.sh always runs the paired (RigForge-answered) shape. This is chunk 4 of the split of #4018 and is shared with pithead#4009 ("A KVM leg sets up a rig through 'Another pool' pointed at the CI Pithead's stratum, with no pairing, and reads its feed and API from the LAN"), whose wizard the leg uses. Blocked by pithead#4009.
What it impacts
The standalone stick rig — the owner's 2026-11-10 decision — is a shipped mode with zero automated coverage on the stick layout.
How I found it
Split of #4018 (owner decisions of 2026-11-10); shared with #4009's acceptance criteria.
How important is it
High for 2.1.0; it gates the standalone rig story, but #4009's own leg may land the same coverage — this child exists so it is not lost if that one stays disk-only.
Acceptance criteria
- A stick-booted rig is set up through the 'Another pool' wizard path pointed at the CI Pithead's stratum, with no pairing; it mines (
_rig_mining_up), and its feed and API answer from the LAN (an off-guest reader, not loopback). - The leg uses a Pithead only — no outside pool (owner, 2026-11-10).
- If pithead#4009's own KVM leg already boots a USB-bus stick in this shape, this child adds only the missing assertions and says so in its PR.
- Tier-1 selftest for the pairing-optional verdict; fixtures clean on failure;
rig-battery.md/testing-strategy.mdrows updated.
Possible solutions
- A standalone leg in
rigmedia.shreusing the CI Pithead/remote-pool shape therigphase already boots, with the rig wizard's 'Another pool' answers (shape lands with Rig wizard: mine to a Pithead or any other pool (with TLS choice); stop pinning control to the pool's address #4009).
Parent: #4018
Worker brief: Test tier: tier4-kvm (rigmedia phase), plus a tier-1 selftest. Prereq pithead#4009 (wizard 'Another pool' path, paired boolean) — return blocked naming it if unmerged. Check first whether #4009's own KVM leg already boots the USB-bus stick standalone; if it does, add only missing assertions and note the duplication in the PR, or close with left_out reasoning on the child. Otherwise add a leg: boot the v1 image on the USB bus, set up through 'Another pool' at the CI Pithead's stratum (reuse the remote-pool/CI-Pithead guest shape from tests/os/phases/rig.sh and its helpers; disk=usb, no pairing, paired=false in rig.json), assert _rig_mining_up, an accepted share if the rig phase's pool harness can see it, and read the rig's feed and API from the LAN side (host/virbr, not the guest's loopback), token still required. No outside pool anywhere (owner ruling in #4009). Fail-path cleanup like _rigmedia_fail_cleanup; selftest registered where CI runs it; make lint-file-budget; no comments in edited hunks. Submit tier4-kvm phase rigmedia via bin/bench-submit --base develop-v2.1.0; quote bench-ci evidence unedited.
Activity