Skip to content

Conversation

@Abacn
Copy link
Contributor

@Abacn Abacn commented Dec 3, 2025

Reverts #36949

Fix #36395. It is superceded by #36961. However the latter PR was based on an old branch and revert isn't effective.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @Abacn, 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 an issue where Apache Beam version details were being explicitly included in the MongoDB client handshake. It performs a direct revert of the original change, as a previous attempt to supersede it was based on an outdated branch and proved ineffective. The primary goal is to remove the forced inclusion of Beam version information during MongoDB client initialization.

Highlights

  • Revert Functionality: This pull request reverts the change introduced in Include Beam version details in MongoDB handshake #36949, which added Apache Beam version details to the MongoDB client handshake.
  • Code Cleanup: The explicit import and usage of pymongo.driver_info.DriverInfo for setting the Beam version in the MongoDB client initialization has been removed.
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.

@Abacn Abacn force-pushed the revert-36949-add-metadata branch from c660d6d to eb9e5b4 Compare December 3, 2025 03:48
@Amar3tto Amar3tto self-requested a review December 3, 2025 05:15
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@Abacn
Copy link
Contributor Author

Abacn commented Dec 3, 2025

beam_PreCommit_Python_ML failed not related to this change. Merging for now.

@Abacn Abacn merged commit 660f061 into master Dec 3, 2025
103 of 116 checks passed
@Abacn Abacn deleted the revert-36949-add-metadata branch December 3, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The PostCommit Python MongoDBIO IT job is flaky

2 participants