feat(sources): add arXiv via rss.arxiv.org, flood-gated - #286
Conversation
Adds arxiv-research to the source registry now that rss.arxiv.org serves items. AI keyword filter plus a 6-item newest-first cap; stale threshold 72 runs for the weekend gap. Mirror the override in the read model. Refs #230 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reviewer's GuideThis PR enables arXiv through the existing source registry via the robots-clean rss.arxiv.org feed, limits its firehose volume with keyword and item-count gates, and applies a weekend-safe 72-run stale threshold. Registry, health, and score-budget tests are updated to enforce the new source’s compliance and runtime limits. Flow diagram for arXiv RSS flood-gated ingestionflowchart LR
Feed[rss.arxiv.org combined feed] --> Keyword[ai keyword filter]
Keyword --> Cap[Newest-first maxItems 6]
Cap --> Registry[Source registry]
Registry --> Ingest[Ingestion pipeline]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
0027 is already applied in prod, so editing it never reaches D1. Restore 0027 to the 20 original rows and add an idempotent upsert migration for arxiv-research. A test asserts 0027 + 0030 equal the registry. Refs #230 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs #230
Most of #230 shipped in #241. The arXiv row was the piece deferred because
rss.arxiv.orgwas serving an empty weekend channel. It serves items now, so this adds it through the existing registry.Changes
arxiv-researchrow inworker/sources/catalog.ts(ARXIV_SOURCE, outside the frozenREGISTRY_0027list) plus new idempotent migration0030_arxiv_source.sql(upsert on name/type/config, neverenabled).0027is untouched because prod already applied it.sourceStaleThresholdmirrors the 72-run override.Verification
verify:source-feeds arxiv-research)@aidr/web testcheck-typesStill open for #230
/api/feedvolume (needs deploy).🤖 Generated with Claude Code
https://claude.ai/code/session_01LUvnDNBM63UC4pk8VMMz72
Summary by Sourcery
Add the robots-compliant arXiv RSS feed to the source registry with flood protection and weekend-aware health monitoring.
New Features:
Enhancements:
Tests:
Chores: