Skip to content
GitHubBlueskydev.toRSS
Blog

One failure, and exactly what it takes down

A broken build skips only what depends on it, and each skip names the failure. One flag picks fail-fast or run-everything.

A broken build skips only what depends on it. Everything else runs, and each skip names the failure behind it.

packages/a has a syntax error. c#build depends on a#build. b and d don’t:

Terminal window
$ vx run build test --all
⏺︎ 7ms success no-cache packages/e#codegen
◼︎ 10ms failed miss packages/a#test
◼︎ 10ms failed miss packages/a#build
⊘ skipped packages/c#build • blocked by packages/a#build
┌─ packages/a#test > failed (exit 1)
…
12 | export const = ;
^
error: Expected identifier but found "="

b and d were cache hits, so they print nothing. A skip names the failure that started it, so you fix one thing.

Demo workspace · vx 69617eb · 2026-10-23

Flag On a failure
(none) skip its dependents, run the rest
--fail-fast kill the running tasks and stop the run at once
Terminal window
$ vx run build test --all --fail-fast

A task killed this way ends aborted and saves nothing, so the next run executes it again.

--concurrency takes a count or a share of the CPUs:

Terminal window
$ vx run build --all --concurrency 8
$ vx run build --all --concurrency 50% # half the CPUs, never below 1
$ vx run lint --all --concurrency 200% # I/O-bound work can go over

The default is the core count, capped by the container’s CPU quota. run.concurrency in .vx/workspace.ts changes it for everyone.

Cache hits don’t count: restores run on their own lane, up to twice the limit.

--verbosity 1 adds one row per task after the run:

Terminal window
$ vx run build --all --verbosity 1
packages/e#codegen success 10ms
packages/a#build failed (exit 1) 8ms
packages/c#build skipped (blocked by packages/a#build) 0ms

Every flag is in the CLI reference. More at vznjs.github.io/vx.

Turborepo, Nx and other product names are trademarks of their owners. vx is not affiliated with or endorsed by them.