Skip to content
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

[extension_google_sign_in_as_googleapis_auth][google_maps_flutter_ios] Manual roll with fixes to example and skipping some native tests #7571

Merged
merged 14 commits into from
Sep 6, 2024

Conversation

bparrishMines
Copy link
Contributor

@bparrishMines bparrishMines commented Sep 3, 2024

It looks like #7521 missed a few packages examples and they are now failing to compile on main.

Some native tests have also began to fail consistently for google_maps_flutter_ios: flutter/flutter#154641

Some legacy iOS webview_flutter tests were also failing: flutter/flutter#154676

Pre-launch Checklist

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

@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.

@bparrishMines bparrishMines changed the title update examples [many] Upgrade example apps to AGP 8.5.2 missed by #7521 Sep 3, 2024
@bparrishMines
Copy link
Contributor Author

@gmackall These example apps are failing to compile on flutter main, so I updated their gradle versions just like #7521.

@bparrishMines bparrishMines changed the title [many] Upgrade example apps to AGP 8.5.2 missed by #7521 [extension_google_sign_in_as_googleapis_auth][rfw] Upgrade example apps to AGP 8.5.2 missed by #7521 Sep 3, 2024
@@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.1.0'
Copy link
Contributor

Choose a reason for hiding this comment

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

@gmackall this change should not be required based on what I know about the reasons for having to update to at least agp 8.1 (androidx unpublished dependency).
Do you know why this update is required?

Copy link
Member

Choose a reason for hiding this comment

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

I think the upgrade to this example shouldn't be necessary (just the upgrade that landed in https://github.com/flutter/packages/pull/7545/files), but also it doesn't hurt to have them all on the latest

Copy link
Contributor Author

@bparrishMines bparrishMines Sep 3, 2024

Choose a reason for hiding this comment

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

This wasn't required. I just updated since it was in the same package. I went ahead and reverted it. But I can upgrade if that is preferred.

@gmackall
Copy link
Member

gmackall commented Sep 3, 2024

The rfw fix has landed in #7545, am looking in to the fix for extension_google_sign_in_as_googleapis_auth at the moment.

It seems to be hitting an issue with R8, perhaps something related to flutter/flutter#154489? Still investigating

@github-actions github-actions bot removed the p: rfw Remote Flutter Widgets label Sep 3, 2024
@bparrishMines bparrishMines changed the title [extension_google_sign_in_as_googleapis_auth][rfw] Upgrade example apps to AGP 8.5.2 missed by #7521 [extension_google_sign_in_as_googleapis_auth] Upgrade example app to AGP 8.5.2 missed by #7521 Sep 3, 2024
@bparrishMines
Copy link
Contributor Author

bparrishMines commented Sep 3, 2024

The rfw fix has landed in #7545, am looking in to the fix for extension_google_sign_in_as_googleapis_auth at the moment.

It seems to be hitting an issue with R8, perhaps something related to flutter/flutter#154489? Still investigating

@gmackall extension_google_sign_in_as_googleapis_auth compiled locally for me after I did the 8.5.2 upgrade. I only checked on the latest Flutter main though.

@gmackall
Copy link
Member

gmackall commented Sep 3, 2024

The rfw fix has landed in #7545, am looking in to the fix for extension_google_sign_in_as_googleapis_auth at the moment.
It seems to be hitting an issue with R8, perhaps something related to flutter/flutter#154489? Still investigating

@gmackall extension_google_sign_in_as_googleapis_auth compiled locally for me after I did the 8.5.2 upgrade. I only check on the latest Flutter main though.

Interesting! If it compiles then it LGTM!

@@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx1536M
Copy link
Contributor

Choose a reason for hiding this comment

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

I recall there are actually 2 parameters you need to set here. Let me see if I can find an example.

Copy link
Contributor Author

@bparrishMines bparrishMines Sep 3, 2024

Choose a reason for hiding this comment

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

I found the commit for this one I think: 0814a3b

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@bparrishMines bparrishMines Sep 3, 2024

Choose a reason for hiding this comment

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

Hmm it builds locally but not on CI

Copy link
Member

@gmackall gmackall Sep 3, 2024

Choose a reason for hiding this comment

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

Ok, this is the same issue as flutter/flutter#154489. It seems like upgrading the guava version in 6.1.25 of google_sign_in_android has caused some issues with our use of R8 (I verified that reverting back to using

implementation 'com.google.guava:guava:32.0.1-android'

makes this example app build successfully).

I think perhaps we should revert back to that guava version to unblock the roller (and also to unblock google_sign_in_android being broken on flutter's latest master), and then investigate what it will take to unblock that upgrade

Copy link
Member

Choose a reason for hiding this comment

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

Done, and updated branch

Copy link
Member

Choose a reason for hiding this comment

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

Looks like it builds successfully now!

auto-submit bot pushed a commit that referenced this pull request Sep 3, 2024
….0.1` (#7573)

This upgrade is causing issues with our use of R8. I think we should downgrade back, while we investigate what it takes to unblock this upgrade.

Fixes flutter/flutter#154489, 
related to #7571 (comment).
@@ -1,3 +1,3 @@
org.gradle.jvmargs=-Xmx1536M
Copy link
Contributor

Choose a reason for hiding this comment

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

@bparrishMines bparrishMines changed the title [extension_google_sign_in_as_googleapis_auth] Upgrade example app to AGP 8.5.2 missed by #7521 [extension_google_sign_in_as_googleapis_auth][google_maps_flutter_ios] Manual roll with fixes to example and skipping some native tests Sep 4, 2024
Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

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

Thanks!

Copy link
Contributor

@stuartmorgan stuartmorgan left a comment

Choose a reason for hiding this comment

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

LGTM

@bparrishMines bparrishMines added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 6, 2024
@auto-submit auto-submit bot merged commit 56df73e into flutter:main Sep 6, 2024
76 checks passed
@bparrishMines bparrishMines deleted the update_examples branch September 6, 2024 01:25
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 6, 2024
…lutter_ios] Manual roll with fixes to example and skipping some native tests (flutter/packages#7571)
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Sep 6, 2024
flutter/packages@71e827e...56df73e

2024-09-06 10687576+bparrishMines@users.noreply.github.com [extension_google_sign_in_as_googleapis_auth][google_maps_flutter_ios] Manual roll with fixes to example and skipping some native tests (flutter/packages#7571)

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,rmistry@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants