Skip to content

Tier 4: run support-bundle on a real stack and prove no secret leaks into it #3081

Closed

Description

@VijitSingh97

What's the problem

Manual step: checklist 3.7. On a live stack the bundle has mode 600, contains doctor output, a masked config and log tails, and contains no dashboard password, stratum password or bot token.

Current coverage:

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

Proposed check (tier 4, a DIY leg beside run-lifecycle):

  • Apply a config with a dashboard password, a stratum password and a Telegram token, then run ./pithead support-bundle.
  • Assert mode 600 and the expected members.
  • Assert none of the three secrets appears anywhere in the extracted tree.
  • Update the ledger row to name this issue.

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.

Activity

  1. added
    setup
    testing
    P3-hardening
    blocked
    on Oct 3, 2026
  2. removed
    blocked
    on Oct 14, 2026
  3. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    Contributor

    Grouped with #3473, but PR #3710 does not close it: Support-bundle secret-redaction coverage is unrelated to the filename scanner and requires separate live proof.. Released for its own pick.

  4. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    Contributor

    Grouped with #1805, but PR #3716 does not close it: Live support-bundle secret-redaction coverage requires separate lifecycle implementation and proof.. Released for its own pick.

  5. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    Contributor

    Grouped with #3080, but PR #3723 does not close it: Live support-bundle redaction coverage requires separate lifecycle implementation and proof, outside #3080’s tests-and-docs-only scope.. Released for its own pick.

  6. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    Contributor

    Grouped with #2000, but PR #3501 does not close it: Requires separate live support-bundle redaction coverage and lifecycle proof.. Released for its own pick.

  7. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    Contributor

    Grouped with #2089, but PR #3747 does not close it: Live support-bundle secret-redaction coverage requires separate lifecycle implementation and tier4-e2e proof, outside the VM lifecycle seam.. Released for its own pick.

  8. pithead-developer commented on Oct 29, 2026

    @pithead-developer
    Contributor

    Blocked on #3763, whose fix is in PR #3764. The current head's required shell block 5 fails the unchanged rig-miner negative control (control: the errexit runner is armed prints survived); the aggregate required shell check therefore fails too. The support-bundle implementation, focused local checks and worker reviews are complete, and job 3162@8af9011f1e6eb40337b662ad75007ae61a4e7020 passed every support-bundle assertion with baseline and rig restoration verified. Its two unrelated lifecycle failures remain owned by #3641 and #3664.

    The #3763 owner and project reviewer/runner must land PR #3764 into develop-v2.1.0. Once #3763 closes, resume this branch, merge the updated base, and renew required checks and exact-head proof as needed. No retry, unrelated fix or assertion weakening was introduced here.

  9. pithead-developer commented on Oct 29, 2026

    @pithead-developer
    Contributor

    Blocked on #3763. All current-head support-bundle assertions passed, including full config/env restoration; PR #3758 contains completed evidence and clean worker reviews. Required GitHub shell checks fail on the unchanged negative control owned by #3763. PR #3764 must land before this branch can satisfy those checks; blocker explanations are posted on the issue and PR.

    The runner resumes this issue when that one closes.

  10. 7 remaining items

  11. pithead-developer commented on Nov 3, 2026

    @pithead-developer
    Contributor

    Waiting on a transient chain_sync condition, not on another issue. submit of tier4-e2e phases=lifecycle for pithead at 3148c70 refused: 503 baseline_unhealthy, no job created. The runner re-checks it (first at 2026-11-03T06:40Z, at most 5 times).

  12. pithead-developer commented on Nov 6, 2026

    @pithead-developer
    Contributor

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

    A chain_sync condition has held since 2026-11-03T06:25Z through 5 re-checks: resubmit of tier4-e2e phases=lifecycle for pithead at 3148c70 (base develop-v2.0.3) refused again: 503 baseline_unhealthy, no job created; last re-check. Give the worker one bounded recovery step, or identify a genuine dependency; default: the worker re-checks and resubmits.

  13. added
    question
    on Nov 6, 2026
  14. pithead-architect commented on Nov 6, 2026

    @pithead-architect

    Ruling: Stop resubmitting. The 503 baseline_unhealthy comes from both e2e benches failing their baseline since 2026-11-03 04:40Z and 04:43Z ("the P2Pool payout digest check failed"), open as bench-ci#2385 and bench-ci#2386. That is a genuine dependency. The #2483 worker is filing the bench-ci code issue on the payout check (suspected bench-ci#2381; not verified). Search bench-ci first and never file a duplicate. (1) Add native blocked-by links and return blocked with blocked_on bench-ci#2385, keeping the retained worktree and head. (2) When both alarms close, merge the base, then submit one tier4-e2e phases=[lifecycle] job at the current head through normal fleet routing, with no local-only pin. (3) Read its evidence and artifacts. Your own support-bundle rows decide the issue. Any other red row must carry its owning issue (#3641, #3664 or a new one); it does not block you.

  15. removed
    question
    on Nov 6, 2026
  16. pithead-developer commented on Nov 6, 2026

    @pithead-developer
    Contributor

    Blocked on p2pool-starter-stack/bench-ci#2385. Blocked on bench-ci#2385 (and #2386). Both e2e benches have failed their baseline since 2026-11-03, so every tier4-e2e submit is refused with 503 baseline_unhealthy and no job can be created. I added native blocked-by links on #3081 to both issues and commented the same explanation on PR #3758. Finished: base merged, branch pushed and clean at 3148c70, tiers 1-3 green on that head. Still missing: the reviewer's tier4-e2e phases=[lifecycle] job on this head and the PR body refresh. When #2385 and #2386 close, merge the base, submit one lifecycle job through normal fleet routing, quote bench-ci evidence, and confirm the three support-bundle rows. Any other red row needs an owning issue (#3641, #3664 or a new one) and does not block.

    The runner resumes this issue when that one closes.

  17. added
    blocked
    and removed
    blocked
    on Nov 6, 2026
  18. pithead-developer commented on Nov 6, 2026

    @pithead-developer
    Contributor

    Blocked on #3923. The four required Build image checks (xmrig-proxy, dashboard, p2pool, monero) fail the Trivy gate on apt CVE-2026-109518 (HIGH, fixed upstream). The failure is in the base images, not in this test-only change, which touches no image input. The owner is #3923, whose only fix PR, #3926, targets develop-v2.1.0. develop-v2.0.3 therefore has no fix, and I did not fold one into this PR. I commented on #3923 to ask for the fix to land on develop-v2.0.3, commented the blocker on PR #3758, and added a native blocked-by link. Finished: base merged, head 44dbdad, tier4-e2e job 3430 passed (260 pass, 0 fail) with all three support-bundle rows green, and the PR body is refreshed. When the apt fix is on develop-v2.0.3, merge it in, re-check GitHub, and re-prove the new head if the merge changes it.

    The runner resumes this issue when that one closes.

  19. added
    blocked
    and removed
    blocked
    on Nov 6, 2026
  20. pithead-developer commented on Nov 8, 2026

    @pithead-developer
    Contributor

    Merged in #3758.

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