mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-09 04:50:59 +00:00
The cross-midnight test read `push_attempts` for a synthetic `DEDUP` channel. Separating the scheduler's bookkeeping from delivery diagnostics moved the anchor to `notification_events`, and nothing has written that channel since. The query matched no rows, `findMany` answered the empty list, and the assertion compared an empty set it had no reason to expect — a check that could not fail whatever the tick did. It now reads `notification_events` by record and event type, and asserts the single row's `dedupKey`. Removing the claim from the tick fails the dispatch-count leg above it; narrowing the key so it no longer names the slot fails this leg on the key's own content, which is what makes it a check rather than a comment.