Remove blocked setup-gradle action from CI setup#38625
Conversation
Summary of ChangesHello, 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 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
New Features🧠 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 to enable Memory in your admin console. Using Gemini Code AssistThe 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
Customization 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 Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. 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. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request removes the 'Setup Gradle' step from the environment setup action. A review comment suggests also removing the 'disable-cache' input from the action's definition, as it was primarily used by the removed step and is now obsolete.
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5 | ||
| with: | ||
| cache-disabled: ${{ inputs.disable-cache }} |
There was a problem hiding this comment.
|
Assigning reviewers: R: @kennknowles added as fallback since no labels match configuration Note: If you would like to opt out of this review, comment Available commands:
The PR bot will only process comments in the main thread (not review comments). |
Removes the blocked
setup-gradleaction from the CI setup workflow.The
gradle/actions/setup-gradleaction is blocked in this repository, which was causing the PreCommit Python Formatter job to fail over 50% of the time.fixes #38622
Changes
Setup Gradlestep (lines 78–82) from.github/actions/setup-environment-action/action.ymlChecklist
CHANGES.mdupdate needed — this is a CI infrastructure fix with no user-facing changes