Skip to content

Conversation

@andrewkolos
Copy link
Contributor

@andrewkolos andrewkolos commented Aug 30, 2023

Fixes #133713

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

@andrewkolos andrewkolos added the tool Affects the "flutter" command-line tool. See also t: labels. label Aug 30, 2023
@andrewkolos
Copy link
Contributor Author

I've tested this with Linux_android flavors_test and Mac_ios flavors_test_ios, but I couldn't run Windows_android flavors_test since we have no eligible bots in the try pool to run it. It's probably safe though; because, as far as this change is concerned, the tests are identical on Windows and Linux hosts.

@andrewkolos andrewkolos marked this pull request as ready for review September 1, 2023 16:04
Copy link
Contributor

Choose a reason for hiding this comment

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

https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#if-you-have-a-newline-after-some-opening-punctuation-match-it-on-the-closing-punctuation

On the second line (18) here, the indent should just be 2 more than line 17, and then the start of the callback should be on a new line (19) indented the same as line 18, and then the rest of the callback body indented +2.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed. It should be fixed now. Fun fact: I got the original formatting from dart format

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.

do you have led builds where these pass?

@andrewkolos
Copy link
Contributor Author

do you have led builds where these pass?

Oh yeah, forgot to add those. Linux_android flavors_test. Mac_ios flavors_test_ios. I don't have anything for Windows_android flavors_test since we don't have try bots for that, but it should be functionality identical to Linux_android flavors_test as far as this change is concerned.

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! Thanks for this yak shave

@andrewkolos andrewkolos added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 1, 2023
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Sep 1, 2023
@auto-submit
Copy link
Contributor

auto-submit bot commented Sep 1, 2023

auto label is removed for flutter/flutter/133719, due to - The status or check suite Linux web_tests_0 has failed. Please fix the issues identified (or deflake) before re-applying this label.

@andrewkolos andrewkolos force-pushed the fix-flavors_test-install-checks branch from ebea153 to 997b93e Compare September 1, 2023 19:28
@andrewkolos andrewkolos added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 1, 2023
@auto-submit auto-submit bot merged commit a66eae1 into flutter:master Sep 1, 2023
vashworth added a commit that referenced this pull request Sep 1, 2023
auto-submit bot pushed a commit that referenced this pull request Sep 1, 2023
Reverts #133719

`Windows_android flavors_test_win` failed twice in a row in the tree
@vashworth
Copy link
Contributor

@andrewkolos @christopherfujino I reverted this PR, it was failing Windows_android flavors_test_win in the tree

https://ci.chromium.org/ui/p/flutter/builders/prod/Windows_android%20flavors_test_win/7438/overview

@christopherfujino
Copy link
Contributor

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 5, 2023
auto-submit bot pushed a commit that referenced this pull request Sep 5, 2023
Reland of #133719. Updates [the string comparison in flavor_test.dart](https://github.com/flutter/flutter/pull/134060/files#diff-53383b32b975bfed6875306dfb98911cad077a5251ca0591c5b0e125fb4a0f05R39) to use `path.join` to build the path string so that the generated path is correct for both Linux and Windows hosts.

Fixes #133713

I've tested this on a Windows host targeting a physical Android device.
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 5, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 6, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 6, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 6, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 6, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 6, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 6, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 6, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 6, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 7, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 7, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 7, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 7, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 7, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Nov 15, 2023
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 tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

devicelab test for flutter install with an invalid --flavor cannot fail

3 participants