Workflows — {appName} — PiCloud

Workflows

Durable DAG workflows (v1.2). Definitions are authored declaratively ([[workflows]] in picloud.toml); start runs and inspect their per-step progress here.

{#if error}

{error}

{/if} {#if loading && workflows.length === 0}

Loading…

{:else if workflows.length === 0}

No workflows in this app yet. Author one with a [[workflows]] block in your manifest and pic apply.

{:else} {#each workflows as w (w.name)} {/each}
WorkflowStepsEnabled
{w.name} {w.steps} {w.enabled ? 'yes' : 'no'}
{/if} {#if selectedWf}

Runs — {selectedWf}

{#if runs.length === 0}

No runs yet.

{:else} {#each runs as r (r.id)} {/each}
RunStatusDepthCreated
{short(r.id)} {r.status} {r.workflow_depth} {r.created_at}
{/if}
{/if} {#if detail}

Run {short(detail.run.id)} {detail.run.status}

{#if detail.run.error}

{detail.run.error}

{/if}

DAG

{#each layout.edges as e} {/each} {#each layout.nodes as n (n.step.name)} {n.step.name} {/each}

Steps

{#each detail.steps as s (s.name)} {/each}
StepStatusAttemptDepends onError
{s.name} {s.status} {s.attempt}/{s.max_attempts} {s.depends_on.join(', ')} {s.error ?? ''}
{/if}