mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 02:25:56 +00:00
29ad80870d
A second adversarial review round surfaced two robustness gaps. The incident recorder treated any ID absent from a metrics batch as an empty successful sample, which silently rewrites the semantics of a provider whose per-ID method errors or synthesizes for unknown IDs; batch misses now fall through to the per-ID call, keeping the batch for the hot path only. And one bySource mutation site, the PBS host disk association helper, predated the source-target cache invalidation invariant; it now invalidates like every other mutation path. The gap was unobservable today because the adjacent ingest already invalidated, but the invariant is only useful if it is total. Contract-Neutral: robustness fixes inside existing cache and sampling semantics, no resolved values change