Skip to content

Conversation

@flutteractionsbot
Copy link

@flutteractionsbot flutteractionsbot commented Nov 18, 2024

This pull request is created by automatic cherry pick workflow
Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request.

Issue Link:

What is the link to the issue this cherry-pick is addressing?

#158537

Changelog Description:

Explain this cherry pick in one line that is accessible to most Flutter developers. See best practices for examples

Avoid rethrowing DartDevelopmentServiceExceptions as StateErrors when the Dart Development Service fails to start due to the target shutting down.

Impact Description:

What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch)

Currently one of the top tool crashers on the beta branch. The crash is harmless and shouldn't impact user workflows, but causes significant noise.

Workaround:

Is there a workaround for this issue?

No workaround available.

Risk:

What is the risk level of this cherry-pick?

  • Low
  • Medium
  • High

Test Coverage:

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

  • Yes
  • No

Validation Steps:

What are the steps to validate that this fix works?

Hard to replicate the original issue consistently, but in theory: start applications and immediately shut them down before DDS can finish starting.

This started happening after moving DDS to launch from `dart
development-service` rather than `DartDevelopmentService` (see
33b402d) . This state error was
originally meant to be thrown when some string parsing failed, but is
currently wrapping the `DartDevelopmentServiceException`.

Fixes flutter#158537
@flutteractionsbot flutteractionsbot added the cp: review Cherry-picks in the review queue label Nov 18, 2024
@flutteractionsbot
Copy link
Author

@bkonyi please fill out the PR description above, afterwards the release team will review this request.

@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Nov 18, 2024
@bkonyi bkonyi requested review from christopherfujino and reidbaker and removed request for christopherfujino November 20, 2024 16:25
@bkonyi bkonyi added the cp: merge-to-beta Cherry-picks that should be merged to beta label Dec 5, 2024
@christopherfujino christopherfujino added the autosubmit Merge PR when tree becomes green via auto submit App label Dec 6, 2024
@auto-submit
Copy link
Contributor

auto-submit bot commented Dec 6, 2024

auto label is removed for flutter/flutter/159079, Failed to enqueue flutter/flutter/159079 with HTTP 400: GraphQL mutate failed.

@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Dec 6, 2024
@christopherfujino christopherfujino merged commit 3264426 into flutter:flutter-3.27-candidate.0 Dec 7, 2024
122 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 11, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cp: merge-to-beta Cherry-picks that should be merged to beta 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.

4 participants