Skip to content

fix!: Update a2a.proto changes#687

Open
ehsavoie wants to merge 1 commit intoa2aproject:mainfrom
ehsavoie:update_proto_20260226
Open

fix!: Update a2a.proto changes#687
ehsavoie wants to merge 1 commit intoa2aproject:mainfrom
ehsavoie:update_proto_20260226

Conversation

@ehsavoie
Copy link
Collaborator

@ehsavoie ehsavoie commented Feb 26, 2026

  • Aligning to the latest version of a2a.proto
  • Update tests to match a2a.proto changes:
    Fixes test failures after proto update - adjusts JSON structures and
    package references to align with new proto definitions.

Fixes #686 🦕

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @ehsavoie, 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 updates the client, JSON-RPC, REST, and gRPC specifications to synchronize with the most recent a2a.proto definitions. The changes involve renaming and restructuring several push notification-related entities, adjusting field placements, and enhancing documentation for better clarity and consistency across the protocol implementation. These modifications are crucial for maintaining compatibility and resolving existing test failures.

Highlights

  • Proto Definition Alignment: The pull request aligns the codebase with the latest a2a.proto definitions, primarily by renaming ListTaskPushNotificationConfig related messages and methods to their pluralized ListTaskPushNotificationConfigs versions.
  • Refactored Push Notification Configuration: The configId field has been removed from CreateTaskPushNotificationConfigRequest as the id is now expected to be nested within the pushNotificationConfig object itself, simplifying the request structure.
  • Field Reordering and Clarified Documentation: Several fields across various proto-generated Java files (AgentCapabilities, AgentCard, Artifact, ListTasksRequest) have been reordered or had their field numbers changed, and Javadoc comments have been updated for improved clarity and accuracy.
  • Metadata Addition to CancelTaskRequest: A new metadata field has been added to the CancelTaskRequest to allow for flexible key-value pairs, enhancing the extensibility of task cancellation requests.
Changelog
  • client/transport/grpc/src/main/java/io/a2a/client/transport/grpc/GrpcTransport.java
    • Removed configId from CreateTaskPushNotificationConfigRequest.
    • Renamed ListTaskPushNotificationConfigRequest to ListTaskPushNotificationConfigsRequest.
    • Updated method calls and response types to reflect pluralized push notification config names.
  • client/transport/jsonrpc/src/main/java/io/a2a/client/transport/jsonrpc/JSONRPCTransport.java
    • Renamed ListTaskPushNotificationConfigResponse to ListTaskPushNotificationConfigsResponse.
  • client/transport/jsonrpc/src/test/java/io/a2a/client/transport/jsonrpc/JsonMessages.java
    • Adjusted JSON structures for push notification configurations to nest id within pushNotificationConfig.
    • Removed configId from CreateTaskPushNotificationConfig request JSON.
  • client/transport/rest/src/main/java/io/a2a/client/transport/rest/RestTransport.java
    • Removed configId handling from createTaskPushNotificationConfiguration.
    • Updated request and response types for listing push notification configurations to their pluralized versions.
  • client/transport/rest/src/test/java/io/a2a/client/transport/rest/JsonRestMessages.java
    • Updated JSON test messages to reflect changes in id and configId placement within push notification configurations.
  • jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/A2AResponse.java
    • Updated sealed class permits to use ListTaskPushNotificationConfigsResponse.
  • jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigRequest.java
    • Renamed file to ListTaskPushNotificationConfigsRequest.java.
    • Renamed class and constructors to ListTaskPushNotificationConfigsRequest.
  • jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/ListTaskPushNotificationConfigResponse.java
    • Renamed file to ListTaskPushNotificationConfigsResponse.java.
    • Renamed class and constructors to ListTaskPushNotificationConfigsResponse.
  • jsonrpc-common/src/main/java/io/a2a/jsonrpc/common/wrappers/NonStreamingJSONRPCRequest.java
    • Updated sealed class permits to use ListTaskPushNotificationConfigsRequest.
  • reference/jsonrpc/src/main/java/io/a2a/server/apps/quarkus/A2AServerRoutes.java
    • Updated imports and usage of ListTaskPushNotificationConfig related classes to their pluralized versions.
  • reference/jsonrpc/src/test/java/io/a2a/server/apps/quarkus/A2AServerRoutesTest.java
    • Updated imports and test logic to use pluralized request/response names and adjusted JSON structure for CreateTaskPushNotificationConfig.
  • server-common/src/main/java/io/a2a/server/util/sse/SseFormatter.java
    • Updated ListTaskPushNotificationConfigResponse to ListTaskPushNotificationConfigsResponse.
  • spec-grpc/src/main/java/io/a2a/grpc/A2A.java
    • Updated package name references from a2a.v1 to lf.a2a.v1.
    • Removed config_id field from CreateTaskPushNotificationConfigRequest.
    • Renamed ListTaskPushNotificationConfigRequest and ListTaskPushNotificationConfigResponse to their pluralized forms.
    • Adjusted field numbers and reordered fields in various message descriptors.
  • spec-grpc/src/main/java/io/a2a/grpc/A2AServiceGrpc.java
    • Updated SERVICE_NAME to lf.a2a.v1.A2AService.
    • Renamed gRPC method ListTaskPushNotificationConfig to ListTaskPushNotificationConfigs.
    • Updated Javadoc comments for various service methods for improved clarity.
  • spec-grpc/src/main/java/io/a2a/grpc/APIKeySecurityScheme.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/APIKeySecuritySchemeOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilities.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field number for extended_agent_card from 5 to 4.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentCapabilitiesOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field number for extended_agent_card from 5 to 4.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentCard.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for supported_interfaces (19 to 3), security_requirements (13 to 9), signatures (17 to 13), icon_url (18 to 14).
    • Updated Javadoc for documentation_url and signatures.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentCardOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for supported_interfaces (19 to 3), security_requirements (13 to 9), signatures (17 to 13), icon_url (18 to 14).
  • spec-grpc/src/main/java/io/a2a/grpc/AgentCardSignature.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Added API linter comments and clarified Javadoc for protected and signature fields.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentCardSignatureOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Added API linter comments and clarified Javadoc for protected and signature fields.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentExtension.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for params field.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentExtensionOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for params field.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentInterface.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for tenant field.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentInterfaceOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for tenant field.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentProvider.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentProviderOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentSkill.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for skills field.
  • spec-grpc/src/main/java/io/a2a/grpc/AgentSkillOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/Artifact.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for name (3 to 2), description (4 to 3), parts (5 to 4), metadata (6 to 5), extensions (7 to 6).
    • Clarified Javadoc for artifact_id, description, metadata.
  • spec-grpc/src/main/java/io/a2a/grpc/ArtifactOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for name (3 to 2), description (4 to 3), parts (5 to 4), metadata (6 to 5), extensions (7 to 6).
  • spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfo.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for scheme field.
  • spec-grpc/src/main/java/io/a2a/grpc/AuthenticationInfoOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for scheme field.
  • spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlow.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/AuthorizationCodeOAuthFlowOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequest.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (2 to 1) and id (1 to 2).
    • Added metadata field at number 3.
    • Clarified Javadoc for tenant and id.
  • spec-grpc/src/main/java/io/a2a/grpc/CancelTaskRequestOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (2 to 1) and id (1 to 2).
    • Added metadata field at number 3.
  • spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlow.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/ClientCredentialsOAuthFlowOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequest.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (4 to 1) and task_id (1 to 2).
    • Removed config_id field.
    • Changed field number for config (5 to 3).
    • Clarified Javadoc for tenant and task_id.
  • spec-grpc/src/main/java/io/a2a/grpc/CreateTaskPushNotificationConfigRequestOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (4 to 1) and task_id (1 to 2).
    • Removed config_id field.
    • Changed field number for config (5 to 3).
  • spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequest.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (2 to 1), task_id (3 to 2), and id (1 to 3).
    • Clarified Javadoc for tenant, task_id, and id.
  • spec-grpc/src/main/java/io/a2a/grpc/DeleteTaskPushNotificationConfigRequestOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (2 to 1), task_id (3 to 2), and id (1 to 3).
  • spec-grpc/src/main/java/io/a2a/grpc/DeviceCodeOAuthFlow.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/DeviceCodeOAuthFlowOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/GetExtendedAgentCardRequest.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for tenant.
  • spec-grpc/src/main/java/io/a2a/grpc/GetExtendedAgentCardRequestOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for tenant.
  • spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequest.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (2 to 1), task_id (3 to 2), and id (1 to 3).
    • Clarified Javadoc for tenant, task_id, and id.
  • spec-grpc/src/main/java/io/a2a/grpc/GetTaskPushNotificationConfigRequestOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (2 to 1), task_id (3 to 2), and id (1 to 3).
  • spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequest.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (3 to 1), id (1 to 2), and history_length (2 to 3).
    • Clarified Javadoc for tenant, id, and history_length.
  • spec-grpc/src/main/java/io/a2a/grpc/GetTaskRequestOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (3 to 1), id (1 to 2), and history_length (2 to 3).
  • spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecurityScheme.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for bearer_format.
  • spec-grpc/src/main/java/io/a2a/grpc/HTTPAuthSecuritySchemeOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for bearer_format.
  • spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlow.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Updated Javadoc to mark as deprecated and suggest alternatives.
  • spec-grpc/src/main/java/io/a2a/grpc/ImplicitOAuthFlowOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Updated Javadoc to mark as deprecated and suggest alternatives.
  • spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsRequest.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for tenant and page_token.
  • spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsRequestOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for tenant and page_token.
  • spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsResponse.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for next_page_token.
  • spec-grpc/src/main/java/io/a2a/grpc/ListTaskPushNotificationConfigsResponseOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for next_page_token.
  • spec-grpc/src/main/java/io/a2a/grpc/ListTasksRequest.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (9 to 1), context_id (1 to 2), status (2 to 3), page_size (3 to 4), page_token (4 to 5), history_length (5 to 6), status_timestamp_after (6 to 7), include_artifacts (7 to 8).
    • Clarified Javadoc for tenant, page_size, page_token, status_timestamp_after.
  • spec-grpc/src/main/java/io/a2a/grpc/ListTasksRequestOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Changed field numbers for tenant (9 to 1), context_id (1 to 2), status (2 to 3), page_size (3 to 4), page_token (4 to 5), history_length (5 to 6), status_timestamp_after (6 to 7), include_artifacts (7 to 8).
  • spec-grpc/src/main/java/io/a2a/grpc/ListTasksResponse.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for page_size and next_page_token.
  • spec-grpc/src/main/java/io/a2a/grpc/ListTasksResponseOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for page_size and next_page_token.
  • spec-grpc/src/main/java/io/a2a/grpc/Message.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for message_id, context_id, task_id, metadata.
    • Removed protolint:disable REPEATED_FIELD_NAMES_PLURALIZED comments.
  • spec-grpc/src/main/java/io/a2a/grpc/MessageOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for message_id, context_id, task_id, metadata.
    • Removed protolint:disable REPEATED_FIELD_NAMES_PLURALIZED comments.
  • spec-grpc/src/main/java/io/a2a/grpc/MutualTlsSecurityScheme.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/MutualTlsSecuritySchemeOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecurityScheme.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for oauth2_metadata_url.
  • spec-grpc/src/main/java/io/a2a/grpc/OAuth2SecuritySchemeOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for oauth2_metadata_url.
  • spec-grpc/src/main/java/io/a2a/grpc/OAuthFlows.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Updated Javadoc for implicit and password fields to mark them as deprecated and suggest alternatives.
  • spec-grpc/src/main/java/io/a2a/grpc/OAuthFlowsOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Updated Javadoc for implicit and password fields to mark them as deprecated and suggest alternatives.
  • spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecurityScheme.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for open_id_connect_url.
  • spec-grpc/src/main/java/io/a2a/grpc/OpenIdConnectSecuritySchemeOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for open_id_connect_url.
  • spec-grpc/src/main/java/io/a2a/grpc/Part.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for text, raw, url, data, metadata, filename, media_type.
  • spec-grpc/src/main/java/io/a2a/grpc/PartOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for text, raw, url, data, metadata, filename, media_type.
  • spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlow.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Updated Javadoc to mark as deprecated and suggest alternatives.
  • spec-grpc/src/main/java/io/a2a/grpc/PasswordOAuthFlowOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Updated Javadoc to mark as deprecated and suggest alternatives.
  • spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfig.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for id, url, token, authentication.
  • spec-grpc/src/main/java/io/a2a/grpc/PushNotificationConfigOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for id, url, token, authentication.
  • spec-grpc/src/main/java/io/a2a/grpc/Role.java
    • Updated Protobuf enum reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for enum values.
  • spec-grpc/src/main/java/io/a2a/grpc/SecurityRequirement.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for schemes.
  • spec-grpc/src/main/java/io/a2a/grpc/SecurityRequirementOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for schemes.
  • spec-grpc/src/main/java/io/a2a/grpc/SecurityScheme.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/SecuritySchemeOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
  • spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfiguration.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for accepted_output_modes and blocking.
  • spec-grpc/src/main/java/io/a2a/grpc/SendMessageConfigurationOrBuilder.java
    • Updated Protobuf type reference from a2a.v1 to lf.a2a.v1.
    • Clarified Javadoc for accepted_output_modes and blocking.
Activity
  • The pull request was opened to align the project with the latest a2a.proto version.
  • The author updated tests to match the new proto definitions, addressing JSON structure and package reference changes.
  • The changes aim to fix issue Upgrade a2a.proto to reflect its current status #686, indicating a resolution of a known problem related to proto updates.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the codebase to align with recent changes in the a2a.proto file. The modifications are primarily mechanical and include renaming classes (e.g., ListTaskPushNotificationConfigRequest to ListTaskPushNotificationConfigsRequest), updating request/response object structures, and adjusting test data to match the new protocol definitions. The changes are consistently applied across the gRPC, JSON-RPC, and REST transport layers, as well as in the corresponding tests. The code modifications appear correct and successfully adapt the client and server implementations to the new protocol specification.

@ehsavoie ehsavoie force-pushed the update_proto_20260226 branch from 209d610 to 658c7a5 Compare February 26, 2026 16:14
@kabir
Copy link
Collaborator

kabir commented Feb 26, 2026

@ehsavoie should this have “fix!:” to show it is a breaking change?

- Aligning to the latest version of a2a.proto
- Update tests to match a2a.proto changes:
  Fixes test failures after proto update - adjusts JSON structures and
  package references to align with new proto definitions.

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
@ehsavoie ehsavoie force-pushed the update_proto_20260226 branch from 658c7a5 to 7153378 Compare February 26, 2026 16:35
@ehsavoie ehsavoie changed the title fix: Update a2a.proto changes fix!: Update a2a.proto changes Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade a2a.proto to reflect its current status

2 participants