Repository navigation
Replace event watchers when a node endpoint generation changes - #309
Merged
Merged
Conversation
…and keep an unresolved node visible as stale. Co-authored-by: Cursor <[email protected]>
…proxy route, or log subscriptions stuck. Co-authored-by: Cursor <[email protected]>
…aced daemon is not watched on the old client. Co-authored-by: Cursor <[email protected]>
athNdev
added a commit
that referenced
this pull request
Nov 4, 2026
* Drop a cached Docker client when that node's host or TLS material changes, so later calls are not sent to the previous daemon. Co-authored-by: Cursor <[email protected]> * Record the node endpoint generation on each lifecycle operation so a later host change is not treated as the same daemon. Co-authored-by: Cursor <[email protected]> * Remember the Docker daemon id a node first reports, and refuse a later ping that presents a different daemon. Co-authored-by: Cursor <[email protected]> * Refuse to answer a named Docker node with the local daemon, even when the historical fallback flag is set. Co-authored-by: Cursor <[email protected]> * Check operation-list write errors so a failed stdout does not look like an empty journal. Co-authored-by: Cursor <[email protected]> * Replace event watchers when a node endpoint generation changes (#309) * Replace a node's event watcher when its endpoint generation changes, and keep an unresolved node visible as stale. Co-authored-by: Cursor <[email protected]> * Prove a dropped or reordered Docker event does not leave status, the proxy route, or log subscriptions stuck. Co-authored-by: Cursor <[email protected]> * Refresh event watchers from each node's endpoint generation so a replaced daemon is not watched on the old client. Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[email protected]> --------- Co-authored-by: Cursor <[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.
Summary
Depends on the node endpoint generation in #308. This branch is based on
feat/node-daemon-identity.Test plan
go test ./internal/reconciler/ -count=1 -p 1 -run "TestWatchMembershipReplacesNodes|TestSyncGenerationsReplacesTheWatcher|TestUnresolvedNodeIsStaleAndDoesNotBlockAnotherNode|TestFullEventBufferDoesNotStallTheWatcher|TestSupervisorSyncAddsAndDropsNodes"go run ./cmd/knowledge-lint -root .