-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: ensure pull-requests properly use cached tasks #389
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs tests and ideally some real world testing but it looks very sane to me. If you'd like, I can give it a try in Translations before it goes up for proper review and/or lands (I doubt it would cause any serious bustage if it causes an issues at all...)
I gave this a quick try in a PR in translations: mozilla/translations#303 It looks good there. The first push busted all the caches due to the taskgraph update, but the tasks appear to have the correct routes. An additional push optimized away all of the fetch and toolchain tasks, as expected. This doesn't verify anything about fallback back to level 1 caches, but it's a good sign for this patch! |
Thanks for testing! And yes, I still plan on adding tests to this |
091955d
to
de5950e
Compare
de5950e
to
60b4ee6
Compare
The tests were added in #394, so this PR just updates the expectations. |
Fixes issues #222 and #359