Poll subscribed feeds for new articles on a schedule #5
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-feed-polling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
feedstable), but nothing ever re-fetched them after the initial subscribe —scoring.rshad a TODO where feed polling was supposed to go.feed_polling::run, wired into the scheduler: runs once at startup (so reopening the app catches up on new articles immediately) and every 15 minutes thereafter, ahead of the scoring pass.Db::list_feedsandDb::mark_feed_fetched. New-article dedup relies on the existingarticles.urlunique constraint (insert_articlealready doeson_conflict_do_nothing), so re-fetching a feed and re-inserting already-seen entries is a no-op.Test plan
cargo build --workspacecargo clippy --workspace --all-targets(clean)cargo fmt --checkcargo test --workspace🤖 Generated with Claude Code
https://claude.ai/code/session_01QmwX8eafbMstJvt8XPSqft