Skip to content

fix(cli): self uninstall --unattended takes the default and removes nothing, no answer is No, and --interactive goes - #1061

Merged
David-Noble-at-work merged 5 commits into
developfrom
fix/1005-self-uninstall-unattended-still
Oct 19, 2026
Merged

David-Noble-at-work merged 5 commits into
developfrom
fix/1005-self-uninstall-unattended-still

Conversation

@David-Noble-at-work

@David-Noble-at-work David-Noble-at-work commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Lane 28 of #949.

Resolves #1005

Test plan

  • Six new unit tests: --unattended with y on stdin removes nothing; end of input removes nothing and exits 0; y and n on a pipe do as answered; --force --unattended removes; --interactive is an unknown flag, exit 64. The --unattended, end-of-input and --interactive tests failed against 4d18e48c; the others held the behavior this change keeps
  • make test, make vet-all, make lint-all on linux, darwin and windows, make build, star lint go; gofmt -l empty
  • This script's pre-flight: CI's whole quality gate, make test-race and make test-scenario
  • CI on this pull request, every leg
  • After the merge, on this machine, from the official build in a scratch prefix: self uninstall --unattended and self uninstall < /dev/null each leave the install as it was and exit 0

Written with AI assistance.

Signed-off-by: David Noble [email protected]
Assisted-by: Claude Code

Time

Marker UTC Elapsed
opened (first commit) 2026-10-19T20:12:19Z —
submitted (PR opened) 2026-10-19T20:24:39Z 0.2 h after opened
merged 2026-10-19T22:16:47Z 1.9 h after submitted; 2.1 h in all

Computed by the algorithm of noblefactor-ops#188 at merge.

@David-Noble-at-work
David-Noble-at-work merged commit 65c8b40 into develop Oct 19, 2026
24 of 25 checks passed
@David-Noble-at-work
David-Noble-at-work deleted the fix/1005-self-uninstall-unattended-still branch October 19, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

self uninstall --unattended still prompts, and fails with no input

1 participant