Skip to content

Remove dead feed-curation tools, feed_fetch.py, and store's feed methods - #57

Merged
R055LE merged 1 commit into
mainfrom
remove-feed-tools
Sep 11, 2026
Merged

R055LE merged 1 commit into
mainfrom
remove-feed-tools

Conversation

@R055LE

@R055LE R055LE commented Sep 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • Removes the 8 feed-curation admin tools (list_feeds/suggest_feeds/add_feed/remove_feed + personal variants), roger/feed_fetch.py, and the store's feeds/personal_feeds tables and methods — all dead since Replace feed fetching with Scout as the item source #56 moved Digest/Spark/personal digest onto Scout.
  • Drops the feedparser dependency (its only caller was feed_fetch.py).
  • Removes the roger_feeds Prometheus gauge.
  • Fixes two latent bugs the removal surfaced:
    • _digest_status gated on feeds_count and would have permanently reported "no feeds" once the table stayed empty forever — the gate is gone, status now falls through to the last scheduled attempt.
    • _PERSONAL_DIGEST_OK_PREFIXES carried a "personal digest not configured" prefix the job hasn't emitted since the Scout migration — removed as dead.
  • Updates README/ARCHITECTURE/BACKLOG to describe Scout as the source instead of Roger-curated feed lists (ADR-0012 was already accurate; only the still-stale surrounding docs needed it).

Why

ADR-0012 deferred this on purpose: keeping the source-swap change small and reviewable. Now that Scout has been running in production for a bit, this is the promised follow-up.

Test plan

  • ruff check . clean
  • python -m pytest --cov=roger --cov-fail-under=75 — 473 passed, 84.83% coverage (down from 563 tests / 86.53% pre-removal — the difference is exactly the deleted dead-code tests)

ADR-0012 deferred this cleanup deliberately so the source-swap PR stayed
reviewable on its own. Now that Scout is the live source for Digest, the
personal digest, and Spark, nothing reads the feeds/personal_feeds tables
or calls add_feed/remove_feed/list_feeds/suggest_feeds (or their personal
variants) any more.

Also fixes two latent bugs the removal exposed: _digest_status gated on
feeds_count and would have permanently read "no feeds" once the feeds
table went empty, and _PERSONAL_DIGEST_OK_PREFIXES carried a "personal
digest not configured" prefix the job hasn't emitted since the Scout
migration. Docs (README/ARCHITECTURE/BACKLOG) updated to match.
@R055LE
R055LE merged commit 8e764b3 into main Sep 11, 2026
2 checks passed
@R055LE
R055LE deleted the remove-feed-tools branch September 11, 2026 06:12
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