Skip to content

Conversation

@flutteractionsbot
Copy link

@flutteractionsbot flutteractionsbot commented Aug 12, 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?

Changelog Description:

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

Prevent CLI tool crash that can occur when unable to exit a spawned Chromium instance that's already been exited.

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)

Noisy crashes for users. This crash represents 65.69% of tool crashes (with roughly half of that percentage of clients being affected).

Workaround:

Is there a workaround for this issue?

There is no known workaround.

Risk:

What is the risk level of this cherry-pick?

  • Low
  • Medium
  • High

This simply adds a try-catch that will, at worst, obscure errors.

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?

N/A. No reliable repro is known at this time.

…d to Chrome (flutter#151197)

flutter#150645 tries to shut down Chrome by sending a browser close command through a debug protocol.  The webkit_inspection_protocol library used to send the command may throw a SocketException if Chrome has already been shut down.
@flutteractionsbot flutteractionsbot added the cp: review Cherry-picks in the review queue label Aug 12, 2024
@flutteractionsbot
Copy link
Author

@andrewkolos 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 Aug 12, 2024
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

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 cp: approved Approved cherry-pick request 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