[PR #1375/a47e20f9 backport][3.36] fix: RSS feeds show stale data for rebuilt packages - #1377
Merged
gerrod3 merged 1 commit intoSep 10, 2026
Conversation
Use Max() instead of Min() for the added_at timestamp aggregation so feeds reflect the most recently added file for each (name, version) pair. Append a timestamp fragment to the guid so RSS readers treat rebuilds as new items. Raise UPDATES_LIMIT from 100 to 500 for indexes with large batch promotions. Fixes #1374 Assisted-by: AI (Claude Opus 4.6) Signed-off-by: Ryan Petrello <rpetrell@redhat.com> (cherry picked from commit a47e20f)
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
gerrod3
approved these changes
Sep 10, 2026
gerrod3
deleted the
patchback/backports/3.36/a47e20f9c93db0f4ac24e52119ceee8c955104b5/pr-1375
branch
September 10, 2026 15:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a backport of PR #1375 as merged into main (a47e20f).
Summary
Max()instead ofMin()for theadded_attimestamp aggregation so feeds reflect the most recently added file for each(name, version)pair#timestampfragment to the<guid>so RSS readers treat rebuilds as new items, and setisPermaLink="false"accordinglyUPDATES_LIMITfrom 100 to 500 for indexes with large batch promotionsContext
When a package is rebuilt with a different PEP 427 build tag (e.g.,
pkg-1.0-1-...whlthenpkg-1.0-2-...whl), the RSS feed continued to show the original timestamp and guid becauseiter_releases()usedMin("file_added_at"). RSS readers never surfaced the rebuild as a new item because the<guid>was unchanged.The 100-entry limit in
updates.xmlwas also too small for indexes that receive batch promotions of 100+ packages at once (we've seen promotions of up to 117 packages in a single hour).Fixes #1374