Documentation
¶
Overview ¶
Package diagnostics persists generator type-degradation diagnostics and enforces a committed baseline over them.
The ratchet model: the baseline file records every currently-known degradation (unsafe.Pointer fallbacks, cycle-forced objc.ID substitutions). CI regenerates the bindings, collects fresh diagnostics, and fails when an entry appears that is not in the baseline — so quality can only improve. Fixing a degradation shrinks the baseline; introducing one requires an explicit, reviewed baseline edit.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckBaseline ¶
CheckBaseline compares fresh diagnostics against the baseline at path. newEntries are diagnostics absent from the baseline (regressions — these should fail CI). fixedEntries are baseline entries that no longer occur (improvements — the baseline can be shrunk by rewriting it).
Types ¶
This section is empty.