Skip to content

runs.py

Source file scripts/runs.py. This page is generated from the file’s own help comment when the site is built.

Read the factory's run events: one run as a timeline, or many runs as numbers.
python scripts/runs.py summary one line per run
python scripts/runs.py slow the slowest steps across runs
python scripts/runs.py tests the slowest tests, and the ones that fail most
python scripts/runs.py failures every failed layer and its diagnosis
python scripts/runs.py timeline [RUN] one run's events in order (the newest run when none is given)
python scripts/runs.py trace [RUN] [OUT.json] one run as a Chrome trace, for httpa local path
python scripts/runs.py sql "select ..." any query over the view named ev
Runs are the folders under .work (issue-N-DATE), each with events/*.jsonl, one file per process. Needs the duckdb package.