Skip to content

fix(uploads): lower multipart upload threshold to 10 MB - #204

Merged
robingenz merged 2 commits into
mainfrom
fix/multipart-upload-threshold
Aug 10, 2026
Merged

fix(uploads): lower multipart upload threshold to 10 MB#204
robingenz merged 2 commits into
mainfrom
fix/multipart-upload-threshold

Conversation

@robingenz

Copy link
Copy Markdown
Member

App bundle files switched to a multipart upload only from 50 MB. This lowers that threshold to 10 MB, so it now matches the part size used by createUploadParts.

Files below 10 MB are still sent inline in the FormData of the create request; from 10 MB the file is uploaded in parts.

Note: app-build-sources.ts is unchanged and still always uses a multipart upload. Its create endpoint only accepts fileSizeInBytes or fileUrl, so there is no inline-file path to fall back to for small files.

Copilot AI lite review requested due to automatic review settings August 10, 2026 06:40
@robingenz robingenz self-assigned this Aug 10, 2026

Copilot AI 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.

Pull request overview

This PR adjusts the app bundle file upload behavior so multipart uploads start at 10 MB (instead of 50 MB), aligning the cutoff with the existing 10 MB part size used by the multipart upload implementation.

Changes:

  • Lowered the multipart upload threshold for app bundle files from 50 MB to 10 MB.
  • Preserved the existing behavior where files under the threshold are uploaded inline via FormData, while files at/over the threshold are uploaded in parts.

馃挕 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/services/app-bundle-files.ts
@robingenz
robingenz merged commit 1fc97c7 into main Aug 10, 2026
3 checks passed
@robingenz
robingenz deleted the fix/multipart-upload-threshold branch August 10, 2026 07:14
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