Repository navigation
Include the examples cross imports checker in the analzyer. - #190674
auto-submit[bot] merged 6 commits into
Conversation
We forgot to do this when it was first landed.
navaronbracke
left a comment
There was a problem hiding this comment.
So this was why we were thinking it wasn't running?
|
Yes it must have been, because look at all of the failures in CI now: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8674194619156241281/+/u/run_test.dart_for_analyze_shard_and_subshard_None/stdout A bunch in the api/ directory that I wasn't expecting, too. |
| 'examples/multiple_windows/lib/app/main_window.dart', | ||
| 'examples/multiple_windows/lib/app/tooltip_button.dart', | ||
| 'examples/multiple_windows/lib/app/tooltip_window_edit_dialog.dart', | ||
| 'examples/multiple_windows/lib/app/dialog_window_content.dart', | ||
| 'examples/multiple_windows/lib/app/dialog_window_edit_dialog.dart', | ||
| 'examples/multiple_windows/lib/app/popup_window_content.dart', | ||
| 'examples/multiple_windows/lib/app/window_content.dart', | ||
| 'examples/multiple_windows/lib/app/window_edit_dialog.dart', | ||
| 'examples/multiple_windows/lib/app/rotated_wire_cube.dart', | ||
| 'examples/multiple_windows/lib/app/popup_window_edit_dialog.dart', | ||
| 'examples/multiple_windows/lib/app/tooltip_window_content.dart', | ||
| 'examples/multiple_windows/lib/app/popup_button.dart', | ||
| 'examples/multiple_windows/lib/app/window_settings_dialog.dart', | ||
| 'examples/multiple_windows/lib/main.dart', | ||
| 'examples/multiple_windows/test/multiple_windows_test.dart', |
There was a problem hiding this comment.
These we forgot to remove when we migrated the multiple_windows test.
| 'examples/api/test/ui/text/font_feature.font_feature_subscripts.0_test.dart', | ||
| 'examples/api/test/ui/text/font_feature.font_feature_character_variant.0_test.dart', | ||
| 'examples/api/lib/widgets/animated_grid/sliver_animated_grid.0.dart', | ||
| 'examples/api/lib/widgets/expansible/expansible.0.dart', |
There was a problem hiding this comment.
Where do these additions come from?
There was a problem hiding this comment.
When I enabled the script, the analyzer failed because these files have cross imports in them. Did we somehow miss these in your initial PR because it wasn't running in CI?
There was a problem hiding this comment.
They used to be tests in material, and were moved to widgets by #189532
There was a problem hiding this comment.
Ah that's it, thanks.
| @@ -384,6 +392,13 @@ class ExamplesCrossImportChecker { | |||
| 'examples/api/lib/widgets/scrollbar/raw_scrollbar.desktop.0.dart', | |||
| 'examples/api/lib/widgets/inherited_notifier/inherited_notifier.0.dart', | |||
| 'examples/api/lib/widgets/text_magnifier/text_magnifier.0.dart', | |||
| 'examples/api/test/widgets/selection_container/selection_container_disabled.0_test.dart', | |||
| 'examples/api/test/widgets/selection_container/selection_container.0_test.dart', | |||
| 'examples/api/test/widgets/platform_menu_bar/platform_menu_bar.0_test.dart', | |||
| 'examples/api/test/widgets/context_menu/context_menu_controller.0_test.dart', | |||
| 'examples/api/test/widgets/context_menu/editable_text_toolbar_builder.0_test.dart', | |||
| 'examples/api/test/widgets/context_menu/editable_text_toolbar_builder.1_test.dart', | |||
| 'examples/api/test/widgets/selectable_region/selectable_region.0_test.dart', | |||
There was a problem hiding this comment.
These I guess we missed when landing the cross import example checker.
| 'examples/api/test/ui/text/font_feature.font_feature_subscripts.0_test.dart', | ||
| 'examples/api/test/ui/text/font_feature.font_feature_character_variant.0_test.dart', | ||
| 'examples/api/lib/widgets/animated_grid/sliver_animated_grid.0.dart', | ||
| 'examples/api/lib/widgets/expansible/expansible.0.dart', |
There was a problem hiding this comment.
When I enabled the script, the analyzer failed because these files have cross imports in them. Did we somehow miss these in your initial PR because it wasn't running in CI?
…#12453) Manual roll Flutter from 27b098811f3b to c2437523d308 (179 revisions) Manual roll requested by [email protected] flutter/flutter@27b0988...c243752 2026-08-12 [email protected] Enable Gradle CI cache on all test targets that require android_sdk (flutter/flutter#190723) 2026-08-12 [email protected] [analysis] Reland "Added initial implementation of the flutter_analyzer_plugin (#175679)" (flutter/flutter#191022) 2026-08-12 [email protected] Switch testing to gradle bin distribution type instead of all (flutter/flutter#190738) 2026-08-12 [email protected] Convert Mockito instances in Kotlin to Mockk (flutter/flutter#189884) 2026-08-12 [email protected] Report individual test results to LUCI ResultDB (flutter/flutter#190254) 2026-08-12 [email protected] Toggleable reaction duration respects overrides (flutter/flutter#190857) 2026-08-12 [email protected] Roll Skia from e00dbd7448c4 to fee7272f5bc2 (1 revision) (flutter/flutter#191007) 2026-08-12 [email protected] Started caching text shadows by content. (flutter/flutter#190681) 2026-08-12 [email protected] Adds agent skill for spawning led tasks. (flutter/flutter#190937) 2026-08-12 [email protected] Roll Packages from aaaf246 to 94485f1 (8 revisions) (flutter/flutter#191008) 2026-08-12 [email protected] flutter_tools: validate plugin identifiers before generating registrant code (flutter/flutter#190462) 2026-08-12 [email protected] Roll Skia from 112f36148949 to e00dbd7448c4 (3 revisions) (flutter/flutter#190993) 2026-08-12 [email protected] Roll Skia from 7d366c802307 to 112f36148949 (3 revisions) (flutter/flutter#190983) 2026-08-12 [email protected] remove bringup for flavors test (flutter/flutter#190940) 2026-08-12 [email protected] Roll Skia from 1f10a20bdd61 to 7d366c802307 (2 revisions) (flutter/flutter#190980) 2026-08-12 [email protected] Remove `--no-sim-use-hardfp` flag (flutter/flutter#190790) 2026-08-12 [email protected] Roll pub packages (flutter/flutter#190977) 2026-08-12 [email protected] Roll Skia from 339bedab6766 to 1f10a20bdd61 (1 revision) (flutter/flutter#190975) 2026-08-12 [email protected] RawTooltip respects AnimationStyle updates and reverseCurve (flutter/flutter#190889) 2026-08-12 [email protected] ci: Support --target_arch option in prepare_package.dart (flutter/flutter#190960) 2026-08-12 [email protected] Roll Fuchsia Linux SDK from SFq4FVodIOQAS26Lr... to -uHuSGv3wt7QAlDwa... (flutter/flutter#190973) 2026-08-12 [email protected] Removes building of ci/android_debug_x86 as nobody should be consuming it. (flutter/flutter#190951) 2026-08-12 [email protected] Adds error about wimp_heavy not being implemented. (flutter/flutter#189945) 2026-08-11 [email protected] Add clang, cmake, and ninja deps to Linux windowing_test (flutter/flutter#190119) 2026-08-11 [email protected] [AGP 9.1.0 Migration #1] Add Android Gradle Plugin Public API migration documentation (flutter/flutter#190842) 2026-08-11 [email protected] [flutter_tools] Fix deadlock in debug adapters when process exits early (flutter/flutter#190931) 2026-08-11 [email protected] [tool] Define modular dependency injection containers and bootstrapper (flutter/flutter#190724) 2026-08-11 [email protected] [web] Unify MaskFilter and ColorFilter primitives across CanvasKit and Skwasm (flutter/flutter#190314) 2026-08-11 [email protected] Roll pub packages (flutter/flutter#190958) 2026-08-11 [email protected] [Impeller] Move image upload scheduling waits to GPU disable (flutter/flutter#190445) 2026-08-11 [email protected] Started generating the windows platform for macrobenchmarks (flutter/flutter#190932) 2026-08-11 [email protected] [web] Unify ui.Vertices (flutter/flutter#190563) 2026-08-11 [email protected] Fix accessibility_inspector service extensions map mutability (flutter/flutter#190888) 2026-08-11 [email protected] Add batch3 a11y_assessment for vpat (flutter/flutter#189042) 2026-08-11 [email protected] Remove Xcode environment when building swift tools in Xcode pre-action (flutter/flutter#190848) 2026-08-11 [email protected] [tool] Add missing play element in web test index.html to fix warning (flutter/flutter#190675) 2026-08-11 [email protected] Offload blocking work in ProcessTextPlugin to the background (flutter/flutter#189823) 2026-08-11 [email protected] [flutter_tools] Replace usages of package:dds/dap.dart with package:dap_adapters/dap_adapters.dart (flutter/flutter#190667) 2026-08-11 [email protected] Always update swift package dependencies (flutter/flutter#190886) 2026-08-11 [email protected] [flutter_tools] Add --preset option to flutter test (flutter/flutter#190878) 2026-08-11 [email protected] Include the examples cross imports checker in the analzyer. (flutter/flutter#190674) 2026-08-11 [email protected] [devicelab] Remove orphaned screenshot test files (flutter/flutter#190879) 2026-08-11 [email protected] Remove the bringup flag from the linux_arm_host_desktop_engine builder (flutter/flutter#190935) 2026-08-11 [email protected] Reduce web_skwasm_tests subshards from 8 to 2 (flutter/flutter#190728) ...
When we landed the script, we forgot to include it as part of the analzyer check.