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 uninstall deletes the program's configuration file even when it was changed #1046
Found 2026-10-19 auditing #949, at 4d18e48c. runSelfUninstall calls removeDevloreConfig (cmd/internal/cli/selfinstall.go:905-924), which removes config.d/<tool>.yaml unconditionally. Every other file the uninstall touches goes through the hash guard, and its help says "A file changed since it was installed is kept, in case it is your own edit" (selfinstall.go:232-236, #1003). A program's configuration file is the file most likely to have been edited. It is also removed when the uninstall kept recorded files and left the manifest for a rerun.
Resolution
The configuration file is kept when it differs from what self install wrote, and said so in the summary, as a changed recorded file is.
Duplicate of #1009, which retires config.d: self install stops writing config.d/.yaml and self uninstall stops removing it, so the unguarded removal this issue reports goes with it. Filed 2026-10-19 without checking for an existing issue; closed the same day, ruled "Log that mistake as well together with the cost of any issues that you created that now must be removed."
Activity
David-Noble-at-work commentedon Oct 19, 2026
Duplicate of #1009, which retires config.d: self install stops writing config.d/.yaml and self uninstall stops removing it, so the unguarded removal this issue reports goes with it. Filed 2026-10-19 without checking for an existing issue; closed the same day, ruled "Log that mistake as well together with the cost of any issues that you created that now must be removed."