Skip to content

Validate topic format in pubspec check #139305

@stuartmorgan-g

Description

@stuartmorgan-g

Apparently the check that topics entries meet the allowed syntax is a server-side check; we had a PR pass our CI, including the dry-run publish check, but then fail to actually publish in post-submit and thus break the tree with:

Invalid topics value (platform views): must consist of lowercase alphanumerical characters or dash (but no double dash), starting with a-z and ending with a-z or 0-9.

We should put that validation logic into our existing pubspec validation.

Metadata

Metadata

Assignees

Labels

P2Important issues not 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.team-ecosystemOwned by Ecosystem team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions