Skip to content

Conversation

@taras-yemets
Copy link
Contributor

@taras-yemets taras-yemets commented Jan 14, 2026

RSS feed is now served from the new docs service at /changelog/technical-changelog.rss.

  • Remove local RSS generation (dev/rss.js)
  • Add redirect for existing subscribers
  • Update RSS autodiscovery link in layout

Test plan

npm run dev
curl -I http://localhost:3000/technical-changelog.rss
HTTP/1.1 307 Temporary Redirect
location: https://sourcegraph.com/changelog/technical-changelog.rss

@vercel
Copy link

vercel bot commented Jan 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
sourcegraph-docs Ready Ready Preview, Comment Jan 14, 2026 9:41pm

- Remove local RSS generation (dev/rss.js)
- Redirect to https://sourcegraph.com/changelog/technical-changelog.rss
- Extract URL to shared constant
return NextResponse.redirect(
createRedirectUrl(request, redirect.destination, path)
createRedirectUrl(request, redirect.destination, path),
redirect.permanent ? 308 : 307
Copy link
Member

Choose a reason for hiding this comment

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

permanent redirects are basically impossible to ever change again because of very aggressive browser caching, maybe we should just keep them as 307s? there are a lot of permanent ones in the redirects and I'm not convinced we want all of them to redirect for all time going forward 😬

Copy link
Member

@eseliger eseliger left a comment

Choose a reason for hiding this comment

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

approve to unblock, left 1 suggestion

@taras-yemets taras-yemets merged commit d6b4302 into main Jan 14, 2026
2 checks passed
@taras-yemets taras-yemets deleted the ty/redirect-technical-changelog-rss branch January 14, 2026 21:49
@taras-yemets
Copy link
Contributor Author

Verified it works in prod

curl -I https://sourcegraph.com/docs/technical-changelog.rss
HTTP/2 307
location: https://sourcegraph.com/changelog/technical-changelog.rss

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.

3 participants