-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Example failure: https://travis-ci.org/github/dart-lang/angular/jobs/734348689
This is experienced consistently on travis, and approximately 1/3 of the time for me locally (glinux).
Repro instructions (unfortunately I can't make a small repro):
- Clone the angular repo https://github.com/dart-lang/angular
- Checkout the
latest_dependenciesbranch - Cd into the angular_forms dir
- Run pub upgrade
- Run
pub run build_runner build- you may need to do this several times before seeing the failure (runpub run build_runner cleanto clear your cache between runs).
Debugging instructions:
You can run pub run build_runner generate-build-script which will just generate the dart script and print its location - then you can run that script (passing build as the argument still) and debug it using your ide or whatever tool you use.
Collected information so far
I tried running on several versions of analyzer - this repros on 0.40.1 and above, but not 0.39.17 (0.40.0 isn't solvable via pub solves). So I am pretty sure this was introduced in either 0.40.0 or 0.40.1 of analyzer.
In order to test on 0.39.17 you will also end up downgrading build_resolvers (and the analyzer constraint in other packages), but there were no meaningful changes in build_resolvers regarding how the analyzer is used, so I don't believe it is a build_resolvers issue.
cc @kevmoo can you set prioritization?