Skip to content

[beta] Roll dwds to 27.2.1 - #196035

Open
Markzipan wants to merge 1 commit into
flutter:flutter-3.50-candidate.0from
Markzipan:cp-beta-dwds-27.2.1
Open

Markzipan wants to merge 1 commit into
flutter:flutter-3.50-candidate.0from
Markzipan:cp-beta-dwds-27.2.1

Conversation

@Markzipan

@Markzipan Markzipan commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Issue Link:

dart-lang/webdev#2883

Also reported on the 3.50 beta: #190436 (comment)

Impacted Users:

Flutter web developers debugging large apps on Chrome/IDEs.

Impact Description:

Rolls dwds from 27.1.3 to 27.2.1 (landed on master in #195932)

For large web apps, flutter run -d chrome fails with:

Failed to establish connection with the web debug service: TimeoutException after 0:00:05.000000: Future not completed
#0      Future.timeout.<anonymous closure> (dart:async/future_impl.dart:1055:24)
<asynchronous suspension>
#1      WebkitDebugger.enable (package:dwds/src/debugging/webkit_debugger.dart:166:9)
...
Finished with error: Failed to connect to the web debug service.

DWDS stops waiting for Chrome to respond to Debugger.enable after about 20 seconds (4 attempts of 5 seconds each).
Chrome takes longer than that for large apps.

A fix in DWDS 27.2.1 updates this logic to send requests every 5 seconds for 3 minutes, stopping whenever any connection completes or the connection is closed.

Changelog Description:

dart-lang/webdev/2883: flutter run -d chrome fails to connect to the web debug service with a TimeoutException for large web apps.

Workaround:

None on 3.5. I've asked users to use flutter channel master.

Risk:

What is the risk level of this cherry-pick?

  • Low
  • Medium
  • High

The only new changes in this version (besides this fix) are a new optional deprecatedJsInterop parameter and some other low-risk bug fixes.

Test Coverage:

Are you confident that your fix is well-tested by automated tests?

  • Yes
  • No

Tets added to (pkg/dwds/test/integration/webkit_debugger_test.dart in the Dart SDK).

Validation Steps:

  1. Run flutter run -d chrome on a large web app where Chrome takes over 20s to respond to Debugger.enable (see bugs for example apps).
  2. Verify that the debug service connects.

Fixes `flutter run -d chrome` failing to connect to the web debug service
with "TimeoutException after 0:00:05.000000" for large web apps.

dwds was rolled to 27.2.1 on master in
flutter#195932.

Bug: dart-lang/webdev#2883
@flutter-dashboard

Copy link
Copy Markdown

This pull request was opened from and to a release candidate branch. This should only be done as part of the official Flutter release process. If you are attempting to make a regular contribution to the Flutter project, please close this PR and follow the instructions at Tree Hygiene for detailed instructions on contributing to Flutter.

Reviewers: Use caution before merging pull requests to release branches. Ensure the proper procedure has been followed.

@github-actions github-actions Bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Nov 5, 2026
@Markzipan Markzipan changed the title [CP-beta][tool] Roll dwds to 27.2.1 [beta] Roll dwds to 27.2.1 Nov 5, 2026
@Markzipan Markzipan added cp: review Cherry-picks in the review queue CICD Run CI/CD labels Nov 5, 2026
@Markzipan
Markzipan marked this pull request as ready for review November 5, 2026 10:22

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the dwds dependency in packages/flutter_tools/pubspec.yaml and pubspec.lock from version 27.1.3 to 27.2.1. There are no review comments, and I have no feedback to provide.

@reidbaker

Copy link
Copy Markdown
Member

Hey this came in really late for the 3.50 beta to stable promotion so it will have to wait for the first patch version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICD Run CI/CD cp: review Cherry-picks in the review queue tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants