Replace pub run mentions with dart run#181317
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates deprecated pub run commands to dart run across documentation and tool messages. The changes are correct and align with the move away from pub run. I have one suggestion for a potential follow-up to ensure consistency between documentation and implementation in one of the commands.
| 'differences are that the "dart:ui" library is not available and that tests ' | ||
| 'run faster. This is helpful for testing libraries that do not depend on any ' | ||
| 'packages from the Flutter SDK. It is equivalent to "pub run test".'; | ||
| 'packages from the Flutter SDK. It is equivalent to "dart run test".'; |
There was a problem hiding this comment.
While this description is correctly updated to mention dart run test, the implementation of runCommand() for PackagesTestCommand (on line 129) still uses pub.batch(['run', 'test', ...]), which effectively calls the deprecated dart pub run test. To make the implementation consistent with the updated description, it should be changed to execute dart run test directly. This might be best addressed in a follow-up PR as it's outside the current diff.
pub run mentions with dart run
flutter/flutter@7165649...dfd92b7 2026-01-27 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Fixes metal vec3 uniform padding (#181340)" (flutter/flutter#181552) 2026-01-27 1063596+reidbaker@users.noreply.github.com Change update_engine_version documenation (flutter/flutter#181508) 2026-01-27 engine-flutter-autoroll@skia.org Roll Packages from e712bfa to e37af11 (7 revisions) (flutter/flutter#181544) 2026-01-27 jason-simmons@users.noreply.github.com Roll FreeType to 2.14.1 (flutter/flutter#181428) 2026-01-27 engine-flutter-autoroll@skia.org Roll Skia from 566d202962d3 to c2754838b077 (3 revisions) (flutter/flutter#181536) 2026-01-27 120639059+Enderjua@users.noreply.github.com [Material] modernize time picker components with Dart 3 switch expressions (flutter/flutter#181356) 2026-01-27 engine-flutter-autoroll@skia.org Roll Skia from 55a87b50a368 to 566d202962d3 (1 revision) (flutter/flutter#181528) 2026-01-27 engine-flutter-autoroll@skia.org Roll Dart SDK from f55d4538469a to 4c7cb0a1d07d (2 revisions) (flutter/flutter#181526) 2026-01-27 sigurdm@google.com Replace `pub run` mentions with `dart run` (flutter/flutter#181317) 2026-01-27 engine-flutter-autoroll@skia.org Roll Skia from 1a15ed6b17f2 to 55a87b50a368 (1 revision) (flutter/flutter#181523) 2026-01-27 magder@google.com Marks linux_chrome_dev_mode to be unflaky (flutter/flutter#181352) 2026-01-27 engine-flutter-autoroll@skia.org Roll Skia from f2c1aa140b79 to 1a15ed6b17f2 (2 revisions) (flutter/flutter#181514) 2026-01-27 snakept@icloud.com Fix Range Slider issue where indescrete ranges lead to out of range r… (flutter/flutter#181082) 2026-01-26 engine-flutter-autoroll@skia.org Roll Dart SDK from ba23b5ed0a97 to f55d4538469a (2 revisions) (flutter/flutter#181512) 2026-01-26 mariaivoneiradjaja@gmail.com Add `alignment` to `SizeTransition` (flutter/flutter#177895) 2026-01-26 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from T4qTEa3T5CCSCIoJY... to akraNGn2lw4T1msgZ... (flutter/flutter#181509) 2026-01-26 engine-flutter-autoroll@skia.org Roll Skia from be280d242a60 to f2c1aa140b79 (3 revisions) (flutter/flutter#181504) 2026-01-26 30870216+gaaclarke@users.noreply.github.com Fixes metal vec3 uniform padding (flutter/flutter#181340) 2026-01-26 47866232+chunhtai@users.noreply.github.com Fixes duplicated import in accessibility test library (flutter/flutter#181506) 2026-01-26 34871572+gmackall@users.noreply.github.com [Reland] Don't strip symbols from `libapp.so` on android by default (flutter/flutter#181275) 2026-01-26 sokolovskyi.konstantin@gmail.com Fix Gradle path in Android Platform Embedder README. (flutter/flutter#181501) 2026-01-26 116356835+AbdeMohlbi@users.noreply.github.com Remove unused `ActivityLifecycleListener` class (flutter/flutter#181406) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC bmparr@google.com,stuartmorgan@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Following up on dart-lang/pub#4737, this PR replaces deprecated `pub run` commands with `dart run`.
…r#10914) flutter/flutter@7165649...dfd92b7 2026-01-27 98614782+auto-submit[bot]@users.noreply.github.com Reverts "Fixes metal vec3 uniform padding (#181340)" (flutter/flutter#181552) 2026-01-27 1063596+reidbaker@users.noreply.github.com Change update_engine_version documenation (flutter/flutter#181508) 2026-01-27 engine-flutter-autoroll@skia.org Roll Packages from e712bfa to e37af11 (7 revisions) (flutter/flutter#181544) 2026-01-27 jason-simmons@users.noreply.github.com Roll FreeType to 2.14.1 (flutter/flutter#181428) 2026-01-27 engine-flutter-autoroll@skia.org Roll Skia from 566d202962d3 to c2754838b077 (3 revisions) (flutter/flutter#181536) 2026-01-27 120639059+Enderjua@users.noreply.github.com [Material] modernize time picker components with Dart 3 switch expressions (flutter/flutter#181356) 2026-01-27 engine-flutter-autoroll@skia.org Roll Skia from 55a87b50a368 to 566d202962d3 (1 revision) (flutter/flutter#181528) 2026-01-27 engine-flutter-autoroll@skia.org Roll Dart SDK from f55d4538469a to 4c7cb0a1d07d (2 revisions) (flutter/flutter#181526) 2026-01-27 sigurdm@google.com Replace `pub run` mentions with `dart run` (flutter/flutter#181317) 2026-01-27 engine-flutter-autoroll@skia.org Roll Skia from 1a15ed6b17f2 to 55a87b50a368 (1 revision) (flutter/flutter#181523) 2026-01-27 magder@google.com Marks linux_chrome_dev_mode to be unflaky (flutter/flutter#181352) 2026-01-27 engine-flutter-autoroll@skia.org Roll Skia from f2c1aa140b79 to 1a15ed6b17f2 (2 revisions) (flutter/flutter#181514) 2026-01-27 snakept@icloud.com Fix Range Slider issue where indescrete ranges lead to out of range r… (flutter/flutter#181082) 2026-01-26 engine-flutter-autoroll@skia.org Roll Dart SDK from ba23b5ed0a97 to f55d4538469a (2 revisions) (flutter/flutter#181512) 2026-01-26 mariaivoneiradjaja@gmail.com Add `alignment` to `SizeTransition` (flutter/flutter#177895) 2026-01-26 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from T4qTEa3T5CCSCIoJY... to akraNGn2lw4T1msgZ... (flutter/flutter#181509) 2026-01-26 engine-flutter-autoroll@skia.org Roll Skia from be280d242a60 to f2c1aa140b79 (3 revisions) (flutter/flutter#181504) 2026-01-26 30870216+gaaclarke@users.noreply.github.com Fixes metal vec3 uniform padding (flutter/flutter#181340) 2026-01-26 47866232+chunhtai@users.noreply.github.com Fixes duplicated import in accessibility test library (flutter/flutter#181506) 2026-01-26 34871572+gmackall@users.noreply.github.com [Reland] Don't strip symbols from `libapp.so` on android by default (flutter/flutter#181275) 2026-01-26 sokolovskyi.konstantin@gmail.com Fix Gradle path in Android Platform Embedder README. (flutter/flutter#181501) 2026-01-26 116356835+AbdeMohlbi@users.noreply.github.com Remove unused `ActivityLifecycleListener` class (flutter/flutter#181406) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC bmparr@google.com,stuartmorgan@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Following up on dart-lang/pub#4737, this PR replaces deprecated
pub runcommands withdart run.