Repository navigation
Conversation
A stash left by a stale same-name delete is now named for the replacement's Docker id, so a re-report of the renamed old container cannot consume it first.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
The stash records the removed row's Docker id on its own retention entry, and only a re-insert of that id is refused. Any other id can still take it, so a skipped replacement no longer strands the policy, and there's no second map to leak.
scttbnsn
added a commit
that referenced
this pull request
Oct 20, 2026
scttbnsn
added a commit
that referenced
this pull request
Oct 20, 2026
* fix(agent): detect half-open agent event streams (#1405) * fix(compose): fill the operation record like the Docker action (#1406) * fix(watcher): don't hold update results for release notes (#1409) * perf(store): use the stats projection for counts (#1411) * fix(store): keep a retained policy with the replacement on local renames (#1412) * fix(api): build the dependency graph from the listed containers (#1419) * fix(agent): tell Portwing timeouts apart from unreachable agents (#1422) * feat(api): include versions in update-operation-changed events (#1427) * feat(notifications): show why a notification was skipped (#1429) * docs(changelog): sort the batch B entries into their sections
Contributor
Author
|
Landed in #1433 as part of folding the reviewed 1.8 work into 1.8.0. |
This branch was successfully deployed
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.
Fixes DR-147. With watchall on, when a replaced container's renamed old copy is still listed after the discovery settle, the old row could be re-reported first and consume the update policy stashed for the replacement, leaving a duplicate row.
The stale same-name delete now names the replacement's Docker id on the stash, and only that id consumes it. I didn't drop the agent-only gate on the live-predecessor fallback: it would let the old row inherit from the replacement when the replacement is reported first. Agent-owned and plain recreates behave as before.
Held for 1.8.1.