Repository navigation
Release 0.2.0a2 with safe uninstall and route recovery - #3
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.
Sloth previously had no coordinated way to disconnect Hermes and stop its detached services. Alpha 0.2.0a2 adds
/sloth uninstallpreviews and/sloth uninstall confirm, plus terminal equivalents, so users can return to their original model server before removing the package.Setup now records the original model route, including when an existing backend occupies Sloth’s preferred port. Uninstall preserves unrelated settings, respects managed configuration, disables startup, drains inference, saves native resident state, and stops only verified owned processes. Existing upstream servers, weights, snapshots, and runtime builds are kept; the guide explains explicit package/data removal and recovery for older installations.
Validation: 87 Python tests (one optional skip), 21 Hermes integration tests (one optional skip), real proxy shutdown across all four routing adapters against disposable upstreams, repeated uninstall, process identity rejection, failed drain/configuration recovery, and occupied-port route restoration. CI covers Linux, macOS, and Windows. Package metadata and installation guides target 0.2.0a2.