Repository navigation
[beta] Roll dwds to 27.2.1 - #196035
Open
Markzipan wants to merge 1 commit into
Open
[beta] Roll dwds to 27.2.1#196035Markzipan wants to merge 1 commit into
Markzipan wants to merge 1 commit into
Conversation
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
|
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. |
Markzipan
marked this pull request as ready for review
November 5, 2026 10:22
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. |
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 chromefails with:DWDS stops waiting for Chrome to respond to
Debugger.enableafter 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 chromefails to connect to the web debug service with aTimeoutExceptionfor 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?
The only new changes in this version (besides this fix) are a new optional
deprecatedJsInteropparameter and some other low-risk bug fixes.Test Coverage:
Are you confident that your fix is well-tested by automated tests?
Tets added to (
pkg/dwds/test/integration/webkit_debugger_test.dartin the Dart SDK).Validation Steps:
flutter run -d chromeon a large web app where Chrome takes over 20s to respond toDebugger.enable(see bugs for example apps).