Skip to content

Reserve direct uploads to private package storage - #334

Merged
admdly merged 2 commits into
mainfrom
codex/direct-package-uploads
Nov 20, 2026
Merged

admdly merged 2 commits into
mainfrom
codex/direct-package-uploads

Conversation

@admdly

@admdly admdly commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Reserve storage quota and issue a five-minute, size- and checksum-bound PUT URL for a source ZIP in private B2. Confirm the upload with a small JSON request before queuing package preparation.
  • Recheck current ownership and storage metadata on confirmation. Reuse the existing job on retry and keep rebuilds on the stored-source path.
  • Support direct uploads through the same S3 adapter in local development and document the B2 CORS and lifecycle settings needed for rollout.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 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-20T18:07:20.872344Z 92f18ef 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.

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Extension Packager Preview

Commit bcd59b0 · Attempt 1 · CI logs

Build Checks Deployment
Passed Passed Passed

Preview endpoint

@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 17 files

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

Turn on auto-fix | Re-trigger cubic

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Deploying Preview to Cloudflare (api)

Preview URL: https://codex-direct-package-uploads-api.fossbilling.workers.dev/ (commit bcd59b0)

This URL reflects your latest successful Preview deployment.

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) Details
Build: Success ✅
Deployment: Success ✅
https://67131fa0-api.fossbilling.workers.dev/ bcd59b0 2026-11-20T18:25:03.777Z View logs ↗
Build: Success ✅
Deployment: Success ✅
https://8c81af12-api.fossbilling.workers.dev/ 92f18ef 2026-11-20T18:06:21.679Z View logs ↗

@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 11 files (changes from recent commits).

Requires human review: Adds a direct-upload flow: new package_uploads table/migrations, new /package-uploads endpoint, and reworked POST /packages confirmation. Human sign-off is required for the schema migration, API contract change, and security/rollout tradeoffs.

Turn on auto-fix | Re-trigger cubic

@admdly admdly self-assigned this Nov 20, 2026
@admdly
admdly merged commit 85acc10 into main Nov 20, 2026
34 checks passed
@admdly
admdly deleted the codex/direct-package-uploads branch November 20, 2026 18:28
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