Skip to content

Fix http error reporting and json metadata handling - #1351

Draft
hstct wants to merge 1 commit into
pulp:mainfrom
ATIX-AG:fix-error-handling
Draft

Fix http error reporting and json metadata handling#1351
hstct wants to merge 1 commit into
pulp:mainfrom
ATIX-AG:fix-error-handling

Conversation

@hstct

@hstct hstct commented Aug 25, 2026

Copy link
Copy Markdown

Bandersnatch masks http errors when syncing packages as stale metadata instead of reporting them directly the raise_for_status flag will show the actual error like if the package is not here 404, or there is a server side error 5xx. This helps debugging. It also doesn't run into a retry loop but fails fast.

The other change allows native json list values to be allowed when rendering python package metadata, an error that previously was masked as stale metadata.

Raise on unsuccessful HTTP responses during Bandersnatch requests so
errors are reported directly instead of being misclassified as
stale metadata.

Also allow deserialized json list values when rendering python package
metadata.
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.

1 participant