[CP] Fix dart run
resolution on dev-releases
#50625
Labels
area-dart-cli
Use area-dart-cli for issues related to the 'dart' command like tool.
cherry-pick-approved
Label for approved cherrypick request
cherry-pick-review
Issue that need cherry pick triage to approve
merge-to-beta
Commit(s) to merge
258598e
Target
2.19 beta and forward
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/273743
Issue Description
dart run
will do a full resolution every time if your current sdk is a dev-release.Causing unnecessary churn.
See eg. #50617
What is the fix
Removing the logic that would consider a resolution stale if it is a dev-release.
Why cherry-pick
All users of
dart run
on beta releases.Risk
low
Issue link(s)
See eg. #50617
Extra Info
This bug affects only sdk's that are themselves dev-releases.
But as any beta-release is also a dev-release we should better fix it.
Only the https://dart.googlesource.com/pub.git/+/04f7bce8 commit is needed for this, but the other commits are either minor or themselves reverted, and seem low-risk.
The text was updated successfully, but these errors were encountered: