Skip to content

Remove unused code from services/ - #9919

Merged
kenzieschmoll merged 3 commits into
flutter:masterfrom
kenzieschmoll:dcm-service
Jul 27, 2026
Merged

Remove unused code from services/#9919
kenzieschmoll merged 3 commits into
flutter:masterfrom
kenzieschmoll:dcm-service

Conversation

@kenzieschmoll

Copy link
Copy Markdown
Member

Work towards #9906

@kenzieschmoll
kenzieschmoll requested review from a team and srawlins as code owners July 27, 2026 21:25

@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 static analysis configurations to exclude platform-specific directories and refactors VmServiceWrapper to track active futures by name using a Set<String> instead of tracking TrackedFuture objects. Feedback on these changes highlights a critical logical bug where using a Set instead of a List for activeFutureNames will prematurely complete the futures tracker when multiple concurrent futures share the same name. Additionally, a minor cleanup is suggested to remove a redundant .map call in the test environment setup.

Comment thread packages/devtools_app/lib/src/service/vm_service_wrapper.dart Outdated
Comment thread packages/devtools_app/test/test_infra/flutter_test_environment.dart Outdated
kenzieschmoll and others added 2 commits July 27, 2026 15:18
….dart

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@kenzieschmoll
kenzieschmoll merged commit f33f60d into flutter:master Jul 27, 2026
135 of 138 checks passed
@kenzieschmoll
kenzieschmoll deleted the dcm-service branch July 27, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants