-
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] Add the phased command feature-related properties to command-line.json #2936
[rush] Add the phased command feature-related properties to command-line.json #2936
Conversation
f1577cd
to
258ffad
Compare
👍 Was looking over latest commits and everything makes sense to me. Was chatting with @octogonz about this As an example, suppose you define a parameter
Running However, running (Although similar to this new parameter, Ideally:
|
@elliot-nelson, I think I've addressed all of the comments. Here's a change to your example repo with changes we discussed here elliot-nelson/rush-phased-builds-example#3 |
@iclanton Merged! I notice the addition of Some possible solutions: (1) Move (2) Have (3) Keep // build
"phases": ["_phase:compile", "_phase:lint", "_phase:test"]
// rebuild
"phases": ["_phase:recompile", "_phase:relint", "_phase:retest"] This might be the most correct/flexible option but it seems pedantic for the repo maintainer, and we would need to solve cache hitting for |
Hmm the build vs rebuild thing is a good point. I think the simplest option will be to move Made that change, and made a PR against the example repo: elliot-nelson/rush-phased-builds-example#4 |
apps/rush-lib/assets/rush-init/common/config/rush/experiments.json
Outdated
Show resolved
Hide resolved
🎉 I'm super excited to see this feature moving along! 🎉 |
31625fd
to
7994870
Compare
Summary
This PR adds properties and the related validation for the phased commands feature (#2300) to
command-line.json
.How it was tested
Ensured that these files validate correctly on this repo: https://github.com/elliot-nelson/rush-phased-builds-example/tree/phased