Skip to content

Use path-based dependencies for analysis of federated plugins #89862

@stuartmorgan-g

Description

@stuartmorgan-g

#89792 was caused by a change to a platform interface package that caused analysis warnings—which are fatal in flutter/plugins CI—in the dependent packages in the plugin group. This wasn't caught because while we do a path-based build of all plugins via the all_plugins check, analysis is done on a per-package basis, so is using the published dependencies, not the in-tree dependencies. In order to prevent this from happening in the future we need to change the way analysis is run.

I think we'll need to build tooling that can adjust all the repository's dependencies on platform interfaces that have changed but don't have breaking version changes, then re-analyze after running that. (I looked at Melos, but it doesn't allow the kind of precise targeting that we want here.)

Metadata

Metadata

Labels

P1High-priority issues at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.p: toolingAffects the flutter_plugin_tools packagepackageflutter/packages repository. See also p: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions