RFC: Add --plan
flag
#380
Replies: 5 comments
-
Wonder if it would make sense to record/cache runtime metrics for plan tasks to optimize future plans. Our CI runners usually have ~20s setup/cleanup time on top of the task being run. So suppose we have 4 uncached tasks to run: Could initially mirror the Turborepo plan in CI using 4 machines as follows: But in the future we can optimize the CI plan with prior runtime knowledge. In this case it would be better to group B, C, and D on the same machine: |
Beta Was this translation helpful? Give feedback.
-
This task will allow implement a custom github action based on |
Beta Was this translation helpful? Give feedback.
-
Is there any other way atm to retrieve changed packages since a specific commit? |
Beta Was this translation helpful? Give feedback.
-
This would be a solution for #800 |
Beta Was this translation helpful? Give feedback.
-
Now available in |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature you'd like to request
Add support for
--plan
flag that will output JSON that includes information about what is about to happen for a given command. This can be used with scripts such as Vercel's Ignore Build Command and also in Circle and GitLab for dynamic provisioning of CI/CD workflows.Nx's custom Ignore Command something like this as a reference: https://github.com/nrwl/nx/blob/master/scripts/vercel/ignore-build.sh
Describe the solution you'd like
Collect up info through a traversal and print out to JSON
Describe alternatives you've considered
--plan
is passed)plz query
doesBeta Was this translation helpful? Give feedback.
All reactions