Skip to content

Removes unused code in DevTools app extensions/ and framework/ directories - #9909

Merged
auto-submit[bot] merged 12 commits into
flutter:masterfrom
kenzieschmoll:dcm-1
Jul 27, 2026
Merged

Removes unused code in DevTools app extensions/ and framework/ directories#9909
auto-submit[bot] merged 12 commits into
flutter:masterfrom
kenzieschmoll:dcm-1

Conversation

@kenzieschmoll

Copy link
Copy Markdown
Member

Work towards #9906

Chained on top of #9908

@kenzieschmoll
kenzieschmoll marked this pull request as ready for review July 22, 2026 00:13
@kenzieschmoll
kenzieschmoll requested a review from a team as a code owner July 22, 2026 00:13
@kenzieschmoll
kenzieschmoll requested review from bkonyi and srawlins and removed request for a team July 22, 2026 00:13

@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 enables Dart Code Metrics analysis for the extensions and framework directories by removing them from the exclusion list in analysis_options.yaml. This led to cleaning up unused fields, constants, and adding ignore comments for false positives. Additionally, an assertion-based debug check in HomeScreen was refactored to use if (kDebugMode). Feedback was provided regarding a potential "setState() called after dispose()" exception in HomeScreen due to the asynchronous nature of _debugInitVmServiceCache, along with a suggestion to maintain consistency by updating another assertion to use if (kDebugMode).

Comment thread packages/devtools_app/lib/src/framework/home_screen.dart
@kenzieschmoll kenzieschmoll added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 27, 2026
@auto-submit
auto-submit Bot merged commit c5a863a into flutter:master Jul 27, 2026
52 checks passed
@kenzieschmoll
kenzieschmoll deleted the dcm-1 branch July 27, 2026 16:33
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 release-notes-not-required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants