Skip to content

[PR #1484/8807ad9d backport][3.36] Sign pull-through package links - #1486

Merged
gerrod3 merged 1 commit into
3.36from
patchback/backports/3.36/8807ad9d56ac01efe4aebf882eec9e7939fef783/pr-1484
Nov 23, 2026
Merged

gerrod3 merged 1 commit into
3.36from
patchback/backports/3.36/8807ad9d56ac01efe4aebf882eec9e7939fef783/pr-1484

Conversation

@patchback

@patchback patchback Bot commented Nov 23, 2026

Copy link
Copy Markdown

This is a backport of PR #1484 as merged into main (8807ad9).

Note

Posted by an agent on behalf of @gerrod3.

Sign pull-through package links on simple index pages. Each token binds the upstream URL to the package filename and the remote's listing settings. The content app rejects invalid tokens and passes upstream SHA-256 digests to the downloader when available.

Refresh cached simple index pages to replace old unsigned links after upgrading. This fix is split out of #1429 for backporting.

Checklist

  • Single commit with a meaningful message
  • Changelog entry
  • AI assistance disclosed in the commit message
  • Unit and functional regression tests

Summary by CodeRabbit

  • Bug Fixes
    • Pull-through package downloads now use signed links, and unsigned or invalid links are rejected.
    • Package downloads use the upstream SHA-256 digest when available. Cached package index pages are refreshed to replace outdated unsigned links.
    • Metadata downloads support both pip and uv URL formats.

Require signed tokens for upstream pull-through downloads and bind
them to the remote's listing and package filename. Pass upstream
SHA-256 digests to the downloader when available and invalidate cached
simple pages when the remote's listing changes.

Extracted from #1429 for backporting.

Co-authored-by: Claude Opus 5.5 <[email protected]>
Assisted By: OpenAI Codex

(cherry picked from commit 8807ad9)
@patchback patchback Bot mentioned this pull request Nov 23, 2026
4 tasks done
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e59e1a52-4f80-4f24-879e-8066575188ed

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@gerrod3
gerrod3 merged commit 31bb3c9 into 3.36 Nov 23, 2026
15 checks passed
@gerrod3
gerrod3 deleted the patchback/backports/3.36/8807ad9d56ac01efe4aebf882eec9e7939fef783/pr-1484 branch November 23, 2026 16:37
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