Skip to content

flutter_tool doesn't clean up old artifacts #74772

@goderbauer

Description

@goderbauer

When flutter_tool downloads a new version of sky_engine, it unpacks it over the old version in the cache. If files have been removed from the new version (compared to the previously installed version), those are not deleted in the cache - even though they should be.

The old files are confusing the analyzer in some situations, see https://cirrus-ci.com/task/4637233509564416?command=main#L15 as an example (here, wasm.dart has been removed from the dart sdk. However, even after updating flutter it remained in the cache).

/cc @jonahwilliams

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressiona: null-safetySupport for Dart's null safety featuretoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions