flutter / flutter/devtools

Ensure we do not call service extensions when the app may be paused

Open
#9,164 0 comments 0 reactions 0 assignees View on GitHub
audit cross-screen P2
Dominant language
Dart
Stars
1.7k
Forks
404
Avg merge
6d 17h
Merged PRs (30d)
18

Description

If we attempt to call a service extension while the connected app is paused and we are awaiting the response, DevTools will hang. https://github.com/flutter/devtools/pull/9162 is an example fix for one of these issues. We should audit other service extension calls in DevTools to make sure we aren't doing this elsewhere.

See comment here for context: https://github.com/flutter/devtools/pull/9162#discussion_r2070633192.

Contributor guide

Open the contributing guide

Research direction

Start with the example fix in flutter/devtools#9162 and its linked discussion to understand the paused-app condition. Then audit the other service extension call sites in DevTools for calls that await responses while the connected app may be paused; done means those cases no longer hang, with appropriate coverage where existing tests support it.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.