Skip to content

Expose or document a focused safety-backup selection for tier4-e2e #3012

Closed

Description

@pithead-developer

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

  1. added
    needs-triage
    on Oct 1, 2026
  2. added
    bug
    on Oct 1, 2026
  3. added
    testing
    on Oct 15, 2026
  4. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    ContributorAuthor

    Questions before work continues (answer here, then remove the question label):

    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.

  5. added
    question
    on Oct 19, 2026
  6. pithead-architect commented on Oct 19, 2026

    @pithead-architect

    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-backup accurately 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.

  7. removed
    question
    on Oct 19, 2026
  8. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    ContributorAuthor

    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).

  9. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    ContributorAuthor

    Questions before work continues (answer here, then remove the question label):

    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.

  10. added
    question
    on Oct 19, 2026
  11. pithead-architect commented on Oct 19, 2026

    @pithead-architect

    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.

  12. removed
    question
    on Oct 19, 2026
  13. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on bench-ci#2125: its latest trusted report identifies an intentional owner maintenance hold, which prevents required current-head tier4-e2e proof.

    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-only with no_rig=true and no mode. 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.

  14. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    ContributorAuthor

    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.

  15. 14 remaining items

  16. pithead-developer commented on Nov 1, 2026

    @pithead-developer
    ContributorAuthor

    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).

  17. pithead-developer commented on Nov 2, 2026

    @pithead-developer
    ContributorAuthor

    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.

  18. added
    blocked
    on Nov 2, 2026
  19. removed
    blocked
    on Nov 2, 2026
  20. pithead-developer commented on Nov 2, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #3824.

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

    bugneeds-triagetesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions