Skip to content

Bypass caches for authenticated B2 storage requests - #313

Merged
admdly merged 2 commits into
mainfrom
codex/b2-storage-cache
Nov 10, 2026
Merged

admdly merged 2 commits into
mainfrom
codex/b2-storage-cache

Conversation

@admdly

@admdly admdly commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Authenticated reads from the public B2 asset bucket could return cached metadata after a file version had been deleted. Set cache: "no-store" on signed storage requests so package reads and cleanup see current origin state. Public asset URLs retain their immutable CDN caching.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-11-10T06:17:11.674800Z a9465ce PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
api d5fb5ed Nov 10 2026, 06:19 AM

@admdly admdly self-assigned this Nov 10, 2026

@cubic-dev-ai cubic-dev-ai Bot 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.

All reported issues were addressed across 2 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

@cubic-dev-ai cubic-dev-ai Bot 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.

0 issues found across 1 file (changes from recent commits).

Auto-approved: Sets cache: no-store on authenticated B2 fetches so deleted file versions are not served from stale cached metadata, with tests asserting the new cache mode on package and asset requests.

Turn on auto-fix | Re-trigger cubic

@admdly
admdly merged commit c597d6e into main Nov 10, 2026
9 checks passed
@admdly
admdly deleted the codex/b2-storage-cache branch November 10, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant