Skip to content

Runs, output and approvals

Every launch creates a run: a single job or a workflow run. The console lists them under Jobs, newest first.

The Jobs list

Control Options
View All jobs, Automation (templates and workflows), System (syncs, cleanups)
Filters Execution type, status, workflow
Order Most recent, or grouped by type
Page size 10, 25, 50 or 100

Paging happens on the server, so the list stays fast with tens of thousands of runs. Pages are a live view: new runs push older ones down while you page. branch codex/highload-s3

The run page

The header shows the overall status, who launched the run and when it started and finished. For workflows, the graph shows every step with its live status; click a step to select it, use zoom and Fit on large graphs.

Each selected step has tabs:

Output

Live output while the step runs, kept after it finishes.

  • Structured view highlights Ansible ok, changed, failed and unreachable results; Raw shows the text as the runner printed it. Output is always shown as text, never interpreted as HTML.
  • The viewer opens on the latest 500 lines. Scroll to the top or press Load earlier output to read further back. Reading history pauses live updates; Follow live output returns to the tail.
  • Copy copies the output on screen. The complete raw output is available as plain text from GET /api/runs/{run}/nodes/{step}/logs — see API.
  • A single output record larger than 256 KiB is cut and marked as truncated. Split huge outputs (for example, a large debug of a variable) into several lines.
  • Tasks with no_log: true show Output hidden by Ansible no_log. instead of their result. Exact credential values are replaced by [REDACTED].

For Terraform steps, Raw log switches between the saved plan output and the apply output.

Info

What exactly ran, without any secret values:

Item Shows
Launched by Account name, or API token administrator / Dev user in those modes; System for schedules
Inventory The inventory used (or Workflow inventory for a built one)
Hosts Hosts Ansible actually touched — available when the play finishes
Runner Executor, Kubernetes Job name or host, the runner's host name
Project Name and the Git revision that ran
Parameters Type, limit, tags, verbosity, timeout, check mode, become, extra variables
Credentials Names and targets of injected credentials, source Vault

Runs created before this information existed show Not recorded.

Terraform

Plan summary and resource diff, approval decision, apply result, outputs and the state inspector. See Terraform.

Cancel a run

Cancel asks Liftway to stop. The run becomes canceling, then canceled.

What is running What cancel does
Pending steps Never start
Kubernetes step The Job is suspended; Liftway waits for its pods to terminate
Local step The runner sees a cancel marker and stops
SSH step Finishes or reaches its timeout, because a dropped SSH connection does not prove the remote process stopped
Sync step already in progress Completes, then the cancellation is processed
Terraform apply Interrupted — inspect state and infrastructure before trying again

Output captured so far stays with the run. Cancel never undoes changes on targets. Before you launch the same non-idempotent automation again, find out what the canceled run already did.

Approvals

A step waiting for a decision shows status waiting and Approve / Reject buttons in the run view.

Waiting step Comment Approve Reject or timeout
Approval step Optional Step succeeds Step fails; On failure branches run
Terraform plan Required, up to 2,000 characters Apply starts with the saved plan Step fails; nothing is applied

Only waiting steps of active, non-canceled runs can be decided, and only before their deadline. The decision, actor, comment and time are stored with the run; Terraform decisions also store the plan's SHA-256. Who may decide is controlled by roles.

System jobs

Controller-side operations get their own history entries under Jobs → System:

  • project sync and inventory sync, manual or scheduled (a scheduled inventory sync also records the project sync it triggered);
  • job-history cleanup;
  • runner cleanup.

Each records the actor, trigger, resource, times, status and a summary. System jobs are never sent to an executor and do not count in automation statistics. Sync steps inside a workflow belong to their workflow run, not to System. An operation interrupted by a controller restart is marked failed when the controller comes back; a scheduled sync that had not started resumes.

How long runs and output are kept

Two separate settings:

What Kept until Set by
Runner Job, pod and ConfigMap in Kubernetes 300 s after the step ends (chart default; 600 s in the production example) Administrator, jobRetentionSeconds
The run, its steps and its output Forever, unless history retention is enabled Administrator, Schedules and retention

Output is captured continuously by the log worker and does not depend on the pod still existing. Liftway never deletes a runner whose output it has not fully captured.

Reading a failure

  1. Open the failed step and read the end of the output: Ansible prints the failing task and a PLAY RECAP.
  2. Check Info: right inventory, right hosts, right Git revision, right credentials?
  3. No hosts matched → the inventory, the play's hosts: and Limit do not overlap. See Inventories.
  4. UNREACHABLE → network or SSH: route from the runner, ansible_host, user, key, known hosts.
  5. The step never produced output → look at the run for a preparation error (for example Job preparation failed after sync), then at Troubleshooting.

When you ask for help, share the run ID, step name, time and a short excerpt of the output — never cookies, tokens, keys or state files.