-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[google_maps_flutter_web] Migrate to google_maps: 8.0.0
#7077
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
[google_maps_flutter_web] Migrate to google_maps: 8.0.0
#7077
Conversation
Why are the integration tests skipped? Is it because other steps are failing? |
package:web
migrationgoogle_maps: 8.0.0
Because they are currently disabled @ditman FYI in case you aren't aware; maybe something you could look at while gardening? @bparrishMines That's assigned to you, are you actively working on it? We shouldn't leave whole tests suites disabled for extended periods if we can avoid it. |
@stuartmorgan Yea im going to take a look into it now. I'll try to narrow down the specific test to skip, so we no longer skip all the integration tests. |
@stuartmorgan is there an issue to track running integration tests compiled to WASM in CI? |
@@ -32,6 +32,12 @@ dev_dependencies: | |||
flutter_test: | |||
sdk: flutter | |||
|
|||
dependency_overrides: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you'll want to drop this override, I think
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely
We also likely DON'T want to publish this package depending on a pre-release package. |
Also definitely the case |
Should we update the documentation with instructions on how to add that script locally for WASM compilation? |
@Rexios80 not sure! I'm running the tests in linux with your latest changes to the
I use flutter from git, so whenever I upgrade and expect changes in the tools I have a script to clear the fluter cache:
I can drive the example both with and without
@stuartmorgan I'll try to move it to the existing
@Rexios80 yes, we should mention that the file needs to be served from the same-domain or a CORP/COEP enabled CDN (which unpkg is not...)... Or find another CDN that does COEP/CORP (?) |
Ended up swapping the CDN we use in the example/web/index.html to jsdelivr and that seems to support dit@dit:example$ flutter drive -d web-server --web-port=7357 --browser-name=chrome --driver test_driver/integration_test.dart --target integration_test/marker_clustering_test.dart --wasm
Resolving dependencies...
Downloading packages...
_fe_analyzer_shared 72.0.0 (73.0.0 available)
analyzer 6.7.0 (6.8.0 available)
collection 1.18.0 (1.19.0 available)
! google_maps_flutter_web 0.5.9 from path .. (overridden)
http_parser 4.0.2 (4.1.0 available)
js 0.6.7 (0.7.1 available)
material_color_utilities 0.11.1 (0.12.0 available)
shelf 1.4.1 (1.4.2 available)
Got dependencies!
7 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Launching integration_test/marker_clustering_test.dart on Web Server in debug mode...
Compiling integration_test/marker_clustering_test.dart for the Web... 33.9s
✓ Built build/web
integration_test/marker_clustering_test.dart is being served at http://localhost:7357
The web-server device requires the Dart Debug Chrome extension for debugging. Consider using the Chrome or Edge
devices for an improved development workflow.
All tests passed.
Application finished. (Also updated the README of the package to point to the jsdelivr URL) |
@ditman I guess there's no way to avoid touching hosted resources for these tests...so 🤷 |
I'm on macOS. Could that be the cause? @ditman What do you think about the COEP error? |
I've seen this issue now, thanks! I'm going to try and reconfigure the COEP/CORP headers that are sent back by the flutter tool to see if we can still get proper WasmGC but with a slightly more permissive (The error is unrelated to this PR, it's a "behavior" in the way that cross-origin isolation works with 3P resources :P) PS: I've tested with this PR: And the error seems to go away. I'm not an expert in Wasm, so we'll see what @eyebrowsoffire has to say about it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just bumped everything and this is looking good; if @Rexios80 is happy with the end result, let's merge! LGTM!
@ditman thanks for the help cleaning this up! LGTM once checks pass |
Can we mark this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kevmoo Checks were being flakey but they finally passed so yes we can |
Yeeeeah! Thanks for landing this! 🎉 |
flutter/packages@46a712f...27896d1 2024-08-01 [email protected] [local_auth_darwin] macOS Support (flutter/packages#6267) 2024-08-01 [email protected] Manual roll Flutter from 4d12197 to f817e51 (7 revisions) (flutter/packages#7270) 2024-08-01 [email protected] [ci] version_check_command now checks markdown of first CHANGELOG line. (flutter/packages#7266) 2024-08-01 [email protected] Manual roll Flutter from 031dc3d to 4d12197 (12 revisions) (flutter/packages#7259) 2024-07-31 [email protected] [in_app_purchase_storekit] convert TranslatorTests to swift (flutter/packages#7232) 2024-07-31 [email protected] [google_maps_flutter_web] Migrate to `google_maps: 8.0.0` (flutter/packages#7077) 2024-07-31 [email protected] [tool] Run pre_publish.dart before publish --dry-run (flutter/packages#7258) 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 [email protected],[email protected] 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
flutter/packages@46a712f...27896d1 2024-08-01 [email protected] [local_auth_darwin] macOS Support (flutter/packages#6267) 2024-08-01 [email protected] Manual roll Flutter from 4d12197 to f817e51 (7 revisions) (flutter/packages#7270) 2024-08-01 [email protected] [ci] version_check_command now checks markdown of first CHANGELOG line. (flutter/packages#7266) 2024-08-01 [email protected] Manual roll Flutter from 031dc3d to 4d12197 (12 revisions) (flutter/packages#7259) 2024-07-31 [email protected] [in_app_purchase_storekit] convert TranslatorTests to swift (flutter/packages#7232) 2024-07-31 [email protected] [google_maps_flutter_web] Migrate to `google_maps: 8.0.0` (flutter/packages#7077) 2024-07-31 [email protected] [tool] Run pre_publish.dart before publish --dry-run (flutter/packages#7258) 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 [email protected],[email protected] 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
flutter/packages@46a712f...27896d1 2024-08-01 [email protected] [local_auth_darwin] macOS Support (flutter/packages#6267) 2024-08-01 [email protected] Manual roll Flutter from 4d12197 to f817e51 (7 revisions) (flutter/packages#7270) 2024-08-01 [email protected] [ci] version_check_command now checks markdown of first CHANGELOG line. (flutter/packages#7266) 2024-08-01 [email protected] Manual roll Flutter from 031dc3d to 4d12197 (12 revisions) (flutter/packages#7259) 2024-07-31 [email protected] [in_app_purchase_storekit] convert TranslatorTests to swift (flutter/packages#7232) 2024-07-31 [email protected] [google_maps_flutter_web] Migrate to `google_maps: 8.0.0` (flutter/packages#7077) 2024-07-31 [email protected] [tool] Run pre_publish.dart before publish --dry-run (flutter/packages#7258) 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 [email protected],[email protected] 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
Migrates
google_maps_flutter_web
togoogle_maps: ^8.0.0
Blocked on the following:
--wasm
flutter#151426flutter drive --wasm
does not report results even though tests completed flutter#151561Fixes flutter/flutter#148624