Repository navigation
Conversation
…sageStaleStateTest a2aproject#1326 made the request handler reject a client message whose role is not ROLE_USER. BlockingSendMessageStaleStateTest, added in a2aproject#1315, builds its client message with ROLE_AGENT, so its five tests now fail with "Client message role must be ROLE_USER" and server-common fails on main. The message is only ever passed to onMessageSend as the client message, so ROLE_USER is the role it should have had. No assertion changes.
4 tasks
Contributor
Author
|
Superseded: main now carries the same one-line change to BlockingSendMessageStaleStateTest (ROLE_USER for the client message), so this PR is no longer needed. Closing. |
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.
#1326 made the request handler reject a client message whose role is not
ROLE_USER.BlockingSendMessageStaleStateTest, added in #1315, builds its client message withROLE_AGENT, so its five tests now fail withClient message role must be ROLE_USER, andserver-commonfails onmainsince 2e258a9 (Build and Test run 47170925382 onmain, and every PR built on top of it).This changes the role of that message to
ROLE_USER. The message is only ever passed toonMessageSendas the client's message, so that is the role it should have had; no assertion changes. Locally, with the role validation of #1326 applied,mvn -pl server-common test -Dtest=BlockingSendMessageStaleStateTesterrors 5 of 5 withROLE_AGENTand passes 5 of 5 withROLE_USER; the fullserver-commonsuite passes (676 tests).We are a research team at MPI-SWS building Daavar, a conformance checker for protocol SDKs; #1315 came out of that work, which is why we are fixing its test.