Skip to content

fix: old package from upstream during retention, DeletePrereleasesOfOlderMajors - #294

Open
fe56 wants to merge 1 commit into
bagetter:mainfrom
fe56:fix/retention-mirror-and-old-major-prereleases
Open

fe56 wants to merge 1 commit into
bagetter:mainfrom
fe56:fix/retention-mirror-and-old-major-prereleases

Conversation

@fe56

@fe56 fe56 commented Sep 24, 2026 •

Copy link
Copy Markdown

Retention no longer deletes the package version that is currently being indexed. Previously an old version mirrored from an upstream feed could be deleted right after indexing, before it was served, causing a 500 error. The version is cleaned up the next time the package is indexed.

Add the Retention:DeletePrereleasesOfOlderMajors option, which deletes all prerelease versions whose major version is lower than the latest stable major version.

Addresses #293

…derMajors

Retention no longer deletes the package version that is currently being
indexed. Previously an old version mirrored from an upstream feed could be
deleted right after indexing, before it was served, causing a 500 error.
The version is cleaned up the next time the package is indexed.

Add the Retention:DeletePrereleasesOfOlderMajors option, which deletes all
prerelease versions whose major version is lower than the latest stable
major version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hoerup

hoerup commented Oct 3, 2026

Copy link
Copy Markdown

LGTM, @Regenhardt what do you think ?

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