Skip to content

fix(2362): change RSSNewsFeed from first 100 to last 100#2384

Open
ycanales wants to merge 1 commit intodevelopfrom
cy/2362-rss-stale
Open

fix(2362): change RSSNewsFeed from first 100 to last 100#2384
ycanales wants to merge 1 commit intodevelopfrom
cy/2362-rss-stale

Conversation

@ycanales
Copy link
Copy Markdown
Collaborator

Issue: #2362

Summary & Context

The news RSS feed had been frozen since October 4, 2025.

news/feeds.py was ordering by publish_at ascending and slicing [:100], so once we crossed 100 entries the feed locked onto the oldest 100 and silently dropped everything newer.

Fix mirrors the pattern in versions/feeds.py (descending) and adds the deleted_at__isnull=True filter that news/views.py already uses.

Changes

  • news/feeds.py: order by -publish_at and exclude soft-deleted entries. AtomNewsFeed inherits
    the fix.
  • news/tests/test_feeds.py: regression test for the 101-entry case, plus soft-delete and
    AND-semantics exclusion tests.

‼️ Risks & Considerations ‼️

  • RSS readers will see a flood of "new" items at once (everything
    hidden since Oct 2025). GUIDs are slug-based so no duplicate-display issues.

@rbbeeston rbbeeston requested a review from jlchilders11 April 30, 2026 17:54
Copy link
Copy Markdown
Collaborator

@jlchilders11 jlchilders11 left a comment

Choose a reason for hiding this comment

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

Looks like a nice simple change. Appreciate the tests, looks good to me.

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