Repository navigation
feat(self): migrate to native selfupdate-go v0.2.0 updates - #85
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Arc self-updates currently invoke a shell installer. Migrate to
selfupdate-gov0.2.0 and its nativeArchiveInstaller, which verifies release checksums and atomically replaces the executable.Preserve channel behavior and database backups, stop a running server only after download verification, and restart it through the installed binary. Recover the server after failed or cancelled updates. Reduce the bootstrap script from 454 to 143 lines while retaining
--force/--tagcompatibility for older Arc updaters, and document the new behavior.Validation:
TMPDIR=/var/tmp task test— full race and coverage suite passed./var/tmpavoids an existing/tmp/.gitthat affects repository-discovery tests.task lint:goandtask build:quickpassed.bash -n scripts/install.shandshellcheck scripts/install.shpassed.python3 scripts/install_test.py— all seven isolated installer tests passed.