fix: restore public file streaming and contain ZIP failures - #832
Conversation
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c9c729c2c5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Public repository files such as
PatchScope-1007/README.mdreturn 502 because the API forwards a process-localpublic-read:handle to a separate streamer. Revalidate public access in the API and send an empty token for anonymous public downloads. Keep owner credentials inside the API and preserve authenticated private downloads. Public ZIPs use codeload directly without consuming the streamer's anonymous REST quota.Reject file-send promises when access revalidation fails, and default missing or empty commits to
HEAD. Handle archive and entry errors so anonymization timeouts abort failed downloads without crashing the streamer.Validation:
mainand this branch, involving the ES target and Octokit response types.