List

List recent workflow runs and their state.

Syntax

$ vela workflows list
$ vela workflows list -t production

Each line shows the run id, the workflow, its state, the attempt count when there has been more than one, when it last changed and, for a failed run, its error. The same runs, with every step, are under Workflows in the PocketBase dashboard.

$ vela workflows list --status failed --limit 10

Targets

Without -t, the runs listed are the local ones: those in the database the dev server is using when vela dev is running, and in one started for the command otherwise. With -t, they are the runs of a deployed copy of the app, read over SSH with the superuser credentials kept on the server:

$ vela workflows list -t production
$ vela workflows list -t staging
$ vela workflows list -t preview:feature/maps

Each copy of the app has its own runs, so a run id is only good on the target it was listed from. The output of a deployed target says which one it is.

Options

  • --status <status> - Only runs in this state: pending, running, completed, failed or canceled
  • --name <workflow> - Only runs of this workflow
  • --limit <n> - How many to show, 50 by default
  • -t, --target <target> - Which copy of the app to act on, defaults to local
  • --server <ssh> - Server this target runs on, recorded on first use
  • -i, --identity <file> - SSH private key to authenticate with
  • --ssh-port <port> - SSH port
  • --accept-host-keys - Trust an unknown host key on first connect (CI)