Skip to content

Release pending: pithead 2.0.4 #4302

Done

Description

@pithead-developer

What's the problem

Pithead 2.0.4 is not cut yet, and nothing records that fact in a form other issues can depend on. Work that must wait until 2.0.4 ships, such as forward-merging develop into develop-v2.1.0 or starting the post-2.0.4 lines, has been parked with manual hold labels that nothing releases automatically.

What it impacts

Every issue that may only start after the 2.0.4 cut. It also affects the release-cut steps that close this issue: tagging, publishing the appliance image and signed bundle, and moving the patch milestone to v2.0.5.

How I found it

A review of the open operator holds on 2026-11-20 found 13 holds whose only condition was "after the 2.0.4 cut", with no issue to link them to.

How important is it

High for flow: it replaces hand-cleared holds with native blocked_by links that clear themselves when this issue closes. It carries no code.

Acceptance criteria

  • This issue closes only when v2.0.4 is tagged and published, with the release URL in the closing comment.
  • Issues that wait for the cut link to this issue natively (blocked_by) and carry no hold label for that reason.
  • After it closes, every issue that was blocked only on it becomes pickable without manual label changes.

Possible solutions

Close this issue as the last step of the 2.0.4 cut, after the release is published and verified. Remaining 2.0.4 work stays in milestone v2.0.4; this issue tracks only the cut itself.

Activity

  1. added this to the v2.0.4 milestone on Nov 20, 2026
  2. added
    release
    tracker
    on Nov 20, 2026
  3. pithead-developer commented on Nov 22, 2026

    @pithead-developer
    ContributorAuthor

    2.0.4 release gate record

    Cut SHA: fe96554ed691d973f2da84f2bff136d438a2741c (squash merge of #4344; VERSION 2.0.4, CHANGELOG [2.0.4] - 2026-11-22). Release ref release/fe96554ed691d973f2da84f2bff136d438a2741c.

    KVM battery (bench-ci tier4-kvm, seven jobs on the cut SHA, all success):

    Job Phases Result Time
    4412 boot, update, install success 224 min
    4413 rig, rigmedia, media success 48 min
    4414 fault, reset success 75 min
    4415 image-upgrade success 35 min
    4427 stack success 58 min
    477 (local) provision, setup-defaults, against the seeded baseline f2a2bd0 success 145 min
    400 (local) crossupdate from v2.0.3 (d563358) success 23 min
    • STACK was resubmitted as 4427 onto an idle bench; the first copy (4416) was cancelled before it started.
    • A backup BOOT run (4429) was started in case 4412 hit its timeout, and cancelled once 4412 passed.

    Wallet preparation: 717 success; 1042 success (it ran after the first e2e attempt).

    Status-gated e2e: job 4433 (targeted, after 4412, 4413, 4414, 4415, 4427): failure, 324 pass / 1 fail / 7 skip. The one failed row is durable rows (incl. the kv_store payout-wallet baseline, #375) survived the carry with rows diverged after the move (before=4462 after=4463 missing: shares x1): a live share landed during the dashboard data_dir move. That is the known harness race #4174 (milestone v2.0.6), not a 2.0.4 change; in the last week the row passed in 24 of the 25 e2e runs that reached it. Rerun on the same cut and the same KVM legs: job 4452, result to follow.

    bench-ci/tier4 on the cut SHA: failure posted 07:41:35Z by the first attempt; the rerun's verdict replaces it (bench-ci#2242). The draft is not cut until it reads success.

    Pins: resolve-pins.sh reported UNCHECKED at the cut on 00:36Z because Docker Hub returned 429. The gate ran on the tree proven at #4344's reviewed head (tree eee01bf1, identical to the cut tree). A fresh run of resolve-pins.sh at the cut SHA on the release host passed (exit 0) at about 06:05Z, and the release dry run passed (exit 0).

    Hardware battery: waived for 2.0.4 by the owner (2026-11-22). Accepted residual risk: unaided power return after a wall cut, real-firmware boot and real-controller disk handling, and MSR/hugepages/hashrate on the image's rig role with RigForge 1.19.0. Follow-up automation: #4352, #4353, #4354.

    Next: the owner approved cutting the draft; the operator runs make release ARGS="--draft -y" on the release host, then builds, verifies and attaches the appliance image and RAUC bundle (no data migration: PITHEAD_DATA_MIGRATION=false, empty PITHEAD_MIN_OS_VERSION). The owner reviews and publishes.

  4. pithead-developer commented on Nov 22, 2026

    @pithead-developer
    ContributorAuthor

    2.0.4 gate: e2e attempt 2 failed on a test-rig fault; attempt 3 queued

    Attempt 2, job 4452 (same cut, same KVM legs): failure, 154 pass / 1 fail / 5 skip. The failed row is supplied rig exposes its enriched feed after control setup (worker '<rig>' never appeared), and the lifecycle, auth-fail-closed and svc-restart phases were skipped because of it.

    Root cause: the borrowed test rig, not the release.

    • The dashboard found the rig's worker online, with its API answering and the rig adopted, but the rig's enriched feed was stale, with no version, generated_at 2026-11-20T23:56:16Z.
    • On that rig, the RigForge sister-API refresh rewrites its public summary and health files every 10 seconds, but its authenticated summary has not been rewritten since 2026-11-20 23:56Z. The run's probe log classifies the refresh as an http-auth-refusal.
    • The other test rigs refresh all four files.
    • The same row failed on the same rig in an unrelated developer e2e on 2026-11-21 at 21:25Z.
    • Attempt 1 (job 4433) ran the same row on a different rig and passed it.

    The rig is held for inspection and will be repaired separately. That rig is the only one still on RigForge 1.18.0; the others are on 1.19.0, which 2.0.4 bakes in.

    Attempt 3: job 4454, same cut and the same after legs. It is queued at priority 10 and waits for a healthy rig, which is busy with the develop nightly until about 09:10Z. The draft is still not cut until bench-ci/tier4 reads success.

  5. pithead-developer commented on Nov 22, 2026

    @pithead-developer
    ContributorAuthor

    2.0.4 gate: e2e attempt 3 failed on an intermittent Tor check timeout; attempt 4 running; draft not cut

    Attempt 3, job 4454 (same cut, same KVM legs, a healthy rig): failure, 323 pass / 2 fail / 7 skip. The carry row (attempt 1's failure) and the rig-control row (attempt 2's failure) both passed this time. The two failed rows are one event:

    • healthy Tor recovery check exits 1 (#3262): expected rc 1, got 124 (the command hit its timeout instead of refusing).
    • healthy Tor recovery check names its guard (#3262): the refusal text was missing, because the command never returned.

    The neighbouring Tor rows passed: the healthy-Tor bootstrap-stall refusal, the authenticated recovery diagnostic, and the egress firewall during recovery.

    How rare it is: this row passed in attempt 1 on the same cut and the same bench, and in all of the roughly 30 tier4-e2e runs that reached it over the past 8 days. This is its first failure in that window.

    Across the three attempts, every row has passed at least once on this cut. No single run is fully green yet, and bench-ci/tier4 currently reads failure.

    Now:

    • Attempt 4: job 4457, same cut and the same after legs.
    • Tor triage: a check of whether this timeout could be a 2.0.4 regression is under way (2.0.4 changes Tor code), and the result will be posted here.
    • Draft: not cut. After three different single-row failures, the owner decides on the cut, even if attempt 4 is green.
  6. pithead-developer commented on Nov 22, 2026

    @pithead-developer
    ContributorAuthor

    Tor check triage (attempt 3)

    Investigated and filed as #4358 (milestone v2.0.5).

    • Cause: since Tor auto-heal: advance past a rejected NEWNYM to state reset and restart (#4075) #4095, tor-recover check resamples circuits after sleep 60 when the first sample reads wedged. A healthy Tor can read wedged for a moment right after the stack restarts. The tor-recover check reports an unexpected abort for an expected guard refusal #3262 probe allows 60 s, so on that path it always gets rc 124.
    • User impact: none harmful found. The check is read-only, and apply still needs two wedged samples plus egress down. In that state the check holds the host lock for 60-90 s or more, so other host operations report busy.
    • Rate: one of the three e2e jobs that contain the new code and reached the probe failed it, so it may recur on reruns.
    • Fix: test-only (a larger probe budget) or a product refinement (no resample in check). Either means a new commit and a new gate, so it is filed for 2.0.5 rather than folded into this cut.

    Attempt 4 (job 4457) is still running. The cut decision stays with the owner.

  7. pithead-developer commented on Nov 22, 2026

    @pithead-developer
    ContributorAuthor

    2.0.4 gate: e2e attempt 4 failed; reruns stopped for the owner's decision

    Attempt 4, job 4457 (same cut, same KVM legs, a healthy rig): failure, 323 pass / 1 fail / 7 skip. The failed row is dashboard.data_dir carry applied and returned healthy, and the harness also lists apply mining precondition. In the carry's apply log, the dashboard helper's GET to xmrig-proxy's /1/workers API on port 3344 failed with a connection error: the proxy was not listening yet when the apply's mining precondition ran, after the stack was recreated. The Tor row (attempt 3) and the carry durable-rows row (attempt 1) passed this time.

    Summary across four attempts on the cut: each failed exactly one, different, timing-sensitive row, and every row has passed in at least one attempt.

    Attempt Job Failed row Cause
    1 4433 durable rows survived the carry known race #4174
    2 4452 supplied rig exposes its enriched feed test-rig fault (stale authenticated feed)
    3 4454 healthy Tor recovery check exits 1 #4358 (tor-recover check resample vs 60 s probe)
    4 4457 carry applied and returned healthy proxy not yet listening at the apply mining precondition; triage under way

    Attempts 3 and 4 both sit at stack-restart boundaries that 2.0.4 touched. The triage of attempt 4 asks whether a user running pithead apply can hit the same failure. No more automatic reruns: the owner decides between more reruns, fixing on a new cut, or another path. The draft is not cut.

  8. pithead-developer commented on Nov 22, 2026

    @pithead-developer
    ContributorAuthor

    Attempt 4 triage: harness timing, not a product regression

    Filed as #4359 (milestone v2.0.5).

    • What happened: the 2.0.4 guard (Stop serving stratum work while the node is stale so rigs fail over to their backup pool #4046) deliberately stopped xmrig-proxy because P2Pool briefly reported monerod unsynced after the restore step. Readmission needs about 3 minutes, but the lifecycle mining precondition gives up after 60 s, so the real pithead apply never ran in that step.
    • User impact: none found. apply does not read the proxy API, and the guard behaved as designed.

    Net for the gate:

    The cut decision is the owner's.

  9. pithead-developer commented on Nov 23, 2026

    @pithead-developer
    ContributorAuthor

    Re-gate started on the new cut, 8f047c47dd4b3ba8e2399ff3243404d990ea902d (develop after #4372; VERSION 2.0.4, CHANGELOG [2.0.4] - 2026-11-23).

    The release is not published; the owner publishes.

  10. pithead-developer commented on Nov 23, 2026

    @pithead-developer
    ContributorAuthor

    2.0.4 is on hold by owner decision (2026-11-23 ~16:50Z) until the gate test races in #4388 are fixed and the rig leg is re-gated.

    Gate state on 8f047c47dd4b3ba8e2399ff3243404d990ea902d:

    Next steps:

    1. A test-only PR for Release-gate KVM timing flakes: rig #3375 receipt window, fault E stop check, reset compose-down #4388.
    2. Re-gate the rig leg and the status-gated e2e on the new develop commit. Its product tree must match 8f047c47 outside tests/.
    3. Cut the draft.

    The release is not published; the owner publishes.

  11. pithead-developer commented on Nov 23, 2026

    @pithead-developer
    ContributorAuthor

    #4373 (tier4-e2e lifecycle backup→restore refused on develop-v2.0.5) waits on this cut. After 2.0.4 ships, forward-merge develop into develop-v2.0.5 as well as develop-v2.1.0 (#4175), taking develop's VERSION. Both lines are at 2.0.3 while the seeded bench config is stamped 2.0.4, and per #3664 that stamp is not rewritten.

  12. pithead-architect commented on Nov 24, 2026

    @pithead-architect

    Re-cut: 2.0.4 is now cut at 2963919798a933972bd0c45fe660a95f3e2264e0 and the full gate is running.

  13. pithead-architect commented on Nov 24, 2026

    @pithead-architect

    Re-cut: 2.0.4 is now cut at 2f8a9d4b346a5bb57b958919f694abe4a979ca89, and the full gate is running.

    • Why the 2963919 cut was stopped: its rig leg failed one row, "the release API was not fetched over Tor", because GitHub rate-limited the Tor exit with HTTP 403. A 403 still proves the request crossed a working circuit, so the check now accepts any HTTP status that arrives through the helper (tier4-kvm rig: accept any HTTP status as proof the Tor helper fetched over a circuit #4482, merged after owner approval).
    • Boot leg on that cut: its failure came from a fleet-wide DNS outage at about 09:18Z, which the bench logs record, not from the product.
    • Everything else on that cut: provision, crossupdate, fault, image-upgrade and stack all passed.
    • What this cut adds: it also carries Release gate KVM timing flakes: fault E stop wait, reset compose-down retry, rig failure evidence #4414 (timing fixes for the fault and reset legs and evidence for the rig leg), merged after owner approval.
    • Release state: the release stays a draft until all seven tier-4 KVM legs and the status-gated e2e pass on this commit.
  14. pithead-architect commented on Nov 25, 2026

    @pithead-architect

    The 2.0.4 draft is cut from 2f8a9d4b346a5bb57b958919f694abe4a979ca89.

    • Gate: all seven KVM legs and the status-gated targeted e2e passed on this commit the first time, and bench-ci/tier4 succeeded at 22:22Z on 11-24.
    • make release with --draft exited 0. Its test gate and integration matrix passed, the images were built, smoke-tested, promoted by digest and signed, and the draft was created at 00:34Z.
    • The tag v2.0.4 already exists and points at 2f8a9d4b, so publishing uses that commit. The draft's target branch field is ignored once the tag exists.
    • Seven assets are attached: pithead.tar.gz and its .sig, ingredients-v2.0.4.md, pithead-os-v2.0.4.img.xz and pithead-os-v2.0.4.raucb, each with its .sha256. Both appliance files match their built sizes, and image verification and the keyring check passed (01:08Z).

    The release is not published; the owner publishes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    releasetracker

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions