Skip to main content

Module report

Module report 

Source
Expand description

Reporters (ADR-0008): composable consumers of the event spine.

The JSONL run record is the appended event stream — no second record format. The console reporter buffers per scenario (a natural Normalize: parallel scenarios never interleave their lines) and prints a BDD tree with attempts and engine-measured timings on completion.

Secret values never enter events by construction (capture names only, engine-redacted details); Redactions is the defense-in-depth applied to every rendered string, property-tested in this module.

Structs§

ConsoleReporter
Console BDD tree, buffered per scenario — keyed by (file, scenario) (the run-wide identity), since two same-named scenarios under --jobs > 1 must never share a buffer.
JsonlReporter
JSONL appender: the run record is the raw event stream, in arrival order (replays and tests normalize; TESTING-STRATEGY flake rule).
Redactions
Known secret values, replaced by *** in every rendered string.
RunTotals
Run totals derived from the event stream — the Summarize leg of the decorator stack (ADR-0008): leaves (GitHub summary, --output json, …) consume the totals at RunFinished instead of re-deriving them.

Traits§

Reporter
One reporter in the stack.

Functions§

sink
Fan a reporter stack out as an EventSink (thread-safe: scenario threads share the sink). Redaction happens here, once, before fan-out — every reporter (console, JSONL record, future sinks) sees only redacted events, so the invariant does not depend on each leaf remembering to redact.