chant run
Synopsis
Section titled “Synopsis”chant run <name> [flags]chant run list [flags]chant run status <name> [flags]chant run signal <name> <signal> [flags]chant run cancel <name> [flags]chant run log <name> [flags]Description
Section titled “Description”chant run starts and manages Op workflows — named, phased Temporal workflows defined in *.op.ts files. Running an Op spawns a Temporal worker process and submits the workflow. Requires @intentius/chant-lexicon-temporal and a reachable Temporal server.
Connection settings come from chant.config.ts under temporal.profiles. See Worker Profiles for configuration.
Subcommands
Section titled “Subcommands”run <name>
Section titled “run <name>”Start an Op: spawns the compiled worker for that Op and submits the workflow to Temporal. Polls status every 3 seconds until the workflow completes or fails.
chant run alb-deploychant run alb-deploy --profile cloudchant run alb-deploy --report # print deployment report instead of runningrun list
Section titled “run list”List all discovered Ops (*.op.ts files) with their current Temporal run status.
chant run listOutput columns: NAME, PHASES, TASK-QUEUE, DEPENDS, OVERVIEW, STATUS.
run status <name>
Section titled “run status <name>”Show the current state of an Op’s latest workflow run.
chant run status alb-deployrun signal <name> <signal>
Section titled “run signal <name> <signal>”Send a named signal to unblock a gate step in a running workflow.
chant run signal alb-deploy gate-dns-delegationThe signal name must match the signalName passed to the gate() builder in the Op definition.
run cancel <name>
Section titled “run cancel <name>”Cancel the active workflow run. Requires --force.
chant run cancel alb-deploy --forcerun log <name>
Section titled “run log <name>”Show run history for an Op.
chant run log alb-deploy| Flag | Description |
|---|---|
-p, --profile <name> | Temporal worker profile to use (from chant.config.ts) |
--report | Print a deployment report instead of running (run <name> only) |
--force | Required for run cancel |
Exit Codes
Section titled “Exit Codes”| Code | Meaning |
|---|---|
| 0 | Success (workflow completed or command succeeded) |
| 1 | Error (workflow failed, Op not found, Temporal unreachable) |
See Also
Section titled “See Also”- Ops guide — define
*.op.tsfiles - Worker Profiles — configure Temporal connection
chant graph— visualize Op dependency graph