Repository navigation
Fix streaming_client README, CLI flags, message_id handling, and JSON-RPC fixture validation - #152
Merged
MisterVVP merged 1 commit intoJul 16, 2026
Conversation
MisterVVP
merged commit Jul 16, 2026
ba562a5
into
dev-add-coverage-and-production-streaming-examples
15 checks passed
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.
Motivation
streaming_clientexample docs and commands with the repository example runner and actual binary layout so users can build and run the example exactly as written.SendMessagerequests created by the example always include a unique non-emptymessage_idand only include atask_idwhen explicitly provided by the user.Description
examples/apps/streaming_client/README.mdto use the example runner build command and the generated binary path as./scripts/run_examples.sh build-example streaming_clientand./build-example-streaming_client/a2a_example --help, and update all usage examples to call the actual binary path.constexprconstants (for--help,--transport,--endpoint,--operation,--task-id,--timeout-ms,--cancel-after-first-event) and reuse them inPrintUsage()andParseOptions()inexamples/apps/streaming_client/main.cpp.task_idfor sends and add deterministic, in-processmessage_idgeneration using a prefix + timestamp + atomic sequence inMakeMessageId(), and settask_idin theSendMessageRequestonly when the user supplied--task-id.scripts/interop/python_http_sse_fixture.pyto accept onlya2a.sendStreamingMessageanda2a.subscribeToTask, validateparams.message.messageId(non-empty string) for send andparams.id(non-empty string) for subscribe, and return HTTP 400 on unexpected method or invalid parameters.scripts/run_http_sse_interop.shthat POST malformed/incorrect JSON-RPC payloads and assert HTTP 400 responses.scripts/run_http_sse_interop.shandscripts/run_cpp_sut_streaming_functional.shexecutable so they can be invoked directly.