Skip to content

Fix feeds stalling on a pinned first entry - #1676

Merged
mockdeep merged 1 commit into
mainfrom
fix-pinned-feed-entries
Nov 23, 2026
Merged

mockdeep merged 1 commit into
mainfrom
fix-pinned-feed-entries

Conversation

@mockdeep

Copy link
Copy Markdown
Collaborator

What

Stop cutting the scan short when we reach the newest stored story.
Check every entry in the feed instead, dropping ones older than three
days, then drop the ones already stored using a single query
(StoryRepository.existing_entry_ids, which replaces exists?).

Why

Some feeds pin an item to the top, above newer entries. Once that item
was the newest stored story, every fetch stopped at the first entry and
no new stories were ever added, while the feed still showed green.

Notes

Entries that were skipped while a feed was stuck and are now older than
three days will not be picked up by this change.

**What**

Stop cutting the scan short when we reach the newest stored story.
Check every entry in the feed instead, dropping ones older than three
days, then drop the ones already stored using a single query
(`StoryRepository.existing_entry_ids`, which replaces `exists?`).

**Why**

Some feeds pin an item to the top, above newer entries. Once that item
was the newest stored story, every fetch stopped at the first entry and
no new stories were ever added, while the feed still showed green.

**Notes**

Entries that were skipped while a feed was stuck and are now older than
three days will not be picked up by this change.
@mockdeep mockdeep self-assigned this Nov 23, 2026
@mockdeep
mockdeep enabled auto-merge (squash) November 23, 2026 01:02
@mockdeep
mockdeep merged commit a31d0b4 into main Nov 23, 2026
4 checks passed
@mockdeep
mockdeep deleted the fix-pinned-feed-entries branch November 23, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant