# Limits

> The bounds on what one pipeline file can ask of the compiler and of a run.
> **Available** in repositories branchd reads pipeline files for. It is switching repositories on one at a time: until yours is, it keeps running its `.forge-ci.yaml` or `.xeonr-ci.yaml`. See [What is available](https://docs.branchd.run/branchd/pipelines#what-is-available).

| What                                                                 | Limit                                                           |
| -------------------------------------------------------------------- | --------------------------------------------------------------- |
| One file (a pipeline file, a `step.yaml`, a called pipeline)         | 256 KiB                                                         |
| Jobs in one pipeline, called jobs and matrix cells included          | 500                                                             |
| `max-parallel`                                                       | Refused for now                                                 |
| Pipeline files in one commit                                         | 50                                                              |
| Schedules                                                            | 10 a file, 50 a repository; at most one fire every 5 minutes    |
| Triggered runs                                                       | 20 started by one run; 120 an hour into one repository          |
| Isolated steps in one job                                            | 8                                                               |
| `workspace:` paths of an isolated step                               | 32                                                              |
| Presets                                                              | One a file; 8 a push, 15 seconds of module time in all          |
| Steps in one job, its composite steps' included                      | 256                                                             |
| Matrix cells                                                         | 256; the product of the dimensions up to 1,024 before `exclude` |
| Matrix `include` and `exclude` entries                               | 256 each                                                        |
| `uses:` nesting                                                      | 4 deep, the file's own use counted as 1; a cycle is refused     |
| `uses:` expanded in one file                                         | 64, each use counted                                            |
| Files expanded by `uses:`                                            | 1 MiB in all, each use counted                                  |
| YAML values parsed for one file and what it uses                     | 200,000, each alias counted as what it expands to               |
| What one file compiles to                                            | 4 MiB                                                           |
| References to other repositories in a run                            | 32 distinct                                                     |
| Version tags of one major read per repository                        | 1,000                                                           |
| Different globs in one file (`on:` filters, `changed()`, `exists()`) | 1,000                                                           |
| Path-and-glob comparisons in one compile                             | 2,000,000                                                       |
| Expression nesting (parentheses, `!`, calls)                         | 64                                                              |
| `retry.max`                                                          | 0 to 10                                                         |
| Pipeline name                                                        | 1 to 64 characters, no `/`                                      |
| Schedule name                                                        | 64 characters: letters, digits, `.`, `_`, `-`                   |
| Secret name                                                          | Letters, digits and `_`, not starting with a digit, at most 93  |

Source: https://docs.branchd.run/branchd/pipelines/limits
