-
Notifications
You must be signed in to change notification settings - Fork 609
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
[rush] HBO feedback from testing 5.60.0-rc.1 with phased commands #3172
Comments
An observation (not necessarily something that needs fixing). Prior to v5.59, it was still true that projects with disabled build caching would revert to the old incremental build skipping logic. That's no longer true. In the past, I would set all of our projects that didn't have build scripts (things like config projects, rigs, etc.) to disable build cache, which meant that they always showed up in the "SKIPPED" category in a rush build. Now, this doesn't work... if you do a To prevent that, the easy fix is to go into your This moves all the boilerplate projects into the "FROM CACHE" section, which is at least closer to the truth than the "SUCCESSFUL" section. |
(If I had any comment for the future... I almost wonder if a phase with an empty build script should be immediately shunted into the "SKIPPED" category, and never even attempt to build or restore it, since it can't possibly produce artifacts.) |
@elliot-nelson - @dmichon-msft has a PR (#3043) that he thinks will address the issues that you've raised. We also just briefly discussed creating a new status for projects with no scripts to disambiguate them from |
The PR addresses the ability to skip phases, modifies the treatment of empty scripts to resolve as "from cache" instead of "skipped" (with all the consequences that implies for subsequent projects), and ensures that task execution order always accounts for the full dependency relationship among selected tasks. I don't know of any changes to the behavior of allowing a task to be skipped if the cache is disabled, that may require a separate investigation if we have a regression there. |
@dmichon-msft I don't think it's a regression; my impression is that it was a conscious change to make sure that the "output" of a skipped incremental build could never be used as the input for a caching build. To ensure this the best way is just to disable all incremental building if build caching is configured - I think that happened as part of the phasing implementation. |
Fixed in PR #3174 |
Notes
@elliot-nelson said that it wasn't immediately clear where to find this file.
We should add a link in the README.md file like Heft does
But also maybe we should make a handy redirect URL:
Please see the UPGRADING.md notes for details. Quick link: https://rushjs.io/link/upgrading
So far it seems to be working otherwise.
CC @iclanton
The text was updated successfully, but these errors were encountered: