Task Runner Dependencies
Demonstrates the custom-command and workflow task-runner's dependency system: dependencies.commands / dependencies.workflows (DAG execution with dedup), failfast vs besteffort sibling-dependency…
Try it out
- Install Atmos
- Try the example
Copy the example into a new directory and make it your own:
atmos init examples/task-runner-dependencies
cd task-runner-dependencies
Follow the README for prerequisites and next steps.
Task Runner Dependencies
Demonstrates the custom-command and workflow task-runner's dependency system: dependencies.commands / dependencies.workflows (DAG execution with dedup), fail_fast vs best_effort sibling-dependency failure modes, step-level inputs/artifacts freshness checks (checksum, timestamp, and explicit CEL conditions), preconditions, the continue: always step field, native command aliases/internal commands, and constrained flag values.
Run
# Dependency graph: verify depends on compile (deduped), trd-lint, and unit-testatmos verify# fail_fast skips a pending slow sibling after step-b-fails fails.# If step-c-slow has already started, it may still finish.atmos release-failfast# best_effort lets the slow sibling finish despite a failing siblingatmos release-besteffort# Command depending on a workflowatmos deploy# Freshness: skips its own step when src/**/*.txt is unchangedatmos freshbuildatmos freshbuild # second run is skipped -- inputs unchanged
Learn More
See Command Dependencies documentation.