Repository navigation
fix(a2a-server): fix several SHOULD/MAY-level ACTS conformance gaps - #302
Merged
Merged
Conversation
- Accumulate message history across multi-turn tasks and honor historyLength on SendMessage's own response, not just on GetTask. - Send Cache-Control/ETag on Agent Card responses (spec 8.6.1). - Tag REST responses application/a2a+json and errors application/problem+json. - Treat an absent A2A-Version header as 0.3 instead of accepting it as whatever version the interface serves. - Report a nonexistent push notification config as TaskNotFoundError instead of PushNotificationNotSupportedError (spec 3.1.8). Signed-off-by: Luca Muscariello <[email protected]>
The absent-header-means-0.3 fix now rejects these calls the same way it would reject any other 1.0 client that skips the header, since they call JsonRpcTransport directly instead of going through A2AClient, which already sets this by default. Signed-off-by: Luca Muscariello <[email protected]>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
adamtagscherer
approved these changes
Sep 28, 2026
Merged
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.
Continues the ACTS conformance work from #298/#299: the rust ACTS dashboard flagged several SHOULD/MAY-level failures beyond the MUST-level timestamp bug already fixed.
Fixes six failing tests:
historyLengthwas only honored onGetTask, not onSendMessage's own response.Cache-Control/ETag(spec §8.6.1).application/a2a+json/application/problem+json.A2A-Versionheader was accepted as whatever version the interface serves, instead of defaulting to 0.3.get_push_configreturnedPushNotificationNotSupportedErrorfor a nonexistent config id, instead ofTaskNotFoundError(spec §3.1.8 explicitly overloads this error for a missing config).Each fix has a regression test, verified to fail without the fix. Full workspace
just lint,cargo fmt --check, andjust check-headerspass.Not included: CORE-CAP-002 (undeclared capabilities treated as permissive rather than refused) is a deliberate, documented design choice with real blast radius for existing embedders — left for a separate discussion rather than reversed here.