Skip to content
Knowns UI
Get ProSign in

Deploy run

One deploy or build run as step cards. Finished steps fold into a compact stack with their times, the running step stays open with a live activity band, its newest log line and a timer, and a failure opens the end of its log with an agent's fix waiting on your approval, then a redeploy.

On this page
Used for
  • Deploy progress in a dashboard
  • A build an agent started
  • CI runs in a chat thread
  • Release screens
  • Ops agents that fix their own failures

Examples

A failed build with a fix to approve

Installation

Installation is part of Pro

Pro components install from a licensed registry. The live preview stays open to everyone.

Props

title / meta
ReactNode
Defaultrequired / -
What is being deployed, and one line under it: branch, commit, who started it.
stepsrequired
DeployStep[]
{ id, name, detail?, status: pending | running | done | failed | skipped, startedAt?, endedAt? } in run order. Finished steps before the open one fold into the stack; the running (else the failed) step is open; the rest wait.
logs
DeployLogLine[]
Default[]
{ at, text, level?: info | warn | error, step }. The open step shows its newest line; a failure shows the end of its log with the last error line marked. Times read as offsets from the start of the run.
statusrequired
"queued" | "running" | "done" | "failed" | "cancelled"
The run as a whole: the badge, the total time, Live in 2m 14s once done.
fix
DeployFix
{ id, title, summary?, patch?, command?, requestedAt, decision?, decidedAt? }. Shown in the failed step as an ApprovalPrompt with the patch or command as its detail.
agent
Actor
DefaultDeploy agent
Who proposes the fix (name and mark on the approval).
onApproveFix / onDeclineFix
(fix) => void
The decision. Set fix.decision from your state; approving usually starts a redeploy with the fix.
onRedeploy
() => void
Shows Redeploy after a failure or a cancel.
onCancel
() => void
Shows Cancel while it runs.
result
ReactNode
Shown on the Live line: a URL, a version.
now
number
Defaultwall clock
The clock timers read. The wall clock ticks once a second while running (text only); a replay or a video passes its own.
band
boolean
Defaulttrue
The dither activity band in the running step.
labels
Partial<DeployRunLabels>
DefaultEnglish
stepsDone(n), live(time), queued, redeploy, cancel, logTail.

What it handles

  1. 01Folds finished steps into a compact stack: the latest on top with its time, older ones as edges behind it, every step one press away.
  2. 02Keeps the running step open with a live dither band, its newest log line with an offset from the start of the run, and a timer that ticks once a second as text.
  3. 03Turns a failed step into an error card with the end of its log and the line that caused it marked, and waits on the agent's fix in an approval card with the patch or command as its detail.
  4. 04Shows Redeploy after a failure or a cancel, Cancel while it runs, and Live in 2m 14s with your URL or version once done.
  5. 05Takes everything from the app (steps, logs, status, the fix) and calls back; it never fetches. A clock prop replays a run at its own pace.
  6. 06Announces a finished step, a failure and the live run in a polite status, never each log line.

States

First render
Nothing. The run paints as given
none
Step done
The finished step takes the top of the stack and the next one rises into the open card
180ms, ease out
Run starts or ends
The open card unfolds under the stack, and folds away once every step is done
410ms glide spring, folds in 120ms ease out
Stack top
The latest finished step settles into place
180ms, ease out
Stack unfolded
The finished steps open under it
410ms glide spring, closes in 120ms ease out
Log line
The newest line replaces the last one, nothing moves
none
Step fails
The card turns red and the log tail rises in from the cause outward
180ms ease out, 40ms steps
Fix decided
The approval folds into its outcome
as in Approval Prompt
Reduced motion
Everything changes at once and the band holds still
0ms

Works with

When to use

When to use

  • Showing a deploy or build as it runs, step by step, with the time each step took and what it is printing now.
  • Letting a person approve the fix an agent proposes after a failed build, then redeploy, without leaving the run.

When not to use

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Deploy Run to my app and wire it to my own data.
  • I need showing a deploy or build as it runs, step by step, with the time each step took and what it is printing now. Set that up with the Knowns UI Deploy Run.
  • Which Deploy Run props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "deploy-run" }) and search_docs({ query: "deploy run" }). Pro props, full examples and source come back once your license key is in the MCP config.

Need help?

Stuck on Deploy Run, or found something off? We read every message.