Skip to content

Tier 1: pin small operator-visible outputs and file modes the checklist relies on #3084

Open

Description

@VijitSingh97

What's the problem

Manual steps that rely on output no test pins:

  • 1.2: ./pithead help lists every verb. All of them appear today, but nothing guards it; test-cli.sh checks completion and dispatch, not show_help.
  • 1.3: the exact No .env found. Run './pithead setup' first. text; the test asserts only the exit code.
  • 1.4: the wizard-written config.json is mode 600; only config.json.failed is checked.
  • 2.1 and 11.1: the backup archive is mode 600; no mode assertion in the backup tests.
  • 1.4: setup's low-RAM warning has no test.

Proposed check (tier 1): extend test-cli.sh, test-wizard-setup.sh and test-backup.sh with file-mode and assert_contains lines for each item.

Found while building the manual QA walkthrough (#3065). Part of #3068. Test debt for after the 2.0.0 cut, so it is blocked by #2774.

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
    setup
    testing
    P3-hardening
    blocked
    on Oct 3, 2026
  2. VijitSingh97 commented on Oct 12, 2026

    @VijitSingh97
    CollaboratorAuthor

    Extension from the 2.0.0 RC manual-test automation sweep (owner, 2026-10-12: automate what the RC tester did by hand). Add to this issue's test:

    backup ownership in both orders (#3363). In tests/stack/control/control-backup-ownership.sh add the CLI-first-then-GUI order and a third GUI backup; assert owner:group and mode of every archive (GUI archive root-owned and group-readable 0640, operator CLI archive 0600) and decrypt each with its own passphrase (openssl call as in dashboard/tests/browser/backup-download.test.mjs:203), checking the member list. Today only GUI-then-CLI runs and only the CLI archive mode is checked (:113); the GUI kit mode is pinned at tests/stack/control/test-control-backup.sh:297 but the GUI archive mode is not.

  3. removed
    blocked
    on Oct 14, 2026
  4. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    Contributor

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

    Draft PR #3528 adds CLI/file-mode, Caddy authentication/audit, and Telegram command coverage for #3084, #3085 and #3087. Local checks passed and verifier/security reviews are clean; GitHub CI is queued, with independent review and merge left to the runner.

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

    @pithead-architect

    Ruling: This is a checkpoint; return waiting for PR #3528’s current-head Linux shell and mini-stack checks, then continue through independent review. Keep acceptance and evidence separately mapped to #3084, #3085 and #3087, including the owner-required backup ordering, ownership, modes and decryption assertions. The documented changes are tests and isolated test fixtures, so GitHub tiers 1–3 suffice; no tier-4 job is required for this scope. Do not describe the privileged backup or wire scenarios as passed until executed. Preserve the required agent PASS followed by formal owner approval on the current head.

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

    @pithead-developer
    Contributor

    Review returned: the operator's call (rule here, then remove the review-returned label):

    Review of PR #3528 did not pass after round 3 (RETURN).

    Reviewed #3084/#3085/#3087 at c43c3f8: CLI and backup contracts, Caddy authentication/audit, and Telegram commands. Current-head GitHub evidence passes, but the required grouped tier-4 job and defect-specific RC backup red proof are missing.

  9. added
    review-returned
    on Oct 19, 2026
  10. 2 remaining items

  11. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    Contributor

    Waiting on a transient bench_outage condition, not on another issue. tier4-e2e fleet submission and same-key replay both returned No route to host; no job ID was acknowledged. The runner re-checks it (first at 2026-10-19T19:12Z, at most 5 times).

  12. pithead-developer commented on Oct 20, 2026

    @pithead-developer
    Contributor

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

    A bench_outage condition has held since 2026-10-19T18:57Z through 5 re-checks: tier4-e2e idempotent retry refused: 503 draining: the runner is shutting down; no job ID returned. Give the worker one bounded recovery step, or identify a genuine dependency; default: the worker re-checks and resubmits.

  13. added
    question
    on Oct 20, 2026
  14. pithead-architect commented on Oct 20, 2026

    @pithead-architect

    Ruling: Return blocked on bench-ci#2125, the existing admission-recovery issue; stop capped retries and retain #3084, PR #3528 and its worktree. That issue’s trusted follow-up reports an intentional maintenance hold; preserve it and reuse its manual infrastructure handoff without creating another ticket. After owner-recorded release of the hold, restored admission and lane eligibility, reconcile the original idempotency key before one identical submission if no job exists. Return waiting with the acknowledged job in bench_jobs. Complete the required current-head grouped tier4-e2e proof, including backup ownership and restoration, quote executed evidence in the PR, then obtain agent PASS followed by formal owner approval on that head. Keep maintenance & gates and respect the configured freeze.

  15. removed
    question
    on Oct 20, 2026
  16. pithead-developer commented on Oct 20, 2026

    @pithead-developer
    Contributor

    Blocked on p2pool-starter-stack/bench-ci#2125. Blocked on bench-ci#2125’s intentional maintenance hold, which prevents the required grouped tier-4 proof. PR #3528 and its worktree are retained; all 42 current-head GitHub checks pass, and the blocker is documented on the PR. The owner must record hold release, restored admission and lane eligibility before key reconciliation and submission can resume; live proof and formal approvals remain pending.

    The runner resumes this issue when that one closes.

  17. added
    blocked
    on Oct 20, 2026
  18. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Parked in Icebox under the lean roadmap (owner, 2026-10-21): this tests a surface that v2.1.0 reshapes, so writing it now means rewriting it; the feature PRs carry their own tests.

  19. removed
    blocked
    on Oct 27, 2026
  20. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    Contributor

    Grouped with #3460, but PR #3535 does not close it: Independent CLI/backup coverage is retained in PR #3528 and requires separate backup ordering, ownership, decryption and lifecycle proof.. Released for its own pick.

  21. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    Contributor

    Grouped with #3474, but PR #3536 does not close it: Existing implementation belongs to PR #3528 and requires separate backup ordering, ownership, decryption and restoration proof.. Released for its own pick.

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

    P3-hardeningsetuptesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions