Skip to content

feat: use old.reddit.com for RSS feeds and subreddit icons#63

Merged
KyleTryon merged 4 commits into
devfrom
seer/feat/old-reddit-rss
Dec 2, 2025
Merged

feat: use old.reddit.com for RSS feeds and subreddit icons#63
KyleTryon merged 4 commits into
devfrom
seer/feat/old-reddit-rss

Conversation

@seer-by-sentry

@seer-by-sentry seer-by-sentry Bot commented Dec 2, 2025

Copy link
Copy Markdown
Contributor

Description

Fixes TUVIX-API-H. The issue was that: Sequential feed fetching without inter-request delays or rate limiting triggers Reddit's strict 429/403 rate limit blocks.

  • Use old.reddit.com for better RSS feed reliability.
  • Update Reddit News feed URL to use old.reddit.com.
  • Update subreddit icon URL to use old.reddit.com.

This fix was generated by Seer in Sentry, triggered by Kyle TechSquidTV. 👁️ Run ID: 4971195

Not quite right? Click here to continue debugging with Seer.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update
  • Build/CI update
  • Other (please describe):

Related Issues

Fixes #7077487175
Relates to #

Changes Made

  • Use old.reddit.com for better RSS feed reliability.
  • Update Reddit News feed URL to use old.reddit.com.
  • Update subreddit icon URL to use old.reddit.com.

Testing

  • Tested locally
  • Added/updated unit tests
  • All tests pass (pnpm test)
  • Type checking passes (pnpm type-check)
  • Linting passes (pnpm lint)

Screenshots/Videos

Documentation

  • Documentation has been updated (if needed)
  • Code comments added for complex logic
  • README updated (if needed)

Checklist

  • My code follows the project's coding standards
  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works

Additional Notes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses Reddit's rate limiting issues (Sentry issue TUVIX-API-H) by switching from www.reddit.com to old.reddit.com for all RSS feed URLs and subreddit icon API requests. The old.reddit.com domain is known to have more lenient rate limiting for RSS feed access.

Key Changes:

  • Updated Reddit discovery service to use old.reddit.com for dynamically generated RSS feed URLs (both subreddit and user feeds)
  • Updated subreddit icon fetching to use old.reddit.com API endpoint
  • Updated hardcoded Reddit News feed suggestion to use old.reddit.com

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/tricorder/src/services/reddit-discovery.ts Modified RSS feed URL generation for subreddits and users, and updated the subreddit icon API endpoint to use old.reddit.com instead of preserving the original domain
packages/app/src/components/app/feed-suggestions.tsx Updated the hardcoded Reddit News feed URL in the suggested feeds list to use old.reddit.com

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

KyleTryon and others added 2 commits December 2, 2025 16:16
Remove unused baseUrl variable that was causing TypeScript compilation
error. The feed URLs are hardcoded to use old.reddit.com for better
RSS reliability, so the parsed base URL is not needed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@KyleTryon KyleTryon marked this pull request as ready for review December 2, 2025 21:32
@KyleTryon KyleTryon merged commit d1c0b75 into dev Dec 2, 2025
6 checks passed
@KyleTryon KyleTryon deleted the seer/feat/old-reddit-rss branch December 5, 2025 04:24
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.

2 participants