Skip to content

Revert "Add gRPC experiments to Python dockerfile"#36572

Merged
tvalentyn merged 1 commit intomasterfrom
revert-36525-frankensteinsGrpc
Oct 20, 2025
Merged

Revert "Add gRPC experiments to Python dockerfile"#36572
tvalentyn merged 1 commit intomasterfrom
revert-36525-frankensteinsGrpc

Conversation

@tvalentyn
Copy link
Copy Markdown
Contributor

@tvalentyn tvalentyn commented Oct 20, 2025

Reverts #36525.

#36525 might affect GRPC functionality in scenarios when a process launches subprocesses. We made this change an attempt to mitigate flakiness observed in Python 3.13 test suite.

Out of caution, let's revert, since #36525 would apply to all Python containers, not just 3.13.

Let's report test flakiness we observed in Python 3.13 to GRPC team in a separate issue. If we need to set any experiment like this, we may need to be mindful of minimal grpcio version on which such experiments are stable, let's first confirm them first with the GRPC team.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @tvalentyn, 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 reverts a previous change that introduced gRPC-related environment variables into the Python Dockerfile. The primary purpose of this revert is to avoid unintended side effects on gRPC functionality across all Python container environments, as the original modification was a broad attempt to address a specific flakiness issue observed only in Python 3.13. By reverting, the project aims to maintain stability and ensure gRPC functionality isn't inadvertently affected, while planning a more focused investigation into the Python 3.13 flakiness with the gRPC team.

Highlights

  • Revert gRPC Experiment Variables: This pull request reverts the addition of GRPC_EXPERIMENTS and GRPC_ENABLE_FORK_SUPPORT environment variables from the Python Dockerfile.
  • Prevent Potential gRPC Issues: The revert is a precautionary measure to prevent potential negative impacts on gRPC functionality, especially in scenarios involving subprocesses, as the original change was found to apply to all Python containers, not just Python 3.13.
  • Address Python 3.13 Flakiness Separately: The flakiness observed in the Python 3.13 test suite, which the original change aimed to mitigate, will now be reported to the gRPC team in a separate issue for a more targeted solution.
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.

@tvalentyn
Copy link
Copy Markdown
Contributor Author

@github-actions
Copy link
Copy Markdown
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers

@Abacn
Copy link
Copy Markdown
Contributor

Abacn commented Oct 20, 2025

let's also open a cherry pick

@tvalentyn
Copy link
Copy Markdown
Contributor Author

@Abacn Opened one: #36573

@tvalentyn tvalentyn merged commit d0d0cd8 into master Oct 20, 2025
105 of 109 checks passed
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.

2 participants