Skip to content
history
Operations

History & runs

Every execution in DataRunner — scheduled, manual, watch-triggered, or fired from the API — is recorded as a run. History is where you answer "did it go out, and what did it say".

Read
4 min
Module
History

What a run records

A run is the audit trail of one execution. It survives the thing that caused it — if you delete a schedule, its past runs stay, because the question “what did we send that customer in March” outlives the schedule that sent it.

Timing
Queued at, started at, finished at, and total duration. Slow runs are visible before they become timeouts.
Result shape
Row count and column count of the result set, plus the connection it ran against.
Trigger
One of manual, schedule, api, or watch — plus the user, when a human started it.
Failure detail
The database error verbatim, not a generic message. This is what makes a failed run debuggable.

Run logs

Beyond the run record, each execution writes a log: connection acquired, query submitted, rows fetched, each delivery route attempted and its outcome. Delivery is logged per route, so a report that reached Slack but failed to reach S3 shows exactly that instead of a single ambiguous “failed”.

Delivery is idempotent. If a worker retries after a crash, a route that already succeeded is skipped rather than sent twice — the receipt is keyed on the run and route, so redelivery cannot double-send a report.

Finding a run

History filters by status, connection, query, schedule, and date range. The common starting point is status = failed over the last 24 hours, which answers “is anything broken right now” in one click.

StatusMeaning
QueuedCreated and waiting for a worker to pick it up
RunningClaimed by a worker and executing now
SucceededQuery completed; check the delivery log for per-route outcomes
FailedQuery failed — the database error is on the run
CancelledStopped before completion

Retention

Runs, results, and logs are retained independently, because they cost very different amounts to keep. Result sets are the expensive part; the run record is cheap and is what you usually need months later.

Free
30 days of run history.
Pro
1 year of run history.
Business & Enterprise
Unlimited retention, configurable per record type in Settings → Data policies.