Skip to content

Fix chrome 145 web tests - #12486

Draft
mdebbar wants to merge 16 commits into
flutter:mainfrom
mdebbar:fix-chrome-145-web-tests
Draft

Fix chrome 145 web tests#12486
mdebbar wants to merge 16 commits into
flutter:mainfrom
mdebbar:fix-chrome-145-web-tests

Conversation

@mdebbar

@mdebbar mdebbar commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

@tarrinneal

Copy link
Copy Markdown
Contributor

Looks like you're running into the same crash/timeout issues I am now.

- file_selector
# Waiting on https://github.com/flutter/flutter/issues/145149
- google_maps_flutter/google_maps_flutter
# Moved to its own dedicated shard due to long test duration

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm very skeptical that long test duration is the problem here. I looked at the presubmit run before you added this commit, and found this header in the log:

|| Running for packages/camera/camera_web [@1:59]

That means it started running camera_web tests two minutes into the run, and then timed out 58 minutes later. It seems much more likely to me that the camera_web tests are hanging than that they take exactly 59 minutes to successfully run. (Also, they only took 4.5 minutes the last time I see them succeeding in a roll.)

If we have all the tests except this working, and this one is still hanging for reasons we don't understand yet, we should just disable this test entirely with a link to an issue tracking investigating, fixing, and re-enabling the test.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Per my other comment, I think these files and the new shards should be reverted.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

(Also, keeping the new shard would cause every PR to unconditionally run camera_web tests no matter what was being touched, which combined with the fact that it's presumably going to consume a machine for 60 minutes every time would be extremely wasteful of CI resources.)

Comment thread .ci.yaml
# TODO(mdebbar): Upgrade to Chrome 145 once Flutter stable includes the
# upstream flutter_tools fixes for Chrome 145 (flutter/flutter#190155 and
# flutter/flutter#190584) which pass --disable-search-engine-choice-screen
# and --disable-background-timer-throttling.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Let's get (and link to) an issue for this with packages and p: waiting for stable update so we find it when doing the next stable update.

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.

Flutter Packages Web shards timing out with no clear cause.

3 participants