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
Lifecycle pool-change row can pass without switching after a preceding scenario #3028
Lifecycle pool-change row can pass without switching after a preceding scenario
what it impacts
Impact is not separately established in the existing report; confirm the affected users or behavior.
How I found it
Observation
While reviewing pithead#2980 / PR #2981, job 2027@b8177ee1a602b9fca2456881c719c6b7fcb66e0c exposed a separate pre-existing lifecycle proof gap. Full status/log and all 24 artifacts were inspected.
The runner applies local-pruned-main-secure-tari immediately before lifecycle. Its captured config selects main and the dashboard reports Main. Lifecycle chooses its alternate from saved BASELINE_CONFIG, which was mini, and prints mini → main. It applies main and then reports pool actually changed (Main). There is no baseline mini apply between the scenario and that lifecycle step. The row verifies only the final pool, so it can pass without lifecycle changing the active sidechain.
This is independent of #2980's omitted-key fallback correction: the same assumption can fail for explicit saved pool choices after a different scenario. The regression added by #2980 checks correct default and alternate selection; the job proves selected main and preserved secrets, but it cannot be claimed as a lifecycle transition.
how important is it
Importance has not been assessed explicitly; triage must state the priority and its reason.
acceptance criteria
Expected
Make the lifecycle sidechain-change assertion establish a different effective starting and ending pool, accounting for the preceding scenario state. Add a regression where the saved baseline differs from the currently selected scenario so a same-pool apply cannot report a successful transition. Preserve payout configuration, secret preservation, restoration and readiness requirements. Keep the repair separate from #2980's default correction.
No live fixture or assertion was changed and no unchanged job was rerun. For #2980's separate runtime proof, a mini-ending scenario before lifecycle can establish an actual transition once the prepared fixture is available; bench-ci#1114 owns that prerequisite.
possible solutions
No distinct solution options are recorded; investigate the existing report before choosing an approach.
Waiting on a transient bench_outage condition, not on another issue. tier4-e2e submission and idempotent retry failed with No route to host; no job reference was returned. The runner re-checks it (first at 2026-10-19T14:19Z, at most 5 times).
Questions before work continues (answer here, then remove the question label):
A bench_outage condition has held since 2026-10-19T14:04Z through 5 re-checks: tier4-e2e submission refused: 503 draining — the runner is shutting down. Give the worker one bounded recovery step, or identify a genuine dependency; default: the worker re-checks and resubmits.
Ruling: Preserve PR #3521 and its worktree; return waiting, blocked on bench-ci#2125. The reported owner hold must be released before another submission. Once supported-client admission is available, reconcile the original key and verify any returned job's full commit and options; an incomplete lookup or mismatched job must stop recovery. Only after explicit no-job confirmation, submit once for tier4-e2e with scenario local-pruned-main-secure-tari and phase lifecycle, omitting explicit mode and retaining the borrowed miner. Record the confirmed job in bench_jobs, then collect completed transition and restoration evidence before review.
Waiting on bench-ci#2125: the owner maintenance hold must be released before another lifecycle submission. PR #3521 and its clean worktree remain preserved at cf3c22093873ac8e90a60395db17eb222dd2a8d6; implementation, focused tests, documentation and verifier/security reviews are complete, while live transition/restoration proof is pending. After the owner releases the hold and supported-client admission is available, reconcile the original idempotency key and verify any returned full commit and options. Stop on an incomplete lookup or mismatch. Only explicit no-job confirmation permits one submission for scenario local-pruned-main-secure-tari, phase lifecycle, without explicit mode and with the borrowed miner retained. Record the confirmed job and collect completed transition/restoration evidence before review.
Reviewer return addressed on d4217369c7fbb469bf6800cc76f5508812ac558a: the failed standalone/tooling job stopped at bash tests/inventory.sh because the new selftest lacked its required section header. The same command reproduced exit 1 locally. Added the header at tests/integration/selftest/selftest-lifecycle-pool.sh:51, classified the indirectly loaded helper at tests/inventory.sh:193, and required its three functions at tests/integration/selftest/selftest-run-modules.sh:86. bash tests/inventory.sh now exits 0; the focused transition test still passes all 16 assertions, module loading passes after bash scripts/build-pithead.sh, and pinned shellcheck/shfmt pass on all three corrected files. Renewed verifier and security reviews are clean. Current-head GitHub checks are queued; the prior-head failed check is retained above as discovery evidence, not a current-head result.
Live proof remains waiting on bench-ci#2125. The owner must release the maintenance hold before further admission attempts. Preserve PR #3521 and its worktree; after supported-client admission returns, completely reconcile the original idempotency key and verify any returned full commit and options, stopping on an incomplete lookup or mismatch. Only explicit no-job confirmation permits one lifecycle submission for scenario local-pruned-main-secure-tari, with no explicit mode and with the borrowed miner retained. The original key belongs to the earlier head; any recovered job must be checked against the new head before it can count as proof. No bench job has been confirmed, and no new submission was attempted during this correction.
Review returned: the operator's call (rule here, then remove the review-returned label):
Review of PR #3521 did not pass after round 2 (RETURN).
Reviewed #3028’s deployed-pool transition requirement at d421736. The regressions and earlier inventory correction pass, but required live transition and restoration evidence is missing.
[return] tests/integration/lib/run-lifecycle.sh:80: No completed tier4-e2e job proves this live lifecycle change at the current head. After the owner releases the bench-ci#2125 hold, follow the existing request-reconciliation ruling and obtain branch-built/deployed lifecycle evidence showing the preceding Main scenario changes to Mini, with readiness, payout/secrets, exact baseline restoration and borrowed-miner restoration proved. Quote the unedited evidence block and supporting log on the PR.
Ruling: Uphold the return: tests/integration/lib/run-lifecycle.sh still lacks completed current-head live transition and restoration proof. Preserve PR #3521 and its worktree, and return blocked on bench-ci#2125 without further admission attempts during the owner hold. After explicit release and restored supported-client admission, completely reconcile the original request and verify its full commit and options; stop on incomplete lookup or mismatch. Only explicit no-job confirmation permits one current-head tier4-e2e lifecycle submission using the preceding Main scenario and retaining the borrowed miner. Return waiting with the confirmed job in bench_jobs. Prove Main-to-Mini transition, readiness, payout and secret preservation, exact baseline restoration and borrowed-miner restoration; put the unedited evidence block and supporting log in the PR. Correct stale CI wording in place, then obtain re-review after evidence completes, followed by formal owner approval on the current head.
Blocked on bench-ci#2125: the owner maintenance hold prevents the required current-head live proof for tests/integration/lib/run-lifecycle.sh. PR #3521 and its clean worktree are preserved at d4217369c7fbb469bf6800cc76f5508812ac558a; implementation, regressions, documentation, inventory repair and focused checks are complete, and all executed current-head Actions checks pass. The formal adversarial review remains RETURN because no current-head lifecycle job has completed.
The owner must explicitly release the hold and restore supported-client admission. Then completely reconcile the original request and verify its full commit and options; stop on an incomplete lookup or mismatch. Earlier-head evidence cannot cover this head. Only explicit no-job confirmation permits one submission with a new current-head-bound key, scenario local-pruned-main-secure-tari, phase lifecycle, no explicit mode and the borrowed miner retained. Record the confirmed job, then prove Main-to-Mini transition, readiness, payout and secret preservation, exact baseline restoration and borrowed-miner restoration. Add the unedited evidence block and supporting retained log to the PR, obtain re-review after proof completes, and then obtain formal owner approval on the current head. No admission attempt was made during this hold.
Blocked on p2pool-starter-stack/bench-ci#2125. PR #3521 and its clean worktree are preserved; implementation and focused checks pass, and current-head Actions checks succeeded. The owner hold tracked by bench-ci#2125 prevents live transition/restoration proof; blocker comments are posted, and the owner must release the hold before request reconciliation and one permitted submission can proceed.
The runner resumes this issue when that one closes.
Blocked on #3763. PR #3521’s implementation and scoped Main-to-Mini proof are complete; verifier/security reviews pass, and baseline/miner restoration is verified. Required GitHub CI is blocked by the known errexit-control defect in pithead#3763; the owner/reviewer merge path must land PR #3764, then this branch can update and revalidate its head. Completed evidence and the blocker explanation are in the PR; unrelated bench failures remain owned by #3641 and #3664.
The runner resumes this issue when that one closes.
Activity
pithead-developer commentedon Oct 19, 2026
Waiting on a transient bench_outage condition, not on another issue. tier4-e2e submission and idempotent retry failed with No route to host; no job reference was returned. The runner re-checks it (first at 2026-10-19T14:19Z, 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:04Z through 5 re-checks: tier4-e2e submission refused: 503 draining — the runner is shutting down. 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: Preserve PR #3521 and its worktree; return
waiting, blocked on bench-ci#2125. The reported owner hold must be released before another submission. Once supported-client admission is available, reconcile the original key and verify any returned job's full commit and options; an incomplete lookup or mismatched job must stop recovery. Only after explicit no-job confirmation, submit once for tier4-e2e with scenariolocal-pruned-main-secure-tariand phaselifecycle, omitting explicit mode and retaining the borrowed miner. Record the confirmed job inbench_jobs, then collect completed transition and restoration evidence before review.pithead-developer commentedon Oct 19, 2026
Waiting on bench-ci#2125: the owner maintenance hold must be released before another lifecycle submission. PR #3521 and its clean worktree remain preserved at
cf3c22093873ac8e90a60395db17eb222dd2a8d6; implementation, focused tests, documentation and verifier/security reviews are complete, while live transition/restoration proof is pending. After the owner releases the hold and supported-client admission is available, reconcile the original idempotency key and verify any returned full commit and options. Stop on an incomplete lookup or mismatch. Only explicit no-job confirmation permits one submission for scenariolocal-pruned-main-secure-tari, phaselifecycle, without explicit mode and with the borrowed miner retained. Record the confirmed job and collect completed transition/restoration evidence before review.pithead-developer commentedon Oct 19, 2026
Reviewer return addressed on
d4217369c7fbb469bf6800cc76f5508812ac558a: the failed standalone/tooling job stopped atbash tests/inventory.shbecause the new selftest lacked its required section header. The same command reproduced exit 1 locally. Added the header attests/integration/selftest/selftest-lifecycle-pool.sh:51, classified the indirectly loaded helper attests/inventory.sh:193, and required its three functions attests/integration/selftest/selftest-run-modules.sh:86.bash tests/inventory.shnow exits 0; the focused transition test still passes all 16 assertions, module loading passes afterbash scripts/build-pithead.sh, and pinned shellcheck/shfmt pass on all three corrected files. Renewed verifier and security reviews are clean. Current-head GitHub checks are queued; the prior-head failed check is retained above as discovery evidence, not a current-head result.Live proof remains waiting on bench-ci#2125. The owner must release the maintenance hold before further admission attempts. Preserve PR #3521 and its worktree; after supported-client admission returns, completely reconcile the original idempotency key and verify any returned full commit and options, stopping on an incomplete lookup or mismatch. Only explicit no-job confirmation permits one lifecycle submission for scenario
local-pruned-main-secure-tari, with no explicit mode and with the borrowed miner retained. The original key belongs to the earlier head; any recovered job must be checked against the new head before it can count as proof. No bench job has been confirmed, and no new submission was attempted during this correction.pithead-developer commentedon Oct 19, 2026
Review returned: the operator's call (rule here, then remove the
review-returnedlabel):Review of PR #3521 did not pass after round 2 (RETURN).
Reviewed #3028’s deployed-pool transition requirement at d421736. The regressions and earlier inventory correction pass, but required live transition and restoration evidence is missing.
pithead-architect commentedon Oct 19, 2026
Ruling: Uphold the return: tests/integration/lib/run-lifecycle.sh still lacks completed current-head live transition and restoration proof. Preserve PR #3521 and its worktree, and return blocked on bench-ci#2125 without further admission attempts during the owner hold. After explicit release and restored supported-client admission, completely reconcile the original request and verify its full commit and options; stop on incomplete lookup or mismatch. Only explicit no-job confirmation permits one current-head tier4-e2e lifecycle submission using the preceding Main scenario and retaining the borrowed miner. Return waiting with the confirmed job in bench_jobs. Prove Main-to-Mini transition, readiness, payout and secret preservation, exact baseline restoration and borrowed-miner restoration; put the unedited evidence block and supporting log in the PR. Correct stale CI wording in place, then obtain re-review after evidence completes, followed by formal owner approval on the current head.
pithead-developer commentedon Oct 19, 2026
Blocked on bench-ci#2125: the owner maintenance hold prevents the required current-head live proof for
tests/integration/lib/run-lifecycle.sh. PR #3521 and its clean worktree are preserved atd4217369c7fbb469bf6800cc76f5508812ac558a; implementation, regressions, documentation, inventory repair and focused checks are complete, and all executed current-head Actions checks pass. The formal adversarial review remains RETURN because no current-head lifecycle job has completed.The owner must explicitly release the hold and restore supported-client admission. Then completely reconcile the original request and verify its full commit and options; stop on an incomplete lookup or mismatch. Earlier-head evidence cannot cover this head. Only explicit no-job confirmation permits one submission with a new current-head-bound key, scenario
local-pruned-main-secure-tari, phaselifecycle, no explicit mode and the borrowed miner retained. Record the confirmed job, then prove Main-to-Mini transition, readiness, payout and secret preservation, exact baseline restoration and borrowed-miner restoration. Add the unedited evidence block and supporting retained log to the PR, obtain re-review after proof completes, and then obtain formal owner approval on the current head. No admission attempt was made during this hold.pithead-developer commentedon Oct 19, 2026
Blocked on p2pool-starter-stack/bench-ci#2125. PR #3521 and its clean worktree are preserved; implementation and focused checks pass, and current-head Actions checks succeeded. The owner hold tracked by bench-ci#2125 prevents live transition/restoration proof; blocker comments are posted, and the owner must release the hold before request reconciliation and one permitted submission can proceed.
The runner resumes this issue when that one closes.
1 remaining item
pithead-developer commentedon Oct 28, 2026
Filed privately (pithead-3028.md); it needs an answer there, then remove the
questionlabel.pithead-developer commentedon Oct 28, 2026
Blocked on #3763. PR #3521’s implementation and scoped Main-to-Mini proof are complete; verifier/security reviews pass, and baseline/miner restoration is verified. Required GitHub CI is blocked by the known errexit-control defect in pithead#3763; the owner/reviewer merge path must land PR #3764, then this branch can update and revalidate its head. Completed evidence and the blocker explanation are in the PR; unrelated bench failures remain owned by #3641 and #3664.
The runner resumes this issue when that one closes.
pithead-developer commentedon Oct 31, 2026
Filed privately (pithead-3028.md); it needs an answer there, then remove the
questionlabel.pithead-developer commentedon Nov 1, 2026
Merged in #3521.