Repository navigation
[Automated] Draft docs (agentgateway): mcp: assert that resumed sessions are on the same backend - #1375
Open
github-actions[bot] wants to merge 3 commits into
Open
[Automated] Draft docs (agentgateway): mcp: assert that resumed sessions are on the same backend#1375github-actions[bot] wants to merge 3 commits into
github-actions[bot] wants to merge 3 commits into
Conversation
…ons are on the same backend Signed-off-by: GitHub Action <action@github.com>
Deploying agentproxy with
|
| Latest commit: |
7ccdafa
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c3bdaccc.agentproxy.pages.dev |
| Branch Preview URL: | https://pr-tracker-draft-agentgatewa-me4x.agentproxy.pages.dev |
Signed-off-by: Art Berger <art.berger@solo.io>
Signed-off-by: Art Berger <art.berger@solo.io>
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.
agentgateway/agentgateway#4059 — mcp: assert that resumed sessions are on the same backend
Docs versions:
standalone/main,kubernetes/mainWhat changes for users: Encrypted MCP session IDs are now tied to the MCP backend that issued them. If a client presents a resumed session to a different backend, the proxy returns
HTTP 404and the client starts a new session on the current backend.What the docs now say: The standalone Streamable HTTP page and the Kubernetes Stateful MCP page now say that an encrypted session ID for another MCP backend returns
HTTP 404, matching the existing session recovery guidance.Not verified: No cluster or local runtime; the configuration and requests are unrun.
How
agentgateway-4059was drafted, and what was not verifiedPlan, and what changed it
content/docs/kubernetes/main/documentation/mcp/session.mdreusesassets/agw-docs/pages/agentgateway/mcp/session.md, and that asset already gates main-only session-key behavior.Why a documentation change is necessary
The pull request adds the issuing backend to AES-encoded MCP session state and rejects resumed sessions whose encoded backend differs from the current request's backend. The standalone Streamable HTTP page already explains
HTTP 404session recovery for session IDs that cannot be decoded, and the Kubernetes Stateful MCP page has the same main-only session-key guidance. Without this update, readers would not know that a decodable but cross-backend encrypted session ID has the same recovery path.What changed on disk
assets/agw-docs/pages/agentgateway/mcp/session.md— Adds the main-only Kubernetes session behavior for encrypted session IDs that belong to another MCP backend.content/docs/standalone/main/integrations/mcp/servers/http.md— Adds the standalone Streamable HTTP behavior for encrypted session IDs that belong to another MCP backend.How to verify this change
persisted_stateful_session_cannot_cross_mcp_backends./a, restarts the gateway to force token-based resumption, and sends the session ID to backend/b./breturnsHTTP 404, the/bupstream receives no request, and the same session ID still works on backend/a.What was not verified
No cluster or local agentgateway runtime was used, so the configuration and requests are unrun.
The proposed release note was not placed into release notes; the workflow places it after this run.
How the pages were chosen (triage report)
Draft a documentation change
agentgateway/agentgateway#4059 — mcp: assert that resumed sessions are on the same backend
agentgateway/websiteRelease notes
This pull request also adds its release-note entries:
content/docs/standalone/main/release-notes/release-notes.md: mcp: assert that resumed sessions are on the same backend (fix, under MCP)Release notes kept out of a tree. Check that each change really does not reach the trees named here:
kubernetes/main, because the draft edited no page there. If the change also reaches that tree, add the note there.Draft branch:
pr-tracker-draft-agentgateway-4059