You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(deployer): stop and verify exclusive services before rollback - #187
Refs #185. The deployer stops declared singleton services before starting a rollback replacement. It verifies exit with restart disabled and preserves recovery state on timeout. Escalation is explicit and audited. The broker checks the replacement's image ID, running state, and configured Docker health check. Core retains the rollback journal and last-known-good files until the application health check passes.
Validation
At 0c91c48747b428620d4ca578f401b7f6da5733ff, 53 adapter tests, deployer systemd unit checks, ShellCheck, documentation links, commit validation, and secret scanning passed.
The synthetic Docker smoke test verified graceful exit before replacement start with the image signal and a policy override. The stuck container timed out in 2.000 seconds with no replacement. Explicit escalation then stopped it. The sibling container and persistent volume data were preserved, and fixture cleanup passed.
The smoke test used the local test daemon. The required exact-source/base CI check and prepared rootless host verification are pending.
Council review
Reviewer
Round 1
Round 2
Round 3
GPT-6.2 Sol
5/10
6/10
7/10
Claude Opus 5.5
Failed, insufficient route credits
Not rerun
Not rerun
Gemini 4 Neon
7/10
Failed, quota exhausted
Not rerun
The scored heads were a9b88f8, 5933def, and 8ce3061. The final follow-up fixes both Round 3 findings. It applies the timer to Docker I/O so a normal timeout remains eligible for escalation, and it filters out undeclared siblings before inspecting commit candidates. The Round 3 reviewer verified both fixes by inspection and passed the seven focused tests on the follow-up commit. Unanimous review remains pending.
Documentation
The deployer runbook covers host-local policy, adapter requirements, shutdown deadlines, audit evidence, and recovery. The design decision records the scope. Template #54 tracks adopter guidance and the minimum compatible core revision after merge.
Superseded by PR #186, published at b1036d526e089f92d800f1f19ff31409e5022690. Continue issue #185 there.
At this draft’s final head 0c91c48747b428620d4ca578f401b7f6da5733ff, all eight stages of full validation passed against base 50753bbb5bfa70d26ec89cafa86ed8fe0465b983 with no skips. The hosted and pinned local installer suites passed. The focused recovery test verified that failed application health preserved the rollback journal and last-known-good policy, and that repair completed once health passed. Build run 45123022917, attempt 1, job 137521110708 · Validation artifact
The local Docker smoke test confirmed exit before replacement, timeout without a replacement, and audited explicit escalation. Prepared rootless-host verification remains separate.
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
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
Refs #185. The deployer stops declared singleton services before starting a rollback replacement. It verifies exit with restart disabled and preserves recovery state on timeout. Escalation is explicit and audited. The broker checks the replacement's image ID, running state, and configured Docker health check. Core retains the rollback journal and last-known-good files until the application health check passes.
Validation
0c91c48747b428620d4ca578f401b7f6da5733ff, 53 adapter tests, deployer systemd unit checks, ShellCheck, documentation links, commit validation, and secret scanning passed.Council review
The scored heads were
a9b88f8,5933def, and8ce3061. The final follow-up fixes both Round 3 findings. It applies the timer to Docker I/O so a normal timeout remains eligible for escalation, and it filters out undeclared siblings before inspecting commit candidates. The Round 3 reviewer verified both fixes by inspection and passed the seven focused tests on the follow-up commit. Unanimous review remains pending.Documentation
The deployer runbook covers host-local policy, adapter requirements, shutdown deadlines, audit evidence, and recovery. The design decision records the scope. Template #54 tracks adopter guidance and the minimum compatible core revision after merge.