Skip to content

[PULP-2416] Stream proxied S3 and Azure artifacts - #8364

Draft
dralley wants to merge 5 commits into
pulp:mainfrom
dralley:streaming-fix-backup
Draft

dralley wants to merge 5 commits into
pulp:mainfrom
dralley:streaming-fix-backup

Conversation

@dralley

@dralley dralley commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

Avoid unnecessary buffering of large files by taking advantage of a streaming API in forked django-storages.

closes #7806

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

Use Pulp's storage stream interface to serve proxied artifacts without
buffering large remote files into seekable file objects. Preserve byte
range responses and keep synchronous storage I/O off the content application
event loop.

closes pulp#7806

Assisted By: Codex (GPT-5) Terra 5.6
Bundle the backend source in the pulpcore distribution and retain
optional provider dependencies for S3, Azure, and GCS deployments.
@dralley
dralley force-pushed the streaming-fix-backup branch from 2af93e8 to f64bc62 Compare November 24, 2026 04:37
Move the vendored backends under Pulp's package namespace so they cannot
collide with an independently installed django-storages package.

Update built-in backend mappings, test settings, and operator guidance to
use the new import paths while preserving legacy Domain storage_class values.

Assisted By: Codex (GPT-6)
@dralley
dralley force-pushed the streaming-fix-backup branch from f64bc62 to 03c68cb Compare November 24, 2026 15:27
Map the vendored compatibility path to Pulp's S3 backend so the S3
runner's configured storage passes the redirect backend check. Add
regression coverage for backend identification and validation.

Assisted By: Codex (GPT-6)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Content app OOMs serving large S3 artifacts with REDIRECT_TO_OBJECT_STORAGE=False

1 participant