Skip to content

Conversation

@kabir
Copy link
Collaborator

@kabir kabir commented Oct 30, 2025

Upstream: #415

@kabir kabir added the 0.3.x label Oct 30, 2025
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @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 primarily focuses on advancing the project's version to "0.3.1.Beta1-SNAPSHOT" across its entire module structure. Beyond this widespread version bump, it includes targeted cleanups such as removing unnecessary dependencies in the cloud deployment example and streamlining Quarkus configuration by eliminating explicit alternative selections in test application properties. These changes aim to prepare the codebase for the next development iteration and improve overall project consistency.

Highlights

  • Version Update: The project's parent version has been uniformly updated across all modules from "0.3.0.Final" to "0.3.1.Beta1-SNAPSHOT". This includes core client and server components, examples, and extra utilities.
  • Dependency Cleanup in Cloud Deployment Example: The examples/cloud-deployment/server/pom.xml saw the removal of several dependencies, specifically quarkus-resteasy-jackson, jakarta.enterprise.cdi-api, and slf4j-api. This likely streamlines the build by removing redundant or transitively provided dependencies.
  • Quarkus Alternative Selection Refinement: The explicit quarkus.arc.selected-alternatives configuration property has been removed from application.properties files within the queue manager replicated tests. This suggests a change in how ReplicatedQueueManager and JpaDatabaseTaskStore are selected, possibly indicating improved auto-discovery or a different configuration approach in Quarkus.
  • Comment Clarifications: Dependency comments in examples/cloud-deployment/server/pom.xml were updated to provide clearer descriptions of their purpose.
  • JBang Dependency Update: The JBang dependency versions specified in examples/helloworld/client/src/main/java/io/a2a/examples/helloworld/HelloWorldRunner.java were updated to align with the new "0.3.1.Beta1-SNAPSHOT" version.
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 project's POM files to use version 0.3.1.Beta1-SNAPSHOT of the a2a-java-sdk-parent. It also updates dependencies and removes unnecessary dependencies in the cloud deployment example server.

Comment on lines 73 to 77
<artifactId>quarkus-hibernate-orm</artifactId>
</dependency>

<!-- Quarkus REST/JAX-RS -->
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-resteasy-jackson</artifactId>
</dependency>

<!-- Quarkus Health checks -->
<dependency>
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

These dependencies are no longer needed and can be removed to reduce the size of the application and improve build times. Removing unused dependencies helps in maintaining a cleaner and more efficient project structure.

        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-resteasy-jackson</artifactId>
        </dependency>

        <!-- Quarkus Health checks -->
        <dependency>
            <groupId>io.quarkus</groupId>
            <artifactId>quarkus-smallrye-health</artifactId>
        </dependency>

Copy link
Collaborator Author

@kabir kabir Oct 30, 2025

Choose a reason for hiding this comment

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

These are needed, and Jackson is removed

Comment on lines 4 to 5
# Configure PostgreSQL database (connection details will be provided by Testcontainers)
quarkus.datasource."a2a-java".db-kind=postgresql
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

These properties are no longer needed and can be removed to simplify the configuration. Removing unused properties helps in maintaining a cleaner and more efficient configuration.

# Select our ReplicatedQueueManager and JpaDatabaseTaskStore as the active implementations
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have removed them, and you are telling me to remove them :-)

Comment on lines 4 to 5
# Configure PostgreSQL database (connection details will be provided by Testcontainers)
quarkus.datasource."a2a-java".db-kind=postgresql
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

These properties are no longer needed and can be removed to simplify the configuration. Removing unused properties helps in maintaining a cleaner and more efficient configuration.

# Select our ReplicatedQueueManager and JpaDatabaseTaskStore as the active implementations
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They are actually being removed!

Comment on lines 1 to 2
# Configure in-memory H2 database for testing
quarkus.datasource."a2a-java".db-kind=h2
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

This property is no longer needed and can be removed to simplify the configuration. Removing unused properties helps in maintaining a cleaner and more efficient configuration.

# Select our ReplicatedQueueManager as the active implementation
quarkus.arc.selected-alternatives=io.a2a.extras.queuemanager.replicated.core.ReplicatedQueueManager,io.a2a.extras.taskstore.database.jpa.JpaDatabaseTaskStore

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I am removing them

@kabir kabir changed the base branch from main to 0.3.x October 30, 2025 15:51
@kabir kabir changed the title Cleanup 3.x fix: Clean up the k8s example pom, and the extras application properties Oct 30, 2025
@kabir kabir closed this Oct 30, 2025
@kabir kabir reopened this Oct 30, 2025
@kabir kabir merged commit 8c87e94 into a2aproject:0.3.x Oct 30, 2025
7 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants