Pipeline Executions
What this is for
Pipeline Executions (/spine-framework/admin/observability/executions) is the run history for every pipeline — manual runs, trigger fires, timer runs, and webhook calls. Each row is a pipeline_executions record: who ran it, when, how long, and whether it finished. Use it to confirm a pipeline fired, find the run that failed, and measure cadence and duration.
Why it exists
pipeline-executions
Pipelines can be triggered by events, timers, or AI agents and run asynchronously. You need a durable record of when each run started, what triggered it, how long it took, and whether it succeeded.
Companion of pipelines — its full reasoning is level 4 of the chain in pipelines ## Problem it solves and the pipelines article.
trigger-executions
Triggers fire asynchronously in response to events; you need a record of when they ran, what data they received, and whether they succeeded.
Companion of triggers — its full reasoning is level 4 of the chain in triggers ## Problem it solves and the triggers article.
Fields and settings
- Stats cards — Completed, Failed, Running counts (
/api/pipeline-executions?action=stats; the Pipelines list reusesaction=stats&date_from=for "runs today"). - Search — matches pipeline id/name fragments and status text client-side.
- Status filter —
pending,running,completed,failed,cancelled. - Sortable columns — Pipeline (joined name + execution id prefix), Status, Started (
started_at), Duration (duration_ms), Triggered By (triggered_by_personfull name/email when known). - Row click — navigates to
observability/executions/:id. Note: the same list component renders at that URL — there is currently no separate detail view. - The record itself carries
trigger_data(the payload that fired it),result.stages(per-stage output/duration), anderror_message.
Downstream effects
- The trigger engine inserts a
queuedrow before dispatching topipeline-runner-background;runPipelineclaims itrunning, then writescompleted/failedwith per-stage results. A row stuckrunning/queued>10 min is swept tofailedby the cron sweeper. action=cleanup(server-side) deletes rows older thandays_to_keep(default 30) — this page is a window, not an archive.trigger_count/last_triggeredon the Triggers page and "Last Run"/"runs today" on the Pipelines page all read from this table.
Minimal configuration
Nothing to configure — executions are produced by running pipelines. To produce one: run a pipeline manually, fire its trigger, or let a timer come due, then filter Status = failed to check the result.
Full configuration
The API supports more than the UI exposes:
GET /api/pipeline-executions?action=list|running|stats|get&id=— readsPOST action=cleanup—days_to_keep(default 30), optionalstatus_filterPATCH action=start|complete|cancel— lifecycle writes used by the runner;completemarks the rowfailedwhenerror_messageis present
Example
A ticket triage trigger fired at 09:12 but no assignment happened. Filter Status = failed, find the 09:12 row for the triage pipeline — error_message names the stage ("Action not found for stage type"), and result.stages shows stages 0–1 succeeded before stage 2 threw.
Core files
.framework/src/pages/admin/PipelineExecutionsPage.tsx— this page.framework/functions/pipeline-executions.ts— API (list/get/running/stats/cleanup + start/complete/cancel).framework/functions/_shared/pipeline-runner.ts— writes execution rows, stage results, and the >10min stale sweeper.framework/functions/_shared/trigger-engine.ts— pre-creates thequeuedrow before dispatch- Table:
public.pipeline_executions
Agent notes
- "Stuck at running/queued" is the sweeper's job — a row still
runningan hour later means the background function died mid-run; it will be markedfailedon the next sweep. duration_msis wall time of the whole run; per-stage timings live inresult.stages[*].durationMs.- The page has no cancel/retry buttons — lifecycle actions exist on the API but the UI is read-only.
executions/:idrenders the same list — deep links to a single execution do not open a detail view today.