Skip to content

docs: correct the networking page against the node code - #765

Merged
aojea merged 8 commits into
google:mainfrom
kaisoz:kaisoz/fix-docs-networking
Oct 20, 2026
Merged

aojea merged 8 commits into
google:mainfrom
kaisoz:kaisoz/fix-docs-networking

Conversation

@kaisoz

@kaisoz kaisoz commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator

Why

The networking page describes several behaviors the node no longer has: discovery results with labels, providers ranked by load, routers that inject events, and a probe for every backend. Some of the same claims appear in the node API, node configuration, router and scalability pages.

What changed

  • Node API: /v1/* forwards the backend's Authorization header, and the page names the routes beyond the four an agent uses.
  • Discovery and routing: a node reaches a peer behind a third router through that router, only MCP and A2A backends are probed, discovery results carry no labels, and the node rotates among remote inference providers.
  • Control plane: the page lists everything a member sends it, and says that the control plane publishes mesh events, policy updates included, while the routers forward them.

Scope

  • One commit per corrected claim, docs only.
  • Each commit also fixes the same claim on the other pages that repeat it.

Verification

  • Each claim was checked against the node's routes and gate, the transit router dial, the service probes, the discovery messages, the control plane client, the OpenAI facade and the event handlers. An independent review confirmed every new sentence against the code.
  • The site builds with Hugo 0.147.5, and the new in-page link resolves.

The networking page listed /v1/* among the endpoints that never forward
anything, and the node API reference said nothing on the /v1 path
forwards Authorization. The gate strips the header that carried the
node's token, and /v1/* forwards an Authorization header that is still
present to the backend, as the proxy path does. Every route that needs
the token, except the proxy path, accepts it in Authorization.
The networking page said the node API has four parts. The node also
serves /oauth/token, /oauth/revoke, /egress/, the Envoy ext_authz and
ext_proc routes, /mesh/identity and /debug/.
The networking page, the scalability guide and the router reference said
a member connects to no router it does not hold. To reach a peer behind
a third router, the node runs the handshake with that router and dials
the circuit through it, as the networking page's connecting section
already said. Lookups still go only to the routers the member holds.
The networking page, the node configuration reference and the
--backend-probe-timeout entry said the node probes every backend before
it advertises it. Only MCP and A2A services implement a probe. An
inference service, and an egress destination the node serves, is
advertised without one.
The networking page said discovery results carry the provider's labels,
the node API reference listed labels in discover_remote_services and
find_remote_tools results, and the authorization concept said discovery
labels rank candidates. DiscoveredProvider has no labels field, and no
find_remote_tools row sets one. Labels are checked only in the
provider's credential. The reference also said only inference results
carry local_proxy_url; every result carries it.
The networking page listed enrollments, refreshes, leases, policy
fetches and catalog reports. A member also calls /token/exchange and
/sts/token, and its sync pulls /keys, /info, /egress and /revocations.
The networking page and the node API reference said remote inference
providers are ranked by labels and load. Nothing supplies a remote
provider's labels or load, so the node rotates among the remote
providers, skips one in backoff after a failure, and checks the
required labels on the provider's credential.
The networking page said routers inject the events and listed only bans
and key rotations. The control plane's publish-only peer publishes them
on the routers' gossip, and the routers forward them to members. Policy
update events exist too, and make a node sync its policy at once.
@kaisoz
kaisoz requested a review from aojea as a code owner October 19, 2026 21:41

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the documentation across several conceptual, guide, and reference files to align with recent architectural changes in Agent Mesh. Key updates include clarifying header forwarding and removal behavior for authentication tokens, specifying that backend probing only applies to MCP and A2A services (excluding inference and egress), detailing the updated model provider rotation and failure-skipping logic, and clarifying that nodes only connect to other routers to reach peers behind them. Additionally, references to labels in discovery results have been removed. There are no review comments to evaluate, and the documentation changes appear accurate and complete; therefore, I have no feedback to provide.

@aojea
aojea merged commit 7591a00 into google:main Oct 20, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants