Skip to content

fix: use head-based manifest version check - #2429

Draft
am9zZWY wants to merge 1 commit into
pulp:mainfrom
am9zZWY:fix/head-manifest
Draft

fix: use head-based manifest version check#2429
am9zZWY wants to merge 1 commit into
pulp:mainfrom
am9zZWY:fix/head-manifest

Conversation

@am9zZWY

@am9zZWY am9zZWY commented Jul 24, 2026

Copy link
Copy Markdown

📜 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

Assisted By: Claude Sonnet 5
@am9zZWY
am9zZWY marked this pull request as draft July 24, 2026 14:18

@gerrod3 gerrod3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Can you rebase with main and do a ruff format && ruff check?

Comment on lines +1 to +4
Pull-through manifest resolution now performs a HEAD-based version check and serves locally
stored manifests without downloading the manifest body. Per Docker Hub's pull definition, version
checks do not count toward rate limits, substantially reducing 429 errors for repeat tag
resolutions.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put this on one line and make it more concise?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure we need a unit test for this fix. As long as the functional tests pass, I think we are fine. The change uses the same pattern as sync, so I'm confident it'll work.

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