Skip to content

Tier 1: the interactive apply confirmation (⚠ rows, y/N, cancel leaves everything untouched) #3079

Open

Description

@VijitSingh97

What's the problem

Manual step: checklist 1.10, 6.2, 6.3 and 10.1–10.3.

  • A ⚠ change prints Some of the changes above (⚠) are disruptive. and asks Proceed with applying these changes? (y/N).
  • n prints Apply cancelled. No changes were made. and leaves .env and the containers untouched.
  • y applies.
  • A •-only change asks nothing.

Current coverage:

  • Every apply in tests/stack passes -y or --dry-run, or answers the typed wallet prompt.
  • A grep for "Proceed with applying", "are disruptive" or "No changes were made" finds nothing under tests/.
  • The code is lib/pithead/40-apply-and-render.sh (the disruptive y/N branch).

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, tests/stack):

  • For monero.rpc_lan_access, tari.mode: off and monero.clearnet_initial_sync, feed n on stdin. Assert the ⚠ rows, the cancel text, an unchanged .env, and no compose up in the docker log.
  • Feed y and assert it applies.
  • An INFO-only change run with </dev/null must not block.

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. 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:

    the same cancel rows for two more prompts. restore without -y answered n and given EOF prints 'Restore cancelled.', exits 0, asks no passphrase and leaves config.json, .env, Caddyfile, Tor and dashboard.db byte-equal (lib/pithead/17-backup-restore.sh:314-319; every restore under tests/ passes -y). factory-reset given a wrong word and EOF prints 'Aborted — nothing changed.', exits 1, arms no ESP marker and does not reboot; the right word arms it (lib/pithead/16-reset.sh:162-168; reuse rsl_run, tests/stack/appliance/test-appliance-reset-lock.sh:75, whose factory-reset rows at :123 pass -y).

  3. removed
    blocked
    on Oct 14, 2026
  4. 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.

  5. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    Contributor

    Grouped with #3077, but PR #3520 does not close it: PR #3520 says: Per the operator ruling, #3078 and #3079 remain outside this PR and receive no closing keyword. #3078 needs separate real-proxy password/TLS negative controls and tier4-e2e proof, including its owner extensions. #3079 needs separate apply/restore/factory-reset confirmation fixtures, including its ow. Released for its own pick.

  6. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    Contributor

    Grouped with #3474, but PR #3536 does not close it: Needs separate apply, restore and factory-reset confirmation coverage, including appliance proof, beyond harness isolation.. Released for its own pick.

  7. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    Contributor

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

    Should #3079 and #3084 test the current CLI contracts now, or follow the configuration changes in #3574–#3577 that reshape those settings and wizard prompts (default: test the current surviving contracts now, retaining apply/restore/factory-reset safety assertions and adapting fixtures when those changes land)?

  8. added
    question
    on Oct 27, 2026
  9. pithead-architect commented on Oct 27, 2026

    @pithead-architect

    Ruling: Keep #3079 and #3084 parked in Icebox under the owner’s October 21 roadmap; do not start standalone coverage of the current CLI contracts. The milestone explicitly requires the owner’s word to unpark work, and release from a grouped PR does not lift that hold. The #3574–#3577 feature PRs must test the contracts they change, including applicable cancellation and no-side-effect safeguards. Preserve the apply/restore/factory-reset acceptance requirements and existing #3084 work and proof obligations; PR #3528 is closed, so do not reopen it through this ruling. Landing the configuration changes alone does not authorize resumption.

  10. removed
    question
    on Oct 27, 2026
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