Opus finding
RSS lastBuildDate falls back to `new Date()` (now) instead of a stable value when both source streams are empty — breaks 304 caching downstream
lowmaintainabilitymedium
- apps/web/app/receipts.rss/route.ts:51-62
If both newestSameRepo and newestCrossRepo are null (no public receipts and no merged outgoing PRs), lastBuildDate becomes the current request time. Combined with Cache-Control public/s-maxage=300, RSS readers that key off lastBuildDate may see a feed that mutates every 5 minutes despite having zero items — wasted polls, noise in cache layers. Minor.
Recommendation
Use a fixed epoch (e.g. new Date(0)) or the feed-launch date when both sources are empty.