Documentation Index
Fetch the complete documentation index at: https://docs.ellomas.com/llms.txt
Use this file to discover all available pages before exploring further.
Parallel Execution
Replay supports parallel execution at three levels: multi-workflow concurrency, shell command parallelism, and multi-workflow file format. This speeds up test suites and enables efficient use of CI resources.Multi-Workflow Concurrency
Run multiple workflow files at the same time using--concurrency N:
How It Works
Replay uses a worker pool pattern:- All workflows are loaded and queued
- Up to N workers pull workflows from the queue
- Each worker executes one workflow in its own goroutine
- Each workflow has an independent state bag
- Results are collected and reported per workflow
Safeguards
- Each workflow has its own isolated state bag — no shared variables
- Max concurrency is capped to prevent DB/API overload
- Output stays ordered in the final summary
- Supports both fail-fast and continue-on-error modes
Example
Fail-Fast
Stop execution on the first failure — saves time in CI:--fail-fast is active and any single workflow fails, remaining queued workflows are skipped and Replay exits with code 1.
Multi-Workflow Files
A single YAML file can contain multiple workflows separated by---:
Combining with Glob Patterns
Parallel Shell Commands
Within a single shell step, you can run multiple commands concurrently:Output in Parallel Mode
Whenparallel: true, per-command outputs are stored with indexed names:
| Variable | Description |
|---|---|
stdout_0 | Stdout of first command |
stdout_1 | Stdout of second command |
stderr_0 | Stderr of first command |
stdout variable contains the output of the last command.
Combining All Three Levels
What’s Next?
- Validate outcomes with assertions
- Integrate with CI/CD pipelines