Skip to content

Dart format changes are breaking CI #187204

Description

@Piinks

Help us understand the severity of this issue

  • breakage; unable to contribute or trigger builds will no workarounds
  • inconvenient workarounds exist, but significant effort required
  • needed for a Flutter team-wide priority (already agreed upon)
  • nice-to-have; none of the above

What do you need help with

Recent changes to dart_style have impacted our CI with many PRs blocked on formatting.

Not all of these changes we language versioned. Originally we thought it might be coming from the recent bump to Dart 3.13 (#186957), but they were not only behind that language version.

Looking into options to resolve, typically a formatting change requires closing the tree to reformat the whole repo.

Chatting with the infra team now, will update on these options:

  1. Revert [pubspec] Bump Dart SDK constraint to ^3.13.0 #186957, plan for tree closure, reformat, re-open.
    • Revert will not fully fix this
  2. Plan for tree closure, reformat, re-open
    • PRs are blocked in the meantime
  3. Disable formatting check, plan for tree closure, reformat, re-open

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listteam-infraOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions