Repository navigation
fix: expire cursors after feed snapshot replacement - #56
Merged
Merged
Conversation
This was referenced Oct 21, 2026
AnderEnder
force-pushed
the
fix/audit-pagination-snapshots
branch
from
October 21, 2026 13:34
6d1c768 to
844a532
Compare
AnderEnder
force-pushed
the
fix/audit-cli-and-discovery
branch
from
October 21, 2026 13:34
fe0ef41 to
e577250
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A cache refresh could replace a feed window with the same number of items between pages, silently repeating or skipping entries. New cursors record a digest of the filtered ordered item list and return CURSOR_EXPIRED when a partially delivered feed changes; callers restart and reconcile previously received ids.
Keep legacy cursors readable with their count-based warning behavior. A feed resumed at offset zero remains valid, since none of its items have been delivered. Reserve token headroom for the added digest. Includes consolidated README, contributor guidance, ADR-0025, and implementation evidence for this stack.
Validation: formatting, clippy with warnings denied, all 297 tests, release build, and optimized-binary smoke checks. The regression changes a cached item without changing the item count and verifies cursor expiry. Independent review found no blocking issues; its Markdown entity finding was fixed in the source-text PR.
PRs #53 and #54 are merged. Remaining merge order: #55 → #56.
Targets #55; merge #55 first.