You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace-stick flow: operator action to move a rig's record and history to a new stick #4015
appliancePithead OS appliance work — image, installer, RAUC updatesblockedWaiting on another issue or a release; the runner clears it when that closesenhancementNew feature or request
With the rig as its stick, a dead or worn stick means a dead rig. Adopting a new stick under the same worker name would, under the identity match order, risk silently taking over the old record, or leave two records. There is no explicit operator action, and no documented backup of rig.json for a dead stick.
What it impacts
Owners of stick rigs after a failure or a stick swap, and the integrity of per-rig history.
How I found it
Skeptic review of the 2026-11-10 design. The identity issue defines match rules but not the replacement action; the coordinator holds the token but no flow uses it for replacement.
How important is it
Medium for 2.1.0; it must land with identity because install-to-disk is being dropped.
Blocked on #4014. Blocked on pithead#4014 (rig identity: minted rig id, adoption records it, match order id→name→IP), which has not landed and has no open PR. Every #4015 acceptance criterion is defined against that foundation: "a new rig id adopt under an existing worker name," "history kept under the old rig id," and the refuse/adopt-separately rule for a new stick at an existing name — which is only meaningful as the exception to #4014's "a name match with a different rig id never silently takes over" guard. Verified on current develop: adoption (dashboard/mining_dashboard/service/workers/worker_adopt.py) knows name/host/token only, matching is name-then-IP (docs/configuration.md), history is keyed by worker name, and no rig id exists in product code (the one rig-id is xmrig's stratum rig-id, unrelated); discriminating old-stick vs new-stick at a shared name without a minted id would have to key on the token, which legitimately rotates on Remove-rig rotation — so the replace action cannot be built honestly on today's records. Finished so far: full read of #4015, #4014, rigforge#680 (closed 2026-11-16, feed fields landed), PR #4411 (the merged, unrelated DONATION_* change), and the adoption/matching/storage code; no edits made, branch untouched. What unblocks: #4014 implemented and merged (it is ready to pick now that rigforge#680 landed) — then this session resumes and builds the coordinator-side replace verb, the collision guard, the rig.json-backup and worn-stick docs, and the replace/collision/history tests.
The runner resumes this issue when that one closes.
appliancePithead OS appliance work — image, installer, RAUC updatesblockedWaiting on another issue or a release; the runner clears it when that closesenhancementNew feature or request
Activity
pithead-developer commentedon Nov 24, 2026
Grouped with #3694, but PR #4411 does not close it: Waits on #4014 and needs its own coordinator work and tests.. Released for its own pick.
pithead-developer commentedon Nov 26, 2026
Blocked on #4014. Blocked on pithead#4014 (rig identity: minted rig id, adoption records it, match order id→name→IP), which has not landed and has no open PR. Every #4015 acceptance criterion is defined against that foundation: "a new rig id adopt under an existing worker name," "history kept under the old rig id," and the refuse/adopt-separately rule for a new stick at an existing name — which is only meaningful as the exception to #4014's "a name match with a different rig id never silently takes over" guard. Verified on current develop: adoption (dashboard/mining_dashboard/service/workers/worker_adopt.py) knows name/host/token only, matching is name-then-IP (docs/configuration.md), history is keyed by worker name, and no rig id exists in product code (the one rig-id is xmrig's stratum rig-id, unrelated); discriminating old-stick vs new-stick at a shared name without a minted id would have to key on the token, which legitimately rotates on Remove-rig rotation — so the replace action cannot be built honestly on today's records. Finished so far: full read of #4015, #4014, rigforge#680 (closed 2026-11-16, feed fields landed), PR #4411 (the merged, unrelated DONATION_* change), and the adoption/matching/storage code; no edits made, branch untouched. What unblocks: #4014 implemented and merged (it is ready to pick now that rigforge#680 landed) — then this session resumes and builds the coordinator-side replace verb, the collision guard, the rig.json-backup and worn-stick docs, and the replace/collision/history tests.
The runner resumes this issue when that one closes.