bap run
The fastest way to execute recorded workflows. Compiles workflow steps into fused batches for fewer server calls, and leverages the action cache for repeat runs.Usage
Name of the saved workflow to execute.
Parameter substitution in
key=value format. Can be specified multiple times.Show the compiled execution plan without running it. Displays batch structure, fusion flags, and
step reduction percentage.
Force cache warming before execution. Pre-resolves selectors into the action cache.
Compilation
bap run compiles sequential workflow steps into optimized batches:
- Adjacent interaction steps are merged into single
actcalls - Navigation steps get fused
observeparameters - Fusion flags (
preObserve,postObserve,responseTier) are applied automatically
Dry Run Output
Cache Warming
The action cache stores resolved CSS selectors from previous runs (24h TTL). On repeat executions, cached selectors skip the full resolution chain.Output
bap run vs bap workflow run
| Feature | bap workflow run | bap run |
|---|---|---|
| Execution | Sequential, as recorded | Compiled into fused batches |
| Server calls | One per step | One per batch |
| Cache warming | No | Yes |
| Dry run | No | Yes (--dry-run) |
| Use case | Debugging, step-by-step | Production, speed |