Repository navigation
Open
Description
What's the problem
The realupgrade phase (PR #4274, #4193) leaves these #4193 acceptance criteria unmet, because they need inputs the bench and the published N-2 image do not provide today:
- AC2: a warm Tor directory from a real boot, a pruned-chain fixture, and a certificate minted by the old version with a late ULA address (extending tests/os/image-upgrade-certificate-leg.sh). The phase seeds chain sentinels only.
- AC3: cosign verification through the release's code path and candidate images pinned by the digests the tree carries. The phase builds a dev-signed candidate from the bench registry mirror and reads the signing cert from the bundle.
- AC3 follow-on: the phase cannot take a signed release candidate, so it always patches the scratch N-2 copy (keyring append and
/etc/pithead-variant=debug). Taking a signed candidate and patching only when it is test-signed belongs with the digest-pinned signed candidate above. - AC5: accepted shares on a stratum client. The phase asserts only that the stratum port accepts a connection after the extra reboot, because the bench has no synced chain behind the proxy.
- AC6: the rollback-cause rows (
interruptedtrue and the blocking text) are asserted from N-2 v2.0.3, the first published build carrying the Dashboard asks for a second reboot while the new slot is verifying, which rolls back a healthy update #3909/A rolled-back update leaves config.json stamped by the newer version, so the old version blocks saving #3910 fixes (itsos/overlay/pithead-bootrecords the cause); v2.0.2's own code records an empty cause (red evidence, PR os: fix #4193 — realupgrade phase: an aged published appliance upgraded through the dashboard #4274 job 603), so on a v2.0.2 start the row stays a countedmissingskip. PR os: fix #4193 — realupgrade phase: an aged published appliance upgraded through the dashboard #4274 job 4679 started from v2.0.3 but still skipped the row because the threshold was set to v2.0.4; head 2757b1a corrects it to v2.0.3, and itsrealupgrade-negctljob is the green run. This item closes with PR os: fix #4193 — realupgrade phase: an aged published appliance upgraded through the dashboard #4274 once that job passes. - AC1/AC4: the typed REBOOT prompt. The dashboard gates it in the browser with no API surface, so the phase posts the reboot action.
What it impacts
The release battery's assurance that an owner-style upgrade keeps a late-address certificate, a warm Tor state and live mining, and that the signed release path installs the exact candidate.
How I found it
Reviewer findings on PR #4274 against #4193's acceptance criteria; the PR body lists each gap with its reason.
How important is it
Medium: the phase already proves the dashboard upgrade, the soak, and the rollback; these are the remaining fidelity gaps. Unknown which of them the owner wants before 2.0.5.
Acceptance criteria
- The aged guest carries a warm Tor directory from a real boot and a late-ULA certificate minted by the old version, and the soak shows the fingerprint and SANs unchanged.
- A stratum client submits a share that the guest accepts before the update and after the extra reboot, on a bench with a synced chain or a fake pool.
- The phase accepts a signed release candidate and patches the scratch N-2 copy only when the candidate is test-signed; with a signed candidate it boots the published image unmodified.
- The candidate bundle is signed and its images are pinned by digests the tree carries; the verify step runs the release's cosign path.
- A negctl run from a published N-2 carrying the Dashboard asks for a second reboot while the new slot is verifying, which rolls back a healthy update #3909/A rolled-back update leaves config.json stamped by the newer version, so the old version blocks saving #3910 fixes (v2.0.3 or later) asserts the cause rows green on the head, with no leg skip (PR os: fix #4193 — realupgrade phase: an aged published appliance upgraded through the dashboard #4274).
- A Playwright or browser leg types REBOOT in the dashboard and the phase follows it.
Possible solutions
- Reuse the image-upgrade certificate leg's late-address minting inside the aged-guest setup.
- Run the share check against a fake-daemon pool, or on a bench with a synced reserved node.
- Mirror the candidate's digests to a staging registry (infra) and sign with a CI test key.
- Drive the typed prompt with the existing dashboard/tests/browser harness.
Metadata
Metadata
Assignees
Labels
appliancePithead OS appliance work — image, installer, RAUC updates
Activity
pithead-architect commentedon Nov 27, 2026
Release regroom (owner request, 2026-11-27): moved from none to v2.0.6. Follow-up to #4193 (2.0.5) fidelity gaps; no PR.
pithead-developer commentedon Dec 4, 2026
Grouped with #4263, but PR #4675 does not close it: Left out: it covers realupgrade battery-phase fidelity gaps, which need their own tier-4 kvm proof and inputs this Tor and LAN-guard change does not provide.. Released for its own pick.