Repository navigation
Fix/aio sandbox url and sse - #1209
Merged
yaozheng-fang merged 2 commits intoNov 5, 2026
Merged
Conversation
yaozheng-fang
approved these changes
Nov 5, 2026
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
/run_sseSSE payload event IDs unique for streaming partial events by appending:veid:<n>at the interface layer.Details
ADK 2.6+ may reuse the same
Event.idacross streamingpartial: truechunks. Studio currently deduplicates streamed events by payloadid, so repeated partial IDs can cause later streamed content to be dropped.This PR fixes the compatibility issue at the SSE output boundary:
partial: trueevents are emitted with derived IDs likeoriginal-id:veid:0.:veid:<n>.Covered paths:
/run_sse/run_sse/run_sseoverride/invokeSSE output pathsCompatibility
This does not change ADK runner/session internals. Final event IDs remain compatible with feedback and session-based lookup in the normal path.
Native A2A protocol fields are not changed; only ADK-like SSE payloads emitted to Studio are adapted.
Verification
uv run --extra dev pre-commit run --all-filespasseduv run --extra dev pytest tests/integrations/agentkit/test_app.py tests/cloud/test_harness_app_http.py tests/cli/test_generated_agent_backend_codegen_extended.py -qpassed121 passed