Repository navigation
fix(a2a): preserve completed status update messages - #3784
Merged
jujn merged 1 commit intoOct 27, 2026
Merged
Conversation
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
Contributor
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
jujn
approved these changes
Oct 27, 2026
chickenlj
pushed a commit
that referenced
this pull request
Nov 13, 2026
Backport the verified fix to the 2.0.x implementation and retain its existing public contracts where the upstream kernel differs. (cherry picked from commit 00e4a66) Backport-review-patch: d05e82e29a68b54d1a10cc3a3c6fa27eeb1da6ad Constraint: No AgentScope Service or SDK migration Confidence: high Not-tested: Whole-repository verification pending after lane integration
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.
AgentScope-Java Version
2.1.0-SNAPSHOT, based onmain@16cb024ae62a10db2aedc2371f4d729194ffda82(A2A Java SDK1.4.0.Final).Description
Closes #3783.
A completed
TaskStatusUpdateEventcan contain the answer instatus.messagewith no artifacts.TaskUpdateEventHandlercurrently returns an empty message in this case, while the fullTaskEventpath retains the status message.Use the final status message when a completed update has no artifacts. Preserve artifact priority and the existing no-output completion behavior. The regression checks both
call()andstreamEvents()terminal results, plus artifact priority and completion without either output source. Update the English and Chinese A2A guides.Validation
expected: <status-only answer> but was: <>(1 test, 1 failure).clean verify: 140 + 179 tests, 0 failures/errors/skips, including Spotless and packaging. Dependencies were built from the same checkout with tests skipped before running the two affected module suites. On Windows, a clean build with process-localJAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8avoids an incremental Javadoc encoding error.git diff --check: pass.Broader reactor verification was attempted but is not green locally: Core's two symbolic-link tests cannot create links with this Windows account. A second attempt excluding those two methods encountered an unrelated
GracefulShutdownTest.StateAndConfigTests.defaultConfigassertion (expected null, gotPT0.1S). Core production/test sources are unchanged. Repository-wide verification remains for CI.The regression uses controlled SDK callbacks, without a real remote agent, transport, or model service. Investigation, implementation, and verification used Codex assistance.
Checklist