Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@goderbauer
Copy link
Member

@goderbauer goderbauer commented Dec 13, 2024

On the bots there were old and stale package_config.json files hanging around that confuse the dart format command. This PR adds a step to the pub_get_offline.py glcient sync hook to delete all of these files that are not under version control.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. The test exemption team is a small volunteer group, so all reviewers should feel empowered to ask for tests, without delegating that responsibility entirely to the test exemption group.

)

# Delete all package_config.json files. These may be stale.
# Required ones will be regenerated fresh below.
Copy link
Contributor

Choose a reason for hiding this comment

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

nice

Copy link
Contributor

@christopherfujino christopherfujino left a comment

Choose a reason for hiding this comment

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

LGTM

@goderbauer goderbauer added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 13, 2024
@auto-submit auto-submit bot merged commit 2f66432 into flutter:main Dec 13, 2024
29 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Dec 14, 2024
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Dec 14, 2024
flutter/engine@c4e3cc2...4e4a430

2024-12-14 goderbauer@google.com Fix include path in fuchsia's
analysis_options.yaml files (flutter/engine#57203)
2024-12-13 goderbauer@google.com Delete stale package_config.json in
gclient sync hook (flutter/engine#57195)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams@google.com,zra@google.com on the revert to
ensure that a human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@jonahwilliams
Copy link
Contributor

reason for revert: suspected culprit in autoroller failing to create PRs.

@jonahwilliams jonahwilliams added the revert Label used to revert changes in a closed and merged pull request. label Dec 16, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented Dec 16, 2024

Time to revert pull request flutter/engine/57195 has elapsed.
You need to open the revert manually and process as a regular pull request.

@auto-submit auto-submit bot removed the revert Label used to revert changes in a closed and merged pull request. label Dec 16, 2024
@goderbauer
Copy link
Member Author

reason for revert: suspected culprit in autoroller failing to create PRs.

link to failure log?

@goderbauer goderbauer deleted the deleteCOnfigFiles branch December 16, 2024 17:34
jonahwilliams pushed a commit that referenced this pull request Dec 16, 2024
auto-submit bot pushed a commit that referenced this pull request Dec 16, 2024
#57195 was reverted because it tried to delete non-existing files. This adds a check to only attempt to delete the file if it exists.
nick9822 pushed a commit to nick9822/flutter that referenced this pull request Dec 18, 2024
…#57195)

On the bots there were old and stale `package_config.json` files hanging around that confuse the `dart format` command. This PR adds a step to the `pub_get_offline.py` glcient sync hook to delete all of these files that are not under version control.
nick9822 pushed a commit to nick9822/flutter that referenced this pull request Dec 18, 2024
…er/engine#57218)

flutter/engine#57195 was reverted because it tried to delete non-existing files. This adds a check to only attempt to delete the file if it exists.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants