-
Notifications
You must be signed in to change notification settings - Fork 1.8k
refactor the flutter-analyze try bot and downstream failure notifications #46075
Copy link
Copy link
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.area-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).Cross-cutting, high-level issues (for tracking many other implementation issues, ...).customer-fluttertype-taskA well-defined stand-alone taskA well-defined stand-alone task
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.area-metaCross-cutting, high-level issues (for tracking many other implementation issues, ...).Cross-cutting, high-level issues (for tracking many other implementation issues, ...).customer-fluttertype-taskA well-defined stand-alone taskA well-defined stand-alone task
This is a meta issue to track work related to 1) adding more repositories to our flutter-analyze try bot, and 2) relax some of the analysis settings on the flutter/tests contributed tests repo. The general goal for these changes are to enable the analyzer team to be aware of breakages that their changes would cause, know which places will need to be forward patched to not impede the sdk -> flutter roll process, and to omit a class of issues from needing to be patched (to not break the roll process for some category of changes).
Currently most (all?) of the flutter/tests user contributed tests fail on any analysis change. However, the intent here is more to make sure that flutter is aware of breaking API changes. Below, I propose to change the tests to only fail on more severe analysis issues (errors or warnings). We may in the future make this more sophisticated - to leverage package:flutter_lints in some capacity to also fail on some set of lint warnings.
flutter/flutter(it's doing this today; the potential improvement to this being to also run analysis for dartdoc sample code - https://github.com/flutter/flutter/blob/master/dev/bots/analyze_sample_code.dart)flutter/plugins; see the flutter-analyze try bot should also speculatively analyze flutter/plugins #45873flutter/engine; we're doing this now, but might want to do some additional work to make it easier to use the same analysis script as what flutter/engine doesflutter/packagesflutter/testsregistry/ dir to only fail on errors (or possibly warnings); see https://github.com/flutter/flutter/pull/82778/checks?check_run_id=2606817706 for a list of failed locations for the recent unused imports change (PR: update calls to 'flutter analyze' to pass --no-fatal-infos flutter/tests#105)flutter/teststo indicate that contributed tests should not fail on info level analysis items (or, possibly, warning level items)See #46063 for more context; https://github.com/flutter/tests/tree/master/registry for the flutter customer tests repo.