[go_router] [test-exempt] Use make-deps-path-based script for analysis and tests#2252
[go_router] [test-exempt] Use make-deps-path-based script for analysis and tests#2252
Conversation
|
I re-introduced the failure from last time (08a58be) to see if it is caught, but the test in go_router_builder/example should fail. It looks like |
| # Uses path dependency override | ||
| go_router: any | ||
| go_router: | ||
| path: ../../go_router |
There was a problem hiding this comment.
This should be using a pub dependency, as discussed previously. We should not have cross-package path-based dependencies. Remove this was the point of this PR if the PR is supposed to fix the linked issue.
(I'm not sure what the goal of adding make-deps-path-based even would be if you were to leave this.)
|
@stuartmorgan do you know why fetching packages in go_router_builder is timing out on CirrusCI? |
|
For some reason resolution conflicts show up as timeouts in CI; it's super annoying. Since it's only the legacy bots, it's likely that you have some package A that doesn't say it requires Flutter 3.0+, but is depending on a package B that does require 3.0+, so it can't resolve. You should be able to repro by locally switching your Flutter checkout to the 2.10.5 tag and then running |
Specify the same SDK constraints as go_router in go_router_builder
|
Thanks for the help, I think is is ready for another look |
| @@ -1,3 +1,7 @@ | |||
| ## 1.0.6 | |||
|
|
|||
| - Use path-based deps in example | |||
There was a problem hiding this comment.
There was a problem hiding this comment.
The verb form is still incorrect; it should be "Uses".
The tool_runner.sh script adds the "--packages-for-branch" flag, which can't be used with "--run-on-dirty-packages flag" https://github.com/flutter/packages/blob/main/script/tool_runner.sh#L12
|
@stuartmorgan This should be ready for another look. The |
|
@stuartmorgan Do you know why the EDIT: this is behaving as expected since go_router was unmodified |
|
@stuartmorgan this is ready for another look |
stuartmorgan-g
left a comment
There was a problem hiding this comment.
LGTM with two nits addressed.
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |

Fixes flutter/flutter#105246
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].CHANGELOG.mdto add a description of the change, [following repository CHANGELOG style].///).