Skip to content

fix(create): bound organization template archive processing - #2950

Open
fengmk2 wants to merge 6 commits into
mainfrom
fix/org-template-archive-limits
Open

fengmk2 wants to merge 6 commits into
mainfrom
fix/org-template-archive-limits

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Organization template downloads have a compressed size limit, but a small archive can still expand into large memory allocations or many files.

Keep nanotar and use Node's maxOutputLength option to stop gzip decompression at a fixed size or compression ratio limit. Check tar record sizes, entry counts, paths, and extended metadata before extraction. Apply the same limits when reading package.json for manifest lookup.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-org-template-archive-limits-viteplus-dev.voidzero-docs.workers.dev (commit 6ef3837)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://4b604ef7-viteplus-dev.voidzero-docs.workers.dev 6ef3837 2026-10-08T16:36:45.417Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://40862499-viteplus-dev.voidzero-docs.workers.dev 32a72b8 2026-10-08T15:14:44.402Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://e3e473c6-viteplus-dev.voidzero-docs.workers.dev 00f24c5 2026-10-08T13:30:12.725Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://1cd843a4-viteplus-dev.voidzero-docs.workers.dev e256757 2026-10-08T09:00:10.251Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://d82c0c08-viteplus-dev.voidzero-docs.workers.dev 7bc0cd2 2026-10-08T08:49:24.729Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://013d70ae-viteplus-dev.voidzero-docs.workers.dev 52cc1f5 2026-10-08T08:29:11.237Z Visit the dashboard ↗

@fengmk2
fengmk2 marked this pull request as ready for review October 8, 2026 13:22
@fengmk2 fengmk2 self-assigned this Oct 8, 2026

This branch has not been deployed

No deployments
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.

2 participants