Poll subscribed feeds for new articles on a schedule #5

Merged
claude-bot merged 2 commits from worktree-feed-polling into main 2026-09-03 14:07:27 +00:00

2 commits

Author SHA1 Message Date
Austin Schaefer
64c46655d7 Merge remote-tracking branch 'origin/main' into worktree-feed-polling
All checks were successful
CI / check (pull_request) Successful in 1m35s
CI / test (pull_request) Successful in 3m8s
CI / audit (pull_request) Successful in 13s
# Conflicts:
#	crates/db/src/lib.rs
2026-09-03 13:45:53 +02:00
Austin Schaefer
6fb470084d Poll subscribed feeds for new articles on a schedule
All checks were successful
CI / check (pull_request) Successful in 13m50s
CI / test (pull_request) Successful in 4m15s
CI / audit (pull_request) Successful in 15s
Feeds were already persisted, but nothing ever re-fetched them after
the initial subscribe — scoring.rs had a TODO where feed polling was
supposed to go. Add a feed_polling job that re-fetches every
subscribed feed, relies on articles.url's unique constraint to skip
ones already seen, and stamps last_fetched_at. Runs once on startup
(so reopening the app catches up immediately) and every 15 minutes
after, ahead of the scoring pass.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QmwX8eafbMstJvt8XPSqft
2026-09-03 13:20:30 +02:00