Skip to content

docs: clarify app-managed restart policy scope - #16

Merged
devops-thiago merged 1 commit into
siliconship/1.4.1from
codex/fix-205-restart-policy-help
Sep 27, 2026
Merged

devops-thiago merged 1 commit into
siliconship/1.4.1from
codex/fix-205-restart-policy-help

Conversation

@devops-thiago

@devops-thiago devops-thiago commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

--restart help 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: always starts stopped containers at the next app-managed engine start, including manually stopped containers; unless-stopped restores only the running set recorded at the last app Stop or Quit. no and on-failure[:N] do not trigger startup restarts, process exits are not supervised, and the embedded CLI refuses system 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 format and make swift-fmt-check pass.
  • Three cached parser/persistence tests pass for unchanged restart-policy behavior (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.
  • No new tests mirror the documentation wording; no restart implementation or acceptance criteria changed.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 26, 2026
@devops-thiago
devops-thiago merged commit e23cace into siliconship/1.4.1 Sep 27, 2026
4 checks passed
@devops-thiago
devops-thiago deleted the codex/fix-205-restart-policy-help branch September 27, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant