-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
cp: approvedApproved cherry-pick requestApproved cherry-pick requestcp: merge-to-betaCherry-picks that should be merged to betaCherry-picks that should be merged to betacp: mergedCherry-pick has been merged to the release branch.Cherry-pick has been merged to the release branch.cp: reviewCherry-picks in the review queueCherry-picks in the review queue
Description
Issue Link
Commit Hash
Target
beta (3.14)
PR Link
Changelog Description
Ensure the existing //flutter/bin/cache/LICENSE.dart_sdk_archive.md is moved before unzipping a new Dart SDK, preventing the powershell script from hanging.
Impacted Users
Windows developers
Impact Description
Once users get on an affected version, their NEXT flutter upgrade will leave them in a bad state where they can't extract the new Dart SDK. Re-running the tool will not help, as the batch entrypoint will still detect the Dart SDK is not present, and then run the powershell script to download and unzip the Dart SDK.
Workaround
The workaround would be to run flutter upgrade until it hangs, kill the process, delete //flutter/bin/cache/LICENSE.dart_sdk_archive.md, and then re-run to complete extracting the zip and building the tool.
Risk
medium
Test Coverage
yes
Validation Steps
No response
Metadata
Metadata
Assignees
Labels
cp: approvedApproved cherry-pick requestApproved cherry-pick requestcp: merge-to-betaCherry-picks that should be merged to betaCherry-picks that should be merged to betacp: mergedCherry-pick has been merged to the release branch.Cherry-pick has been merged to the release branch.cp: reviewCherry-picks in the review queueCherry-picks in the review queue