Skip to content

[PR #1375/a47e20f9 backport][3.36] fix: RSS feeds show stale data for rebuilt packages - #1377

Merged
gerrod3 merged 1 commit into
3.36from
patchback/backports/3.36/a47e20f9c93db0f4ac24e52119ceee8c955104b5/pr-1375
Sep 10, 2026
Merged

[PR #1375/a47e20f9 backport][3.36] fix: RSS feeds show stale data for rebuilt packages#1377
gerrod3 merged 1 commit into
3.36from
patchback/backports/3.36/a47e20f9c93db0f4ac24e52119ceee8c955104b5/pr-1375

Conversation

@patchback

@patchback patchback Bot commented Sep 10, 2026

Copy link
Copy Markdown

This is a backport of PR #1375 as merged into main (a47e20f).

Summary

  • 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, and set isPermaLink="false" accordingly
  • Raise UPDATES_LIMIT from 100 to 500 for indexes with large batch promotions

Context

When a package is rebuilt with a different PEP 427 build tag (e.g., pkg-1.0-1-...whl then pkg-1.0-2-...whl), the RSS feed continued to show the original timestamp and guid because iter_releases() used Min("file_added_at"). RSS readers never surfaced the rebuild as a new item because the <guid> was unchanged.

The 100-entry limit in updates.xml was 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

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)
@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 7c319a77-8b38-45b6-baed-0c3114446266

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@gerrod3
gerrod3 merged commit a7c2dac into 3.36 Sep 10, 2026
15 checks passed
@gerrod3
gerrod3 deleted the patchback/backports/3.36/a47e20f9c93db0f4ac24e52119ceee8c955104b5/pr-1375 branch September 10, 2026 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants