fix: Tests that use pushNotificationConfig for MessageSendConfiguration#94
fix: Tests that use pushNotificationConfig for MessageSendConfiguration#94kabir merged 3 commits intoa2aproject:mainfrom
Conversation
Summary of ChangesHello @kabir, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a minor naming convention update in the A2A protocol buffer definition while also significantly enhancing the Test Compatibility Kit (TCK) for the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request refactors the SendMessageConfiguration message in a2a.proto by renaming the push_notification field to push_notification_config. This change improves consistency with the field's type, PushNotificationConfig, and aligns the protobuf definition with the existing specification and JSON schema. The corresponding generated Python stubs for protobuf and gRPC have been correctly updated to reflect this change. The changes are correct and improve the codebase's consistency.
Rename push_notification to push_notification_config in grpc
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request correctly renames the push_notification field to push_notification_config in the protobuf definition and updates the corresponding client implementations. The addition of new tests to verify that SendMessageConfiguration is properly handled in both blocking and streaming message sends is a great improvement and directly addresses the related issue.
My main feedback is focused on improving code maintainability by refactoring a significant block of duplicated code in tck/transport/grpc_client.py. Consolidating this logic will make the code cleaner and easier to manage in the future.
This was missing in the non-streaming message sends Follows up on #383 and #482 The TCK is not testing this, but it is introduced in a2aproject/a2a-tck#94
…ct#483) This was missing in the non-streaming message sends Follows up on a2aproject#383 and a2aproject#482 The TCK is not testing this, but it is introduced in a2aproject/a2a-tck#94
Rename push_notification to push_notification_config in grpc (Update to incorporate a2aproject/A2A#1092)
Fixes: #84