Repository navigation
[M3.5b] Remove replaced containers; release history with diff - #182
Merged
Merged
Conversation
added 2 commits
November 7, 2026 13:40
Signed-off-by: review <[email protected]>
Signed-off-by: review <[email protected]>
samuelmbabhazi
added a commit
that referenced
this pull request
Nov 7, 2026
## What changed Rewrites the PLAN's "Next tasks" list, which still named work merged in #182 to #195. It now groups what remains by what it is waiting on: a VM, an owner decision, billing, or nothing. ## Why So the next person, or session, starts from what is true. ## How it was tested Documentation only. For the record, the final `main` at #195 was run locally against PostgreSQL 18.4: - Integration suite: 314 passed, 3 failed. The 3 expect `23503` for `ON DELETE RESTRICT`, which PostgreSQL 18 reports as `23001`. - Browser suite: 17 of 17 passed. ## Security considerations None. Signed-off-by: review <[email protected]> Co-authored-by: review <[email protected]>
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.
What changed
Replaced containers are removed. The drain step stopped previous replicas and left them on disk. It now chains
stop_container(graceful) thenremove_container. Recovery after a failed deployment force-removes new replicas that never served traffic. Volumes are never removed, andRemoveContainerneeds no confirmation token withoutremove_volumes.Release history. The application page lists releases, newest first, with a diff of each against the previous one. The line diff moved out of the configuration editor store into
config-diff.ts, shared by both.PLAN. M3.5b is split: image retention (
deploy.keep_images) becomes M3.5c because it needs a new agent action, which is an action-list change for the owner to approve.Why
Without removal, every deployment leaves a stopped container behind per replica. Rollback does not depend on them: it creates new containers from the release's pinned image.
How it was tested
pipeline.spec.ts: order of stop then remove, one removal per replaced replica, failure injection and resume through the new step.agent-steps.spec.tsplus regenerated vectors, decoded by Gocompat_test.go(threshold raised to 10).Security considerations
No action-list change:
RemoveContaineralready exists and is validated in the agent. Anonymous volumes are kept, sinceremove_volumesstays false. The release list uses the existingenvironment.readroute; configurations hold secret names only.Checklist