Repository navigation
ci: don't fail beta analysis on infos - #1058
Conversation
Flutter beta deprecates package:flutter/material.dart in favor of package:material_ui, which needs Flutter 3.47 and so can't be adopted while genui supports 3.35. With --fatal-infos, that fails analysis of every package importing material.dart on beta. Keep infos fatal on stable only.
|
This is a good emergency fix after a flutter update, but when flutter beta becomes stable we'll be forced to suppress the fatal infos for that too. The error is: Could we add (Having the |
Thank you! Follow up: #1062 |
Fixes a2ui-project/a2ui#3229.
Flutter beta deprecates
package:flutter/material.dartin favor ofpackage:material_ui. Withflutter analyze --fatal-infos, every package that importsmaterial.dartfails analysis on beta, regardless of what a PR changes (for example #1057).Migrating to
material_uiisn't an option yet: it requires Flutter 3.47, and genui supports 3.35.7.This keeps
--fatal-infoson stable and passes--no-fatal-infoson beta, so infos still show in beta logs without failing the job. Warnings and errors stay fatal on both channels.