List recent workflow runs and their state.
Syntax
$ vela workflows list
$ vela workflows list -t productionEach 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 10Targets
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/mapsEach 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,failedorcanceled--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 tolocal--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)