Repository navigation
feat(deployer): stop and verify exclusive services before rollback - #186
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 75184d7f09
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a543e1e4da
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
b1036d5 to
dc01a9b
Compare
Closes #185.
The staging deployer disables Docker restart and verifies that each scoped exclusive service has exited before starting its replacement from the approved last-known-good artifact. A timeout retains a transaction and blocks replacement. Explicit
--force-stop-timeoutescalation is audited. The broker verifies replacement identity and health, allows unchanged siblings to keep their images, and can recheck a verified adapter outcome without dispatching the adapter again.Verification
5b07ba9a11bbfa9ebdafe5d0686dcc170412669d.a9b88f84b76e652161fb9df4b0d2596cda72c44everified default SIGQUIT and override SIGTERM, exit before replacement, a stuck two-second timeout, explicit forced reconciliation, and sibling service and volume preservation.a543e1e4da5052b573a6d4a97fc790ecce279894also passed graceful stop with a service namednone, blocked ordinary reconciliation after timeout, audited explicit SIGKILL, and stopped a restart-looping incumbent. The drills used the local Docker daemon. Prepared rootless staging acceptance is separate.Documentation
Updated
docs/DEPLOYER-HOST.mdanddocs/DESIGN-DECISIONS.mdfor configuration, rollback verification, recovery, and escalation. Template adoption is tracked separately in ci-fleet-config-template #54.Council review
The final review covered
a543e1e. The current head addresses its findings by retaining the replacement guard through retries, requiring a broker-drain checkpoint before readiness recovery, rerunning interrupted read-only health probes, and making the successful audit entry idempotent. Those fixes have local test coverage and are outside the completed council rounds. Cursor Bugbot is unavailable.