suite/crash_coverage_audit library
Saropa Suite — remediation coverage audit (Suite Integration plan, R3).
For each crash family the suite enumerates at runtime, records whether this
package ships a safe primitive that removes it. The family ids are the
cross-tool contract owned by Log Capture
(src/modules/diagnostics/crash-signature.ts, CRASH_SIGNATURE_IDS); this
table is the library's answer to "is that family remediable here yet?"
A CrashCoverageStatus.gap entry is a library backlog input — a crash class the suite observes that a primitive COULD remove but none exists yet (the mirror of Lints' "observed in production, no static rule yet"). A CrashCoverageStatus.notApplicable entry is a family no pure-Dart utility can prevent (a language feature, a runtime/resource fault) — recorded so the audit is honest about what is out of reach rather than silently dropping it.
Pinned by test/suite/crash_coverage_audit_test.dart: the family-id set must
equal the suite contract (a new upstream family fails the test until
triaged here), and every CrashCoverageStatus.covered symbol is exercised
in compiled code so a rename in lib/ breaks the build.
Classes
- CrashFamilyCoverage
- One row: a suite crash family and this package's coverage of it.
Enums
- CrashCoverageStatus
- Whether this package can remediate a crash family, and how.
Constants
-
kCrashCoverageAudit
→ const List<
CrashFamilyCoverage> -
The audit. Family ids and order follow Log Capture's
CRASH_SIGNATURE_IDS.