Skip to content

Add optional maxSizeBytes parameter to uploadObject and use for local builds - #10972

Merged
falahat merged 3 commits into
mainfrom
fix-upload-header-size-limit
Aug 27, 2026
Merged

Add optional maxSizeBytes parameter to uploadObject and use for local builds#10972
falahat merged 3 commits into
mainfrom
fix-upload-header-size-limit

Conversation

@falahat

@falahat falahat commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Description

#10956

Scenarios Tested

Verified the bug with a 249MiB app on main and verified that it worked correctly with this branch

Sample Commands

@gemini-code-assist gemini-code-assist 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.

Code Review

This pull request introduces support for custom maximum size limits (maxSizeBytes) when uploading objects to Google Cloud Storage via uploadObject, which is applied to App Hosting deployments during local builds. Unit tests have been added to verify this functionality. Feedback is provided regarding a style guide violation in the test file, where 'as any' was used instead of constructing a proper Response object.

Comment thread src/gcp/storage.spec.ts Outdated
@falahat
falahat enabled auto-merge (squash) August 27, 2026 17:11
@falahat
falahat merged commit e713ebb into main Aug 27, 2026
52 of 53 checks passed
@falahat
falahat deleted the fix-upload-header-size-limit branch August 27, 2026 17:25
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.

3 participants