Repository navigation
Pass manifestPath to assetBundle in ResidentWebRunner and throw ToolExit in computeTransitiveDependencies - #194474
Conversation
…xit in computeTransitiveDependencies
There was a problem hiding this comment.
Code Review
This pull request updates ResidentWebRunner to pass the explicit manifestPath from the flutterProject to assetBundle.needsBuild and assetBundle.build. It also modifies package_graph.dart to throw a ToolExit with a descriptive error message when a package dependency is missing from package_config.json. Corresponding tests have been added to verify both behaviors. There are no review comments, and I have no feedback to provide.
|
autosubmit label was removed for flutter/flutter/194474, because - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
@bkonyi do you know if the failure here was a flake, or a legitimate issue? |
|
@DanTup sorry for the delay!
This actually wasn't intermittent for
Yep, it was a flake! |
|
@bkonyi thanks! Seems like you might be right, all of the builds on https://github.com/Dart-Code/E2E-Tests/actions are red since 13th Oct when that landed.. for some reason I thought it was passing sometimes. I'll force a build after this lands to check it goes back green. Thanks! 🙂 |
|
@bkonyi green! Thanks! 🙂
|

Passes
manifestPath: flutterProject.pubspecFile.pathtoassetBundle.needsBuildandassetBundle.buildinResidentWebRunner._updateDevFSso that commands targeting a nested project (such asflutter widget-preview start) do not fall back to reading the root working directory'spubspec.yamlandpackage_graph.json. Also updatescomputeTransitiveDependenciesto throw aToolExitinstead of a null-check error if a package inpackage_graph.jsonis missing frompackage_config.json.Fixes #194444