Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/contrail. atproto backend in a bottle flo-bit.dev/contrail
Something went wrong. Try again.
fix(contrail-appview): persist ingest cursor before identity-refresh tail master
saveCursor ran after refreshStaleIdentities in runIngestCycle. The identity refresh makes per-DID network calls and can run long; if the ingest isolate was aborted before the save (e.g. a scheduled-invocation deadline), the cursor never advanced and the next cycle re-drained the same jetstream window indefinitely. Records are durably applied before this point, so the cursor's forward progress is committed first. Identity refresh is idempotent and staleness-driven, so deferring it past the save is safe.
Author Tom Scanlan Date (Jun 14, 2026, 2:52 AM UTC) Commit 9e01ada5 9e01ada5a98f0660007a19b297e200100653dd3e Parent 79d4da05 79d4da0584eeeb1ba9c5892bbf58e698bef2191e