Module diagnostics

Source
Expand description

Diagnostics implementation details. Bounded invalidation provenance and retained-work counters.

Structs§

ElementTreeDiagnosticsSnapshot
Snapshot for one retained element tree.
ElementWorkCounters
Permanent per-element counters for retained work actually executed.
InvalidationDiagnosticsSnapshot
Snapshot of requested work. The provenance ring is bounded even during a long-running chat or terminal session.
InvalidationRecord
One bounded provenance record for an invalidation request.

Enums§

InvalidationSource
Origin of a retained-work request. This is diagnostic metadata only; it never changes invalidation semantics. The enum is non-exhaustive so downstream matches require a wildcard arm.

Constants§

INVALIDATION_PROVENANCE_CAPACITY
Maximum number of newest invalidation provenance records retained.