Skip to main content

Module reads

Module reads 

Source
Expand description

What the webserver reads: runs, their task instances and attempts, as shown to people.

The webserver reads the database directly (with a read-only role in production) and never writes scheduling state; actions are command rows (see archive/PROJECT.md, Web UI and CLI).

Structs§

AttemptRecord
An attempt, as shown.
BackfillPlace
A backfill run’s backfill, and its place among the backfill’s runs, oldest first (backfill 3/31, decision 403).
CleanupRecord
An attempt’s cleanup, as shown.
InstanceRecord
A task instance, as shown.
RunFilter
Which runs Database::runs lists.
RunRecord
A run, as listed.
StateCounts
How many runs, tasks and workers are in each state (the master’s gauges).

Constants§

MAX_RUNS
The most runs one list returns.