Skip to content

fix: disable compression for R2 provisioning#1291

Merged
james-elicx merged 1 commit into
mainfrom
codex/fix-r2-bucket-response-compression
Jun 24, 2026
Merged

fix: disable compression for R2 provisioning#1291
james-elicx merged 1 commit into
mainfrom
codex/fix-r2-bucket-response-compression

Conversation

@james-elicx

@james-elicx james-elicx commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

fixes #1285
ref: #1284

  • request uncompressed Cloudflare API responses while checking or creating the R2 incremental cache bucket
  • avoid node-fetch decompression failures such as Invalid response body ... Premature close
  • cover both API token and API key authentication paths

Testing

  • pnpm code:checks
  • pnpm test (33 test files, 330 tests)

@pkg-pr-new

pkg-pr-new Bot commented Jun 24, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@opennextjs/cloudflare@1291

commit: 891992a

@james-elicx james-elicx marked this pull request as ready for review June 24, 2026 18:37

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@james-elicx james-elicx merged commit 51439b1 into main Jun 24, 2026
8 checks passed
@james-elicx james-elicx deleted the codex/fix-r2-bucket-response-compression branch June 24, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants