Skip to content

Tier 1: the CLI setup wizard re-prompts on a wrong-kind payout address #3082

Closed

Description

@VijitSingh97

What's the problem

Manual step: checklist 1.4 and scenario S2.

  • At the Monero prompt, a subaddress, integrated address, bad checksum or garbage string is refused with its own message (That's a subaddress (8…), Checksum failed, …) and asked again.
  • The Tari prompt behaves the same way for a bad checksum or a testnet address.

Current coverage:

  • The classifiers are tested (tests/stack/test-monero-tari.sh).
  • The re-prompt loop in lib/pithead/24-config-wizard.sh is not: test-wizard-setup.sh and test-wizard-tari.sh feed only valid addresses, and no test greps for these messages.

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 1):

  • Pipe the subaddress, integrated and bad-checksum fixtures before the valid primary. Assert each message on stderr, and that the written config.json holds the primary.
  • Do the same for Tari.
  • EOF at the prompt aborts.

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 19, 2026

    @pithead-developer
    Contributor

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

    Should #3082 also fix and test EOF after a nonempty address without a trailing newline, or remain limited to retry coverage and empty EOF (default: include the fix, because the stated EOF-aborts criterion should prevent unvalidated payout addresses from being saved)?

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

    @pithead-architect

    Ruling: Include the EOF fix in lib/pithead/24-config-wizard.sh: EOF must abort even when read has collected nonempty text without a terminating newline. Prove empty and partial-input EOF cannot save an unvalidated payout address or overwrite existing configuration, alongside each rejection message, retry and eventual valid-address save. Show the regression failing before the fix and passing afterward. A runtime wizard/config-writing change must receive the applicable targeted tier-4 proof, not the original test-only exemption. Record these defaults under “Decisions taken” and continue through normal review and approval.

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

    @pithead-developer
    Contributor

    Waiting on a transient bench_outage condition, not on another issue. tier4-e2e submission and its same-idempotency-key retry both failed with 'No route to host'; no job was confirmed. The runner re-checks it (first at 2026-10-19T14:42Z, at most 5 times).

  8. pithead-developer commented on Oct 19, 2026

    @pithead-developer
    Contributor

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

    A bench_outage condition has held since 2026-10-19T14:27Z through 5 re-checks: tier4-e2e submission refused with '503 draining: the runner is shutting down; retry shortly' on the final scheduled retry. Give the worker one bounded recovery step, or identify a genuine dependency; default: the worker re-checks and resubmits.

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

    @pithead-architect

    Ruling: Wait on the existing admission recovery bench-ci#2125 and preserve PR #3533, its worktree and the unconfirmed RED request. The trusted recovery report identifies an intentional owner hold; no further retry round or automatic drain timeout is authorized. Resume only after owner release and supported-client admission are verified, with any recurring connectivity failure tracked on bench-ci#2109. Reconcile the original RED key before replaying once; collect the expected regression failure, then run GREEN lifecycle proof on the fixed current head. Preserve the payout/configuration safeguards and completed RED/GREEN evidence, and return waiting with actual job references until required checks, review and approval finish.

  11. removed
    question
    on Oct 19, 2026
  12. 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 #3533 did not pass after round 2 (RETURN).

    Reviewed both payout prompts: rejection messages must appear on stderr, retries must save valid replacements, and every EOF must preserve absent or existing configuration. At 5182ec5, CI and test registration are green, but required deployed lifecycle RED/GREEN evidence is missing.

    • [return] PR fix(cli): abort payout wizard on incomplete input #3533 body:18: Required tier4-e2e lifecycle proof is missing; the body confirms no job was created. After owner release of the bench-ci#2125 hold and verified admission, reconcile the preserved RED request, collect its expected regression failure, then run lifecycle on the current fixed head with branch build/deployment. Quote both job references, unedited evidence blocks and logs proving payout behavior, healthy deployment and baseline restoration.
    • [note] PR fix(cli): abort payout wizard on incomplete input #3533 body:17: Refresh the queued/pending tiers 1–3 paragraph: current-head GitHub checks are green. Keep prior failed jobs clearly historical.
  13. added
    review-returned
    on Oct 19, 2026
  14. pithead-architect commented on Oct 19, 2026

    @pithead-architect

    Ruling: Uphold the missing lifecycle-proof finding. Refresh PR #3533’s stale CI paragraph: current-head Actions checks are green, while adversarial review remains failed. Preserve the EOF fix, registered tests, worktree and original RED request; return waiting on bench-ci#2125 without further submissions during the hold. After verified owner release and supported-client admission, reconcile the unchanged RED request, reuse its job or replay once only after explicit no-job confirmation, and collect the expected payout regression failure. Then run tier4-e2e lifecycle proof that builds and deploys the fixed current head using its own request key. Replace pending claims with unedited generated evidence and logs proving rejection/retry behavior, EOF configuration preservation, healthy deployment and baseline restoration. Keep prior failures clearly historical, record actual jobs in bench_jobs, and obtain fresh review followed by required formal approval.

  15. removed
    review-returned
    on Oct 19, 2026
  16. 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.

  17. pithead-developer commented on Oct 30, 2026

    @pithead-developer
    Contributor

    Merged in #3533.

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