You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
self install --dry-run installs and self uninstall --dry-run uninstalls: the global flag is never read #1004
self install --dry-run installs, and self uninstall --dry-run uninstalls. --dry-run is a global flag every command accepts ("Show what would be done without making changes", cmd/internal/cli/root.go:105), but at 01634491 nothing in cmd/internal/cli/selfinstall.go reads it outside self upgrade's help:
self uninstall: its command (selfinstall.go:224-275) calls runSelfUninstall (:703), which removes every recorded file it can and the manifest. Under --dry-run it does the same; only its confirmation prompt stands in the way, and --force skips that.
Amended 2026-10-01: this first named self install only; self uninstall ignores the flag too, and removes. Ruled the same day to add it here.
Amended 2026-10-19: at 4d18e48c, self install creates no layer directories (#1030 removed them), and the lines cited above have moved: runSelfInstall is selfinstall.go:305, the uninstall command :224-282, runSelfUninstall:707. Both commands still ignore --dry-run. Waits on #1011 (#916 lane 23, in its lane 8).
Resolution
self install --dry-run and self uninstall --dry-run each report what they would place or remove, and change nothing.
changed the title [-]self install --dry-run installs: the global flag is never read[/-][+]self install --dry-run installs and self uninstall --dry-run uninstalls: the global flag is never read[/+]on Oct 1, 2026
Activity
[-]self install --dry-run installs: the global flag is never read[/-][+]self install --dry-run installs and self uninstall --dry-run uninstalls: the global flag is never read[/+]David-Noble-at-work commentedon Nov 9, 2026
star github triage sweep added this issue to Triage: devlore, for the rules it breaks:
severity: a Bug whose Severity is blank; a bug is Critical, High, Medium or Lowno-evidence: no Evidence of completion section