Repository navigation
Conversation
Co-authored-by: TRAE CLI <traecli@bytedance.com>
This branch has not been deployed
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
This PR fixes Studio's A2A runtime stream projection for terminal-only responses and incomplete stream termination. It was split from the Codex/session reuse branch because it affects the Studio A2A bridge contract rather than Codex process reuse.
Related context: #1189, but this PR does not depend on it.
Changes
status.messagecontent when no delta/artifact content was already emitted.Contract Impact
Verification
git rebase --autostash origin/mainafterorigin/mainadvanced toc1d4096d-> passed, no conflicts.uv run --extra dev pre-commit run --all-files-> passed.uv run --extra dev pytest tests/cli/test_runtime_a2a_stream.py tests/cli/test_frontend_runtime_proxy.py -q->213 passed, 6 warnings.uv run pyright veadk/cli/runtime_a2a_stream.py tests/cli/test_runtime_a2a_stream.py->0 errors.git diff --check-> passed.Notes
Targeted microbench data for the shared A2A client showed local repeated stream setup improving from median
12.435msto0.738msover HTTP and from2.598msto0.762msover local HTTPS, with connection count dropping to one in each run. This PR keeps the optimization scoped to the A2A streaming bridge.