Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Rares Matei <matei.rar@gmail.com>
  • Loading branch information
barbados-clemens and rarmatei committed May 3, 2024
1 parent 81c8b39 commit 3ef65f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/nx-cloud/reference/launch-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -449,11 +449,9 @@ If you're trying to install a package that isn't available on `apt`, check that

## Dynamic Changesets

Nx Agents support dynamically distributing a given changeset for a CI run with a different number of agents and templates.
This is equivalent of changing the value passed to `--distribute-on` based on your changes. Instead of defining a static number of agents for each change.
NxCloud can calculate how big your pull request is based on how many projects in your workspace it affects. You can then configure Nx Agents to dynamically use a different number of agents based on your changeset size.

Currently, you can define a `small`, `medium` and `large` changeset for Nx Agents to use.
These sizes are based on the ratio of affected projects Nx Cloud calculates for your PR.
Here we define a `small`, `medium` and `large` distribution strategy:

```yaml {% fileName=".nx/workflows/dynamic-changesets.yaml" %}
distribute-on:
Expand Down

0 comments on commit 3ef65f9

Please sign in to comment.