mirror of
https://github.com/xCyanGrizzly/DragonsStash.git
synced 2026-06-13 04:31:16 +00:00
Wraps the existing watermark write with the three new scan-state columns from the previous commit. Single transaction, sets lastScannedAt=NOW() server-side. Caller is responsible for computing the trulyIdle bool and the new consecutiveEmptyScans value (pre-increment vs reset). Existing updateLastProcessedMessage / upsertTopicProgress are kept for callers that don't need the new fields (the SkippedPackage retry pass, which only adjusts the watermark). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>