Skip to content

add run_gradle_lock_files_check.dart for new PR's that modify gradle files #169245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 37 commits into
base: master
Choose a base branch
from

Conversation

ash2moon
Copy link
Contributor

@ash2moon ash2moon commented May 22, 2025

This commit checks if there have been any changes to the gradle files and if gradle lock files need updating. If so, it will alert then PR owner to update their PR with the new gradle lock file.s

Fixes #163228

Example test run: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8712427303492230593/+/u/run_gradle_java8_compile_test/stdout?format=raw

This was added as an existing test under Linux gradle_java8_compile_test because benchmarking results showed on average about 3min 30s to run on my local M2 Mac. SInce it is not > 10min to run, placing it inside an existing test case was ideal.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@ash2moon ash2moon requested a review from matanlurey as a code owner May 22, 2025 01:28
@ash2moon ash2moon changed the title add run_gradle_lock_files_check.dart for new pr's modifying gradle files add run_gradle_lock_files_check.dart for new PR's that modify gradle files May 22, 2025
@ash2moon ash2moon force-pushed the feat/gradle_lock_files#test_changes branch from c6cf8ad to d1344bd Compare May 22, 2025 01:32
@ash2moon ash2moon requested review from a team and removed request for matanlurey May 22, 2025 01:33
@reidbaker reidbaker marked this pull request as draft June 4, 2025 14:27
@reidbaker
Copy link
Contributor

converting to a draft because I think it is still in progress.

@flutter-dashboard
Copy link

This pull request has been changed to a draft. The currently pending flutter-gold status will not be able to resolve until a new commit is pushed or the change is marked ready for review again.

For more guidance, visit Writing a golden file test for package:flutter.

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@ash2moon ash2moon requested a review from matanlurey June 10, 2025 19:25
@ash2moon ash2moon marked this pull request as ready for review June 10, 2025 19:25
Copy link
Contributor

@matanlurey matanlurey left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

generate_gradle_lockfiles.dart creates new (unchecked) files
3 participants