Expand description
Diff stage: compare two analysis reports and produce a delta.
Primary use case: PR CI integration. Run analyze on the base
branch’s traces, run it again on the PR branch’s traces, then compare
the two reports to surface regressions (new findings, severity
escalations, per-endpoint I/O op increases) and improvements
(resolved findings, severity de-escalations, per-endpoint I/O op
decreases).
Finding identity for stable comparison is the tuple
(finding_type, service, source_endpoint, pattern.template). The
template is already normalized at detection time so direct equality
suffices, no re-normalization at diff time.
Structs§
- Diff
Report - Delta between two analysis runs.
- Endpoint
Delta - Per-endpoint I/O op count delta between two runs.
- Severity
Change - A finding whose worst severity changed between the two runs.
Functions§
- diff_
runs - Compare two analysis reports.