-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-plugintype-performanceIssue relates to performance or code sizeIssue relates to performance or code size
Description
Continue #55281 (comment)
Dart SDK version: 3.9.2 (stable) (Wed Aug 27 03:49:40 2025 -0700) on "windows_x64"
When project using custom_lint (riverpod_lint) plugin it will random slow/stuck analyzer. The clearest representation is running android debug right after opening the project in Vscode with multiple pinned files.
- Checkout https://github.com/noncheat/riverpod/tree/test/analysis
- Open examples/todos in Vscode
- Try Start Debugging (F5) first time and Enable Android for project
- Vscode pin some files (Ctrl+K Shift+Enter) main.dart, todo.dart, pubspec.yaml, analysis_options.yaml,...
- Ctrl+. at lib/main.dart:63 StatelessWidget for trigger helper confirm it work
(process custom_lint_client.dart take about ~1.3GB ram) - F1 > Developer: Reload Window, Start Debugging (F5) Android immediately after window reloaded
- Try step 5 again to see it not work anymore.
(process custom_lint_client.dart take only ~0.5GB ram)
The problem can be solved by this invertase/dart_custom_lint#340, but I think it would be better to solve from Dart analyzer?
Video
https://drive.google.com/file/d/1bzW0VbEHzN9dBhWN9_9HGEiZ2mORzAa-/view?usp=drive_link
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-plugintype-performanceIssue relates to performance or code sizeIssue relates to performance or code size