Repository navigation
feat(agent): ODCDS cold path for undeclared upstreams (004 Phase 3) - #160
Merged
Merged
Conversation
bpalermo
force-pushed
the
feat/demand-scoped-phase2
branch
from
June 12, 2026 13:01
855fe20 to
e878380
Compare
The outbound HCM gains the on_demand filter (ODCDS over the node-local ADS) and the outbound route config a lowest-priority catch-all vhost routing unmatched authorities to the cluster named by :authority. A request to an undeclared upstream therefore pauses (instead of 404ing) while Envoy requests the cluster on demand; the agent observes the named delta-CDS subscription — Envoy's CDS is otherwise wildcard — adds the service to the node dependency set with a TTL'd membership (1h idle, refreshed on re-request, pruned by the refresher), and the scoped reload delivers cluster+EDS+vhost, resuming the request. The on-demand cluster goes through the same snapshot path as declared ones, so it carries the per-source mTLS transport-socket matcher. Cold-path requests must use bare service names (no port, no FQDN). Nonexistent services fail at the 5s ODCDS timeout. New: aether.agent.upstreams.miss counter (promote-to-annotation signal), aether.agent.upstreams.observed gauge. Co-Authored-By: Claude Opus 4.8 <[email protected]>
…streams) Co-Authored-By: Claude Opus 4.8 <[email protected]>
bpalermo
force-pushed
the
feat/demand-scoped-phase3
branch
from
June 12, 2026 13:12
07cbc9a to
a7a7dee
Compare
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.
Phase 3 of proposal 004 (stacked on #159).
envoy.filters.http.on_demandwithodcds→ agent ADS on the outbound HCM; catch-all*vhost withcluster_header: ":authority"so undeclared bare-name calls become well-formed cluster references.ObserveDependency: TTL'd membership (1h idle), refresher prunes every minute; expiry drops the cluster and the next use re-warms via ODCDS.connection_pool_per_downstream_connectionapply to them identically (the two flagged interactions — validated in vivo in the final e2e).aether.agent.upstreams.miss,aether.agent.upstreams.observed.🤖 Generated with Claude Code