Skip to content

Scope release-file bulk deletion to the requested release#3016

Open
e-q wants to merge 1 commit into
python:mainfrom
e-q:release-file-delete-by-release-scope
Open

Scope release-file bulk deletion to the requested release#3016
e-q wants to merge 1 commit into
python:mainfrom
e-q:release-file-delete-by-release-scope

Conversation

@e-q
Copy link
Copy Markdown

@e-q e-q commented Jun 2, 2026

Description

  • Build the delete_by_release queryset from the requested release_id
    instead of the regular filtered list queryset.
  • Extend the existing v2 API test so an additional valid release-file filter
    does not leave files for the requested release behind.
  • Return 400 for missing, blank, or malformed release values.
  • Assert files for a different release remain after the bulk delete.

Closes

Testing

  • Focused v2 delete_by_release regression test, including extra filters and
    invalid release values: passed.
  • Focused Ruff lint and format checks on touched files: passed.
  • Whitespace check: passed.

@e-q e-q requested a review from JacobCoffee as a code owner June 2, 2026 18:24
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.

Bug: release-file bulk deletion can leave files behind

2 participants