Repository navigation
Description
What's the problem
While validating pithead#3009, PR #3011, a tier4-e2e request on 8089d033028df0101d018a6bcdc91cd87c5dad88 with options.phases=["safety-backup"] and no_rig=true was rejected before job creation:
422 invalid_options: phase(s) not available at this commit: safety-backup
There is no job id because admission rejected the request. The available phases include lifecycle, but not safety-backup. Pithead's harness has a --safety-backup flag; it is a prerequisite modifier rather than a phase selectable by the runner. The producer PR documentation incorrectly called it a selectable phase and is being corrected in that PR.
Expected improvement: provide or document an explicitly supported backup-only selection for focused safety-backup producer validation, without silently expanding to unrelated lifecycle operations. The existing API correctly rejects an unsupported phase; this report records the workflow/API mismatch rather than alleging a runner execution failure. Until a backup-only selection exists, the developer uses the smallest supported backup/restore leg, lifecycle, with no rig, and records that scope in the PR. No managed bench, lock, payout configuration or credential was changed manually.
Moved from p2pool-starter-stack/bench-ci#1076 by the runner's triage: The request is to add or document a focused selection in Pithead’s own harness for validating its safety-backup producer, while bench-ci admission correctly rejects an unsupported phase. (recreated: GitHub cannot transfer out of a private repo).
what it impacts
Impact is not separately established in the existing report; confirm the affected users or behavior.
How I found it
Discovery details are not separately established in the existing report; preserve and verify the evidence already recorded.
how important is it
Importance has not been assessed explicitly; triage must state the priority and its reason.
acceptance criteria
Acceptance is not isolated in the existing report; the agent must identify a testable outcome before implementation.
possible solutions
No distinct solution options are recorded; investigate the existing report before choosing an approach.
Activity
pithead-developer commentedon Oct 19, 2026
Questions before work continues (answer here, then remove the
questionlabel):Does #3012 require a new backup-only selector, or is correcting the documentation to identify the modifier and disclose lifecycle’s broader scope sufficient acceptance? My default is the documentation correction because the issue permits documentation and the linked producer work is parked.
pithead-architect commentedon Oct 19, 2026
Ruling: Correcting the lifecycle fallback documentation alone does not satisfy the requested focused selection. First check whether an existing supported invocation performs only the safety-backup operation and its necessary prerequisites; document and verify it if present. Otherwise implement a bounded backup-only selector in Pithead’s harness, coordinating bench-ci admission only if necessary. Acceptance must demonstrate that unrelated lifecycle operations do not run. Document
--safety-backupaccurately as a modifier and disclose the broader lifecycle fallback meanwhile. Harness changes require completed tier4-e2e evidence on the current head; parked producer work is not itself a dependency.pithead-developer commentedon Oct 19, 2026
Waiting on a transient bench_outage condition, not on another issue. Current-head tier4-e2e submission and its same-key retry failed with urlopen error [Errno 65] No route to host; no job ID returned. The runner re-checks it (first at 2026-10-19T14:34Z, at most 5 times).
pithead-developer commentedon Oct 19, 2026
Questions before work continues (answer here, then remove the
questionlabel):A bench_outage condition has held since 2026-10-19T14:19Z through 5 re-checks: tier4-e2e resubmission refused: 503 draining: the runner is shutting down; retry shortly. No job ID returned. Give the worker one bounded recovery step, or identify a genuine dependency; default: the worker re-checks and resubmits.
pithead-architect commentedon Oct 19, 2026
Ruling: Stop scheduled resubmissions and return blocked on bench-ci#2125, whose latest trusted report identifies an intentional owner maintenance hold. Reuse that existing manual infrastructure ticket; retain this implementation issue, worktree and PR #3531. After the owner releases the hold and admission is verified available, reconcile the preserved submission key and submit once if absent, selecting backup-only without mode. Return waiting with any confirmed job in bench_jobs. Completed current-head tier4-e2e evidence, required checks, agent PASS and subsequent formal owner approval remain required; do not widen to lifecycle or bypass the hold.
pithead-developer commentedon Oct 19, 2026
Blocked on bench-ci#2125: its latest trusted report identifies an intentional owner maintenance hold, which prevents required current-head
tier4-e2eproof.The backup-only implementation, documentation, 72-assertion suite, related local checks and clean source reviews are retained in draft PR #3531 at
39bbb06c5ead7753e996e8f2fb38609915bb7f53. No job ID is confirmed, and scheduled resubmissions have stopped.The owner must release the hold and verify admission available. Then reconcile the preserved submission key, reuse a confirmed job or submit once if absent, selecting
backup-onlywithno_rig=trueand nomode. Completed current-head evidence, green required checks, agent PASS and subsequent formal owner approval remain required; this change will not widen to lifecycle or bypass the hold.pithead-developer commentedon Oct 19, 2026
Blocked on p2pool-starter-stack/bench-ci#2125. Blocked on bench-ci#2125: the trusted report identifies an intentional owner maintenance hold that prevents required current-head tier4-e2e proof. Implementation, tests, documentation and source reviews remain intact in draft PR #3531; blocker explanations are posted on both the issue and PR. The owner must release the hold and verify admission before submission reconciliation resumes; completed evidence, required checks, agent PASS and subsequent formal owner approval remain required.
The runner resumes this issue when that one closes.
14 remaining items
fix(integration): clean an interrupted backup-only archive
fix(integration): accept the logical stack path and guard the failure…
fix(integration): publish the safety archive only after validation
fix(integration): pin the safety archive to the CLI's backups name
fix(integration): keep the archive from the start of safety recovery
docs(testing): give the recovery steps after an interrupted backup-on…
test(integration): use an absolute symlink target in the backup-only …
pithead-developer commentedon Nov 1, 2026
Waiting on a transient bench_outage condition, not on another issue. tier4-e2e submit for pithead@0f1a2487cf4d9058695c9c86453af7119d383669 refused twice: 503 draining, the runner is shutting down. No job created; retry with idempotency key d74d2fc9a5e44edcb72c4d29e9b48e86. The runner re-checks it (first at 2026-11-01T13:09Z, at most 5 times).
pithead-developer commentedon Nov 2, 2026
Blocked on #3844. The one failing required check on PR #3824 (head 9545563) is "Container bridge awk portability (Debian 12)". It prints "Bridge awk: 45 passed, 0 failed" and then exits 1, because tests/stack/standalone/test_bridge_awk.sh hard-codes 9 passes. It fails the same way on develop-v2.1.0 itself and this PR touches no bridge or awk file. Issue #3844 is open and its fix, PR #3845, is also open, so folding the count change in here would duplicate it. Finished: the backup-only change, its 108-assertion selftest, bench job 3335 (passed on this head), clean verifier and security reviews, and the explanation posted on the PR. To unblock, #3845 needs to merge into develop-v2.1.0 (the owner or its reviewer can clear it). On resume I will merge the base into this branch, rerun the shell gates, resubmit the focused backup-only job on the new head and update the PR body.
The runner resumes this issue when that one closes.
test(integration): exclusive backup-only safety-backup selection (#3824)
pithead-developer commentedon Nov 2, 2026
Merged in #3824.