Skip to main content

Module events

Module events 

Source
Expand description

Typed run events emitted by the runner. Typed run events emitted by the runner.

The runner no longer prints directly: every interesting point in a run (test start/end, step start/end, LLM call, budget warning) is emitted as a TestEvent. Sinks attached to the crate::reporting::Reporter render these events for humans (console), machines (NDJSON log file, JUnit XML), CI systems (GitHub workflow commands) and profilers (Perfetto trace).

The event stream doubles as the run’s source of truth: JUnit and trace files are derived from it, and a --log-file NDJSON capture alone is enough to replay or analyze a run.

Enums§

StepStatus
Outcome of a single step.
TestEvent
One event in the run’s lifecycle.