Skip to content

Upload large project saves in chunks - #235

Merged
Mistium merged 3 commits into
developfrom
large-project-uploads
Nov 30, 2026
Merged

Mistium merged 3 commits into
developfrom
large-project-uploads

Conversation

@Mistium

@Mistium Mistium commented Nov 30, 2026

Copy link
Copy Markdown
Member

Summary

  • Stage the sparse project snapshot, history and merge archive in 8 MiB requests when a save approaches Cloudflare’s 100 MB request limit.
  • Retry dropped chunks, keep earlier archives alive during long saves, and discard staged data before retrying a definite refusal. Preserve the draft when the browser loses the final response.
  • Keep inline uploads compatible with older API versions. Large saves become available once the API change is deployed.
  • Bump the editor version from 3.16.1 to 3.16.2.

Verification

  • Full editor checks passed with 4,272 unit tests. Dependency checks, the production build and deployment validation passed.
  • Chromium and Firefox saved 103.7 MB projects through a simulated 100 MB per-request cap. Firefox also verified that a refused save releases staging and that a simulated 524 after a committed save preserves the draft.

Preview

My Stuff on the temporary tailnet sandbox

Chromium shows the 103.7 MB project saved in My Stuff

Chromium screenshot showing the saved draft.

Firefox shows the draft saved after retry

Firefox screenshot showing the successful retry.

Short recording showing the large upload from file selection to the saved draft.

@Mistium
Mistium merged commit 3b9b3b4 into develop Nov 30, 2026
1 check passed
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