Repository navigation
fix(agent): drop out-of-scope services immediately — retention is for in-scope churn only - #168
Merged
Merged
Conversation
… in-scope churn only The 90s retention grace + 60s prune tick left a worst-case 2.5-minute window where a service that left the node's dependency set kept a stale empty vhost shadowing the on-demand catch-all (fast 503s, #167). Retention conflated two cases. In-scope transient emptiness (a destination mid-churn) keeps the grace: fast retriable 503s beat ODCDS stalls until the endpoints return. A service that LEFT the dependency set is now dropped in the same reload that processes the departure: post-FQDN its authority cannot 404 — the *.<mesh-domain> catch-all is the structural backstop — so the vhost's only effect was suppressing the designed recovery path. Next request re-warms it as an observed dependency (~600ms once), which is the truthful state for traffic nobody on the node declares. Convergence for the departure case: zero stale window (was up to 2.5min). The #167 tick remains as backstop for in-scope-but-extinct services. Co-Authored-By: Claude Opus 4.8 <[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.
Follow-up to #167: the 2.5-minute worst-case stale window (grace 90s + tick 60s) is unacceptable for the departure case — and unnecessary.
🤖 Generated with Claude Code