Skip to content

Preserve the installed CLI when website installer replacement fails - #593

Merged
morgaesis merged 1 commit into
mainfrom
installer-atomic-native-20261018
Oct 18, 2026
Merged

morgaesis merged 1 commit into
mainfrom
installer-atomic-native-20261018

Conversation

@morgaesis

Copy link
Copy Markdown
Contributor

The website installer preserves the installed executable when a transfer into the installation directory fails. The replacement is staged inside that directory, checked for nonempty executable contents, and committed with a same-filesystem rename. Cleanup removes only the attempt's private staging directory.

Validation on Linux: 23 installer tests pass with 192 assertions, covering failure preservation, prepared modes, symlinks, and eight concurrent upgrade schedules. The transfer-failure, empty-source, and empty-stage regressions fail against the original installer and pass against this change. The canonical service review returns an operational error without a code verdict; focused installer and shell syntax checks pass.

@morgaesis
morgaesis merged commit 96f44eb into main Oct 18, 2026
5 of 7 checks passed
@morgaesis
morgaesis deleted the installer-atomic-native-20261018 branch October 18, 2026 21:33
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.

1 participant