Skip to content

Allow uploading artifacts bigger than 10MiB#7

Closed
andr2000 wants to merge 3 commits intosbabic:mainfrom
andr2000:big_artifacts
Closed

Allow uploading artifacts bigger than 10MiB#7
andr2000 wants to merge 3 commits intosbabic:mainfrom
andr2000:big_artifacts

Conversation

@andr2000
Copy link
Copy Markdown

@andr2000 andr2000 commented Mar 5, 2026

By default Next.js only allows uploading files up to 10MiB which may not be sufficient for bigger swu files [1]. Unfortunately it is not possible to increase the allowed size with an environment variable and needs the corresponding setting to be hardcoded, so increase the upload size to 2GiB.

[1] https://nextjs.org/docs/app/api-reference/config/next-config-js/proxyClientMaxBodySize

sbabic and others added 3 commits January 13, 2026 08:19
Signed-off-by: Stefano Babic <sbabic@nabladev.com>
Signed-off-by: Stefano Babic <sbabic@nabladev.com>
By default Next.js only allows uploading files up to 10MiB which may not
be sufficient for bigger swu files [1]. Unfortunately it is not possible to
increase the allowed size with an environment variable and needs the
corresponding setting to be hardcoded, so increase the upload size to
2GiB.

[1] https://nextjs.org/docs/app/api-reference/config/next-config-js/proxyClientMaxBodySize

Signed-off-by: Oleksandr Andrushchenko <andr2000@gmail.com>
@andr2000 andr2000 changed the title Allow uploading artifacts bugger than 10MiB Allow uploading artifacts bigger than 10MiB Mar 5, 2026
@andr2000 andr2000 closed this Mar 30, 2026
@andr2000
Copy link
Copy Markdown
Author

Implemented via 857a166

@andr2000 andr2000 deleted the big_artifacts branch March 30, 2026 05:54
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