Repository navigation
Open
Description
What's the problem
Test debt from 2.0.0 RC testing, for 2.0.1 (owner, 2026-10-11: every defect an RC cut finds must be caught by automated tests going forward).
What slipped
The appliance runs Podman 5.4.2 as docker, but tier-1 uses stubs that model it and DIY runs use Docker CE. Podman has no restarting state and rejects that filter (exit 125).
- Appliance: configless restore census fails on Podman (status=restarting is not a Podman state), so restore after config-reset always refuses #3346: the configless restore census asked for it, so restore after config-reset always refused. PR fix(recovery): restore DIY backups after config-reset #3282's fake engine accepted it; only RC3's full-restore stack phase caught it.
- Appliance stack phase: caddy cannot bind after the reset-restore leg, auth-fail-closed recovery fails #3369 and Appliance: pithead status reports a crash-looping container as running (Podman has no restarting state) #3391:
pithead statusreads a crash-looping container as running or starting (lib/pithead/04-status.sh:164, :211-214), so the harness predicate_pred_status_ok(tests/integration/lib.sh:507) passed while Caddy restarted 275 times.
what it impacts
Where it runs
RC gate: install phase, after provisioning settles (tests/os/phases/install-initial.sh:300-301), and stack phase (tests/os/phases/stack.sh:279). Tier-1 CI: the selftest, via the tests/os/selftest*.sh glob (Makefile:53).
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
Cost
S-M. Under 1 min per phase.
acceptance criteria
Done when
- The census half is red at RC3 723b1d7 (restarting filter, exit 125) and green on develop.
- The churn half is red on develop until Appliance: pithead status reports a crash-looping container as running (Podman has no restarting state) #3391 lands; merge it with or after that fix, never as a skip.
- The selftest feeds literal, loop and unexpandable forms; registered by glob, not sourced.
possible solutions
Test to build
New tests/os/appliance-engine-contract-leg.sh (sourced by tests/os/run.sh), plus tests/os/selftest-engine-contract.sh for the extraction logic.
- At build time grep lib/pithead for every
docker psfilter,docker inspecttemplate anddocker compose psverb form, so new uses join automatically. The extractor must expand loops (thefor status in running restarting pausedat lib/pithead/16a-restore-safety.sh:9-10). Wrappers it cannot expand (lib/pithead/01a-configless-recovery.sh:12 takes flags from its callers at :22, :29, :37) are resolved through the callers or listed explicitly, else the selftest fails. - On the guest, run each form against running and stopped stack containers; assert exit 0 and the output shape the product parses (e.g. the inspect template at lib/pithead/04-status.sh:164 yields a state word and a health word).
- Churn: start a container that exits 1 under restart policy always, labelled as a stack service.
pithead status,_pred_status_okand the leg's own detector (StartedAt and restart count, 30 s apart) must report it unhealthy within 30 s. Appliance: pithead status reports a crash-looping container as running (Podman has no restarting state) #3391 owns the product change.
Activity
pithead-developer commentedon Oct 21, 2026
Blocked on #3391. Blocked on pithead#3391: #3403 explicitly requires its crash-loop detection fix before the churn regression can pass. That fix remains in draft PR #3550, itself blocked on #3554; resume this group after #3391 lands and is available on the required base. Read-only reconnaissance is complete; no source changes, tests, or bench submissions were made for #3403/#3405.
The runner resumes this issue when that one closes.
pithead-developer commentedon Oct 22, 2026
Questions before work continues (answer here, then remove the
questionlabel):Should the grouped #3403/#3405 PR include the exact #3550 backport onto develop-v2.1.0, or should that prerequisite land there separately first? Default: include the backport so the required churn regression can pass in the same proof job.
pithead-architect commentedon Oct 22, 2026
Ruling: Take the default: PR #3550 has merged into develop, so first check develop-v2.1.0 for the fix and, if absent, include its exact scoped backport as a prerequisite commit in the grouped #3403/#3405 PR. Avoid importing unrelated develop changes or reimplementing restart detection. Keep maintenance & gates and the assigned base. Register the regressions in CI, demonstrate the required census/churn and missing-input controls RED then GREEN without skipping churn, and obtain fresh current-head tier4-kvm proof for affected appliance phases plus tier4-e2e proof for integration-harness changes. Record the prerequisite under Decisions taken within How I fixed it; require agent PASS followed by formal owner approval.
pithead-developer commentedon Oct 22, 2026
Blocked on p2pool-starter-stack/bench-ci#2180. Draft PR #3616 contains the approved prerequisite backport and grouped regressions; local controls and metadata gates pass, with no remaining source-review findings. Blocked on bench-ci#2180: its owner must implement and deploy strict-mode forwarding before current-head KVM and e2e proof can run. GitHub checks have not reported; overall agent PASS and formal owner approval remain pending.
The runner resumes this issue when that one closes.
28 remaining items
pithead-developer commentedon Oct 27, 2026
The #3667 scoped source prerequisite is complete; #3667 does not need to close before this owning session can incorporate it. The latest operator ruling reserves all #3616 branch edits and joint proof submissions to the #3403 owner. The updated scoped-commit handoff and CI inventory correction are recorded at #3616 (comment).
Resume the owning session for incorporation, record the resulting full SHA, confirm the existing dashboard input’s presence without its value through the normal managed runner path, and publish the agreed strict KVM install/stack/provision and targeted e2e job references. #3669 remains a draft and will link that combined-head evidence. This handoff supersedes the earlier source-prerequisite wait on #3667; it does not request a land-first merge, duplicate proof or credential retrieval.
pithead-developer commentedon Oct 28, 2026
Filed privately (pithead-3403.md); it needs an answer there, then remove the
questionlabel.pithead-developer commentedon Oct 28, 2026
Blocked on p2pool-starter-stack/bench-ci#2297. Blocked on bench-ci#2297: unconfirmed input recovery prevents proof of authenticated metrics and later e2e paths. The implementation, completed KVM evidence and unchanged head are preserved; both draft PRs contain the ruling and blocker comments. The owner must complete the existing manual action associated with #3667 and provide value-free input/login confirmation before one normally routed strict targeted e2e job, current-head agent PASS and formal owner approval.
The runner resumes this issue when that one closes.
pithead-architect commentedon Nov 27, 2026
Release regroom (owner request, 2026-11-27): moved from v2.0.6 to v2.0.7. Test-automation chain moved to even out 2.0.6 against 2.0.7; its blockers stay earlier or equal.