Skip to content

flutter_tool doesn't clean up old artifacts #74772

Closed

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

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Jan 27, 2021
  2. jonahwilliams commented on Jan 27, 2021

    @jonahwilliams
    Contributor

    This may be a blocker for next release cycle, as it trips up the analyzer during a dart migrate/publish

  3. added a commit that references this issue on Jan 27, 2021
    91437a0
  4. added 2 commits that reference this issue on Feb 3, 2021
    d97fa9d
    79b49b9
  5. github-actions commented on Aug 6, 2021

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Aug 6, 2021
  7. added
    P0Critical issues such as a build break or regression
    and removed on Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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