Skip to content

Can various test packages be excluded from package config generator? #54678

Open
@parlough

Description

@parlough

Currently tools/generate_package_config.dart results in a lot of test and some examples packages from "third party" repositories being added to the .dart_tool/package_config.json.

For example, it happens for package:webdev which doesn't have a pubspec in the root directory, so a lot of first level test packages and even more in /fixtures end up included.

I'm not sure if these and various other packages are needed in testing or something, but if not, it would be nice to not add these to the package config. They end up increasing the analysis context size unnecessarily, increasing the likelihood of suggesting irrelevant results and increasing memory usage while developing various parts of the SDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-infrastructureUse area-infrastructure for SDK infrastructure issues, like continuous integration bot changes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions