Skip to content

[Decoupling] Repo-wide changes#11874

Merged
auto-submit[bot] merged 3 commits into
flutter:mainfrom
justinmc:decoupling-repo-wide-changes
Jun 8, 2026
Merged

[Decoupling] Repo-wide changes#11874
auto-submit[bot] merged 3 commits into
flutter:mainfrom
justinmc:decoupling-repo-wide-changes

Conversation

@justinmc

@justinmc justinmc commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

This PR makes the repo-wide changes from #11669 in a smaller PR.

So we run repo-wide tests here and not in that giant PR.
@justinmc justinmc requested a review from stuartmorgan-g June 8, 2026 18:47
@justinmc justinmc self-assigned this Jun 8, 2026
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Jun 8, 2026
@flutter-dashboard

Copy link
Copy Markdown

It looks like this pull request may not have tests. Please make sure to add tests or get an explicit test exemption before merging.

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. If you believe this PR qualifies for a test exemption, contact "@test-exemption-reviewer" in the #hackers channel in Discord (don't just cc them here, they won't see it!). 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.

@stuartmorgan-g

Copy link
Copy Markdown
Collaborator

test-exempt: configuration change

Comment thread script/configs/custom_analysis.yaml Outdated
- rfw/example
# Disables docs requirements, as it is test code.
- web_benchmarks/testing/test_app
# Use a 100 line width carried over from flutter/flutter.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This reason is obsolete; is there something current we can point to?

@justinmc justinmc Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Updated with a reference to the skipped tests.

Does that mean that I can remove the line about the 100 character line length from the analysis options in #11669 then?

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds allowed dependencies for material_color_utilities and clock in .repo_tool_config.yaml, and includes material_ui and cupertino_ui in script/configs/custom_analysis.yaml. Feedback recommends moving material_color_utilities to the unpinned Google-owned packages section to avoid dependency conflicts, and sorting the new entries in custom_analysis.yaml alphabetically to maintain the established order.

Comment thread .repo_tool_config.yaml Outdated
Comment on lines +38 to +40
# For material_ui, taken from flutter/flutter.
- material_color_utilities

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Since material_color_utilities is a Google-owned package (developed by the Material Design team and used directly by Flutter), we fully trust its development and publishing process. According to the repository guidelines, it should be placed under the unpinned section (specifically under Google-owned packages around line 118) rather than the pinned section. Keeping it pinned unnecessarily restricts packages from using standard version ranges and can lead to dependency conflicts for consumers.

Please move this entry to the unpinned -> Google-owned packages section in alphabetical order.

Comment thread script/configs/custom_analysis.yaml Outdated
Comment on lines +31 to +33
# Use a 100 line width carried over from flutter/flutter.
- material_ui
- cupertino_ui

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

The packages in this configuration file are sorted alphabetically. Adding material_ui and cupertino_ui at the end of the file breaks this order.

Please remove them from the end of the file and insert them in their correct alphabetical positions with their respective comments:

  • cupertino_ui should be placed after animations (around line 18).
  • material_ui should be placed after go_router_builder/example (around line 26).

Comment thread .repo_tool_config.yaml Outdated
- xml

# For material_ui, taken from flutter/flutter.
- material_color_utilities

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Pinned runtime dependencies in published packages are very strongly discouraged. Isn't this Google-owned? If so it can do down in the section starting on line 113 and be unpinned.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes this is Google owned. I've moved it.

I pinned this because it is pinned here in flutter/flutter:

https://github.com/flutter/flutter/blob/2f7b3f59e24ff0dbd3f246b28ca4bb6bfcf10ba0/packages/flutter/pubspec.yaml#L17-L19

@github-actions github-actions Bot removed the CICD Run CI/CD label Jun 8, 2026
@flutter-dashboard flutter-dashboard Bot added the CICD Run CI/CD label Jun 8, 2026

@stuartmorgan-g stuartmorgan-g left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM!

This will probably hit some plugin integration test flake or something that will need re-runs to land, but then iterating on the main PR won't have that problem :)

@justinmc justinmc added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 8, 2026
@auto-submit auto-submit Bot merged commit b89a0d1 into flutter:main Jun 8, 2026
87 checks passed
@justinmc justinmc deleted the decoupling-repo-wide-changes branch June 8, 2026 20:23
pull Bot pushed a commit to Budda0ne/flutter that referenced this pull request Jun 9, 2026
…r#187739)

flutter/packages@13b49f4...bd297cf

2026-06-09 jessiewong401@gmail.com [AGP 9] Migrate Remaining Plugin
Example Apps to Built-in Kotlin (flutter/packages#11806)
2026-06-09 stuartmorgan@google.com [tool] Check for any Flutter SDK
dependency (flutter/packages#11875)
2026-06-09 22373191+Hari-07@users.noreply.github.com
[google_maps_flutter_ios_sdk9] Fix title in google maps sdk9 readme
(flutter/packages#11826)
2026-06-08 jmccandless@google.com [Decoupling] Repo-wide changes
(flutter/packages#11874)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@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
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
This PR makes the repo-wide changes from flutter#11669 in a smaller PR.
via-guy pushed a commit to via-guy/flutter that referenced this pull request Jun 26, 2026
…r#187739)

flutter/packages@13b49f4...bd297cf

2026-06-09 jessiewong401@gmail.com [AGP 9] Migrate Remaining Plugin
Example Apps to Built-in Kotlin (flutter/packages#11806)
2026-06-09 stuartmorgan@google.com [tool] Check for any Flutter SDK
dependency (flutter/packages#11875)
2026-06-09 22373191+Hari-07@users.noreply.github.com
[google_maps_flutter_ios_sdk9] Fix title in google maps sdk9 readme
(flutter/packages#11826)
2026-06-08 jmccandless@google.com [Decoupling] Repo-wide changes
(flutter/packages#11874)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC flutter-ecosystem@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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App CICD Run CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants