Skip to content

Conversation

@ricardoamador
Copy link
Contributor

@ricardoamador ricardoamador commented Sep 26, 2023

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.

List which issues are fixed by this PR. You must list at least one issue.
Fixes #121420

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

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.

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

@ricardoamador ricardoamador marked this pull request as ready for review September 29, 2023 18:34
print('Waiting for device.');
final String waitOut = await adb(<String>['wait-for-device']);
print(waitOut);
const RetryOptions retryOptions = RetryOptions(delayFactor: Duration(seconds: 1), maxAttempts: 30, maxDelay: Duration(minutes: 1));
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

@ricardoamador ricardoamador Sep 29, 2023

Choose a reason for hiding this comment

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

I tried that but the android shell would not run it. This is also a safer method as this will not potentially loop forever.

@godofredoc
Copy link
Contributor

For this change can we take a snapshot of the android flakiness now to compare after this change lands?

@ricardoamador
Copy link
Contributor Author

Do you mean a snapshot as in record all the current android flakes? That can be done via the CiYaml correct? As we record the open issues for flakes directly in that file?

@godofredoc
Copy link
Contributor

Do you mean a snapshot as in record all the current android flakes? That can be done via the CiYaml correct? As we record the open issues for flakes directly in that file?

Nope, I meant a screenshot of the flakiness dashboard for devicelab android

@ricardoamador
Copy link
Contributor Author

Ahhh okay. Yeah will do.

@ricardoamador
Copy link
Contributor Author

ricardoamador commented Sep 29, 2023

Top Flaky Prod Builders last 90 days
image
image
image
image
Top Flaky Try Builders last 90 days
image
image

@ricardoamador
Copy link
Contributor Author

The top flaky test over the past 90 days:
image
image
image
image

@ricardoamador
Copy link
Contributor Author

Top flaky linux android prod tasks by tags last 90 days:
image
image
image

Top flaky linux android try tasks by tags last 90 days:
image

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!

Add type annotation for Future.delayed.
@ricardoamador ricardoamador added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 30, 2023
@auto-submit auto-submit bot merged commit 4e5e47e into flutter:master Sep 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 30, 2023
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Sep 30, 2023
flutter/flutter@57b5c3c...d3df8f6

2023-09-30 [email protected] Roll Flutter Engine from 68fc1a567195 to 01fc3c6624ce (1 revision) (flutter/flutter#135808)
2023-09-30 [email protected] Roll Flutter Engine from 4ed733d99cd5 to 68fc1a567195 (1 revision) (flutter/flutter#135807)
2023-09-30 [email protected] Roll Flutter Engine from d814c69abe26 to 4ed733d99cd5 (1 revision) (flutter/flutter#135801)
2023-09-30 [email protected] Roll Flutter Engine from f726438d4d65 to d814c69abe26 (1 revision) (flutter/flutter#135799)
2023-09-30 [email protected] Roll Flutter Engine from 0b96a82cc874 to f726438d4d65 (1 revision) (flutter/flutter#135796)
2023-09-30 [email protected] Roll Flutter Engine from f3a4cab69962 to 0b96a82cc874 (1 revision) (flutter/flutter#135793)
2023-09-30 [email protected] Roll Flutter Engine from e719b7957763 to f3a4cab69962 (2 revisions) (flutter/flutter#135792)
2023-09-30 [email protected] Roll Flutter Engine from 8939f9c1f4e4 to e719b7957763 (2 revisions) (flutter/flutter#135789)
2023-09-30 [email protected] Roll Flutter Engine from 6a13607008ed to 8939f9c1f4e4 (1 revision) (flutter/flutter#135788)
2023-09-30 [email protected] Add device ready check (flutter/flutter#135526)
2023-09-30 [email protected] Temporarily disable NexusLowRes, version=29 (flutter/flutter#135785)
2023-09-30 [email protected] Cover more test/widgets tests with leak tracking #12. (flutter/flutter#135385)
2023-09-30 [email protected] DraggableScrollableController should dispatch creation in constructor. (flutter/flutter#135423)
2023-09-30 [email protected] Roll Flutter Engine from d203e349781c to 6a13607008ed (2 revisions) (flutter/flutter#135780)
2023-09-29 [email protected] Roll Flutter Engine from 48973d7f9beb to d203e349781c (5 revisions) (flutter/flutter#135776)
2023-09-29 [email protected] ViewportOffset should dispatch creation in constructor. (flutter/flutter#135420)
2023-09-29 [email protected] Use platform dill from the engine when compiling with dart2wasm. (flutter/flutter#134970)
2023-09-29 [email protected] Roll Flutter Engine from d5fcd78a879b to 48973d7f9beb (5 revisions) (flutter/flutter#135765)
2023-09-29 [email protected] Upgrade leak_tracker to fix flackiness. (flutter/flutter#135760)
2023-09-29 [email protected] Roll Flutter Engine from c52251a8b2d0 to d5fcd78a879b (2 revisions) (flutter/flutter#135755)
2023-09-29 [email protected] Update `Drawer` tests for M2/M3 (flutter/flutter#135752)
2023-09-29 [email protected] Expose onAttach and onDetach in ScrollController subclasses (flutter/flutter#135721)
2023-09-29 [email protected] Update the wasm bootstrap to allow access to the emscripten wrapper to skwasm. (flutter/flutter#135723)
2023-09-29 [email protected] Update logic for getting `Analytics` instance from package:unified_analytics (flutter/flutter#134756)

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
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Mairramer pushed a commit to Mairramer/flutter that referenced this pull request Oct 10, 2023
*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.*

*List which issues are fixed by this PR. You must list at least one issue.*
Fixes flutter#121420

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
@ricardoamador ricardoamador deleted the add_device_ready_check branch February 5, 2024 18:52
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a wait for the device to be ready before allowing uninstall of app

3 participants