Skip to content
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 support for phased commands. #3113

Merged
merged 19 commits into from
Dec 30, 2021

Conversation

iclanton
Copy link
Member

Summary

This change fills in support for phased commands (see design #2300), including support for caching custom and phased commands' output.

Details

This change updates how the ProjectTaskSelector works by effectively removing the concept of "bulk" commands from everywhere but the command-line.json config file. Instead, bulk commands are translated to phased commands with a single phase (and an upstream dependency on that phase if "ignoreDependencyOrder" is set to false).

How it was tested

Tested against this repo (rushstack), https://github.com/elliot-nelson/rush-phased-builds-example, and a large internal repo.

@iclanton iclanton requested a review from octogonz December 25, 2021 04:54
@iclanton iclanton force-pushed the phased-commands branch 2 times, most recently from 3e4d777 to 115e248 Compare December 26, 2021 00:49
@octogonz
Copy link
Collaborator

@iclanton After this PR is merged, will we be ready to announce the phased commands feature? If not, could you detail the remaining work items in your PR description?

I'm super excited to see this coming together! 😁👍

@iclanton
Copy link
Member Author

Yup, this should be ready to release. I'd like to publish a release candidate before we do a real release, but this should be all that's required for MVP.

@iclanton iclanton enabled auto-merge December 30, 2021 02:19
@iclanton iclanton merged commit 8fd21d7 into microsoft:master Dec 30, 2021
@iclanton iclanton deleted the phased-commands branch December 30, 2021 02:33
elliot-nelson added a commit to elliot-nelson/rush-phased-builds-example that referenced this pull request Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants