Local executor: schedules the step graphs of a runโs jobs together, within
a step limit and the resource pools, runs each stepโs services and command
as process groups, and measures what each step took.
What the scheduler measured of a run: the runโs metrics file, and the
summary doris run ends with. Each jobโs result file has its own stepsโ
measurements too (see flows::StepMetrics).
HTML reports: the parts every flowโs report shares. A report page is
one self-contained file with its style inline, made only from result
files. Only the metrics page has scripts, and what it loads is written
beside it (see the bookโs โResults and reportingโ chapter).
The report server: doris report view. It serves the reports over HTTP
on the loopback interface and makes every page when it is asked for,
from the result files in the scratch directory and the results kept in
GC roots. Nothing is written, so a page always has this dorisโs layout,
however old the run.
Settings: how and where a run happens on this machine, never what it
makes. They are read in layers, each overriding the one before key by
key: built-in defaults, /etc/doris/settings.*, the userโs
$XDG_CONFIG_HOME/doris/settings.*, the checkoutโs untracked
.doris/settings.*, a --settings FILE, -j, then each --set. The
system and user files can put a ceiling on some keys under limits.
The live status of a run: how many steps of each name are in each phase,
as a table with a progress bar for each name. On a terminal the table
stays at the bottom of the output and is redrawn as steps move on.
Output for people. Paths under the repo root are shown relative to it,
which is shorter and reads the same wherever doris is run from. Paths
outside the root are shown as they are. Files written for tools, such as
result files, keep absolute paths.
doris flows --tree: each design, with a branch for each flow it
doris flows --tree: designs nested under the designs that depend on
them, each with a branch per flow it configures.
For each flow, list each precheck of its jobs: every program they run by
name, and every condition a step declares. What passed is listed with
how it is met, and what failed with why and the steps that need it.
Exits 1 if any failed.
What a run may use at once, before any --set: the machineโs own pools
are as large as the machine, and the disk pool is the space free in the
scratch directory. A commercial toolโs pool is one licence per CPU
thread, up to 16. Any other pool is not limited until it is given a
size.
Appends node and its children as rows: the label drawn with its
branch, and with verbose, the note. last is whether the node is its
parentโs last child; None for a root.
The IDs of the jobs of the last run in this checkout that did not pass,
of flow if one is given, and how long ago the run started. A job with
no result, which did not finish, did not pass. Runs are found by the
GC roots they leave in the cache.
doris plan --explain: each job planned and left out, and why.
The jobs no design or job named matches are only counted: they are
every other job of the flows, and --explain is for the filters.
Print the jobs as a tree of their IDs, FLOW/[TOP/]DESIGN@TOOL, with
each jobโs steps under it as a tree of what runs after what, and whether
each step would run or come from the cache. Ends with a count of jobs
and steps.
For each step of jobs with services, what it holds in all, as rows of
doris resources: its threads and memory now, the sum of its partsโ, and
with the values in taken, by key and pool, put in the config. Jobs whose
parts run other tools may hold other totals: each different total has
rows of its own, naming the jobs by their tools.
A jobโs steps as a tree: each step under the step it runs after. A
step that runs after several, none of which run after another, is put
under the last of them and its note names the others.
Report every problem found loading the config, not just the first.
Exits Failed if there are errors; warnings alone donโt fail, unless
--strict makes them errors.