You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "NandanPaT-eL (via GitHub)" <gi...@apache.org> on 2026/05/25 05:16:42 UTC

[PR] Remove blocked setup-gradle action from CI setup [beam]

NandanPaT-eL opened a new pull request, #38625:
URL: https://github.com/apache/beam/pull/38625

   Removes the blocked `setup-gradle` action from the CI setup workflow.
   
   The `gradle/actions/setup-gradle` action is blocked in this repository, which was causing the PreCommit Python Formatter job to fail over 50% of the time.
   
   fixes #38622
   
   ## Changes
   - Removed the `Setup Gradle` step (lines 78–82) from `.github/actions/setup-environment-action/action.yml`
   
   ## Checklist
   - [x] Addresses #38622
   - [x] No `CHANGES.md` update needed — this is a CI infrastructure fix with no user-facing changes
   - [x] Small fix, Apache ICLA not required


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Remove blocked setup-gradle action from CI setup [beam]

Posted by "derrickaw (via GitHub)" <gi...@apache.org>.
derrickaw closed pull request #38625: Remove blocked setup-gradle action from CI setup
URL: https://github.com/apache/beam/pull/38625


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Remove blocked setup-gradle action from CI setup [beam]

Posted by "gemini-code-assist[bot] (via GitHub)" <gi...@apache.org>.
gemini-code-assist[bot] commented on PR #38625:
URL: https://github.com/apache/beam/pull/38625#issuecomment-4531711935

   ## Summary of Changes
   
   Hello, I'm Gemini Code Assist[^1]! 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 recurring CI failures by removing a blocked dependency from the environment setup workflow. By eliminating the 'setup-gradle' action, the CI pipeline is now more resilient, specifically preventing the PreCommit Python Formatter job from failing due to external action blocks.
   
   ### Highlights
   
   * **CI Stability Improvement**: Removed the blocked 'setup-gradle' action from the CI environment configuration to resolve intermittent workflow failures.
   
   <details>
   <summary><b>New Features</b></summary>
   
   🧠 You can now enable **Memory** (public preview) to help **Gemini Code Assist** learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. **Click [here](https://codeassist.google/code-review/login) to enable Memory in your admin console.**
   </details>
   
   <details>
   <summary><b>Using Gemini Code Assist</b></summary>
   <br>
   
   The full guide for Gemini Code Assist can be found on our [documentation page](https://developers.google.com/gemini-code-assist/docs/review-github-code), here are some quick tips.
   
   <b>Invoking Gemini</b>
   
   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.
   
   <b>Customization</b>
   
   To customize the 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](https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github).
   
   <b>Limitations & Feedback</b>
   
   Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with :thumbsup: and :thumbsdown: 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](https://google.qualtrics.com/jfe/form/SV_2cyuGuTWsEw84yG).
   </details>
   
   
   [^1]: Review the [Privacy Notices](https://policies.google.com/privacy), [Generative AI Prohibited Use Policy](https://policies.google.com/terms/generative-ai/use-policy), [Terms of Service](https://policies.google.com/terms), and learn how to configure Gemini Code Assist in GitHub [here](https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github). Gemini can make mistakes, so double check it and [use code with caution](https://support.google.com/legal/answer/13505487).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Remove blocked setup-gradle action from CI setup [beam]

Posted by "gemini-code-assist[bot] (via GitHub)" <gi...@apache.org>.
gemini-code-assist[bot] commented on code in PR #38625:
URL: https://github.com/apache/beam/pull/38625#discussion_r3296207809


##########
.github/actions/setup-environment-action/action.yml:
##########
@@ -75,11 +75,6 @@ runs:
       with:
         distribution: 'temurin'
         java-version: ${{ inputs.java-version == 'default' && '11' || inputs.java-version }}
-    - name: Setup Gradle
-      uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5
-      with:
-        cache-disabled: ${{ inputs.disable-cache }}

Review Comment:
   ![medium](https://www.gstatic.com/codereviewagent/medium-priority.svg)
   
   The `disable-cache` input appears to have been primarily used by the `Setup Gradle` step. Since this step is being removed, the input should also be removed from the `inputs` section of this composite action to avoid maintaining unused parameters and to keep the action interface clean.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Remove blocked setup-gradle action from CI setup [beam]

Posted by "derrickaw (via GitHub)" <gi...@apache.org>.
derrickaw commented on PR #38625:
URL: https://github.com/apache/beam/pull/38625#issuecomment-4535550263

   This was fixed via https://github.com/apache/beam/commit/bb5c486512dcd1d60f721e70344861021904f1da - thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Remove blocked setup-gradle action from CI setup [beam]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #38625:
URL: https://github.com/apache/beam/pull/38625#issuecomment-4531839302

   Assigning reviewers:
   
   R: @kennknowles added as fallback since no labels match configuration
   
   
   Note: If you would like to opt out of this review, comment `assign to next reviewer`.
   
   Available commands:
   - `stop reviewer notifications` - opt out of the automated review tooling
   - `remind me after tests pass` - tag the comment author after tests pass
   - `waiting on author` - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)
   
   The PR bot will only process comments in the main thread (not review comments).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org