Repository navigation
docs: clarify app-managed restart policy scope - #16
Merged
devops-thiago merged 1 commit intoSep 27, 2026
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.
Summary
--restarthelp previously implied that the engine applies a saved policy at any startup. The standalone engine currently persists the policy without acting on it; SiliconShip supplies the app-managed startup pass. The CLI help and command reference now state that boundary and explain the policy differences.The documented 1.3.0 contract is:
alwaysstarts stopped containers at the next app-managed engine start, including manually stopped containers;unless-stoppedrestores only the running set recorded at the last app Stop or Quit.noandon-failure[:N]do not trigger startup restarts, process exits are not supervised, and the embedded CLI refusessystem start/stop. Engine-owned startup/exit supervision is tracked for v1.5.0 in SiliconShip #223.Refs SiliconShip #205. This clarifies the implemented contract without changing runtime behavior or closing the ticket: its broader CLI/manual-stop acceptance wording still needs reconciliation with the release contract. Migration-guide changes in #11 are independent.
Validation
swift formatandmake swift-fmt-checkpass.swift test --skip-build --filter 'testRestartPolicyParse|restartPolicy|RestartPolicy'). These run the previously compiled behavior, not newly compiled help text. This branch's engine workflow verifies signatures but skips the build job; the combined signed release build provides compilation of the updated string.