Skip to content

Conversation

@mathiasgrimm
Copy link
Contributor

Before this PR we only checked for the decompressed application size (250 MB) but there's also a limit to the Zip file of 50 MB as per AWS Docs, and when users run into this specific case they would not get any meaninful error message.

AWS would return a 400 Bad Request with the following message Could not unzip uploaded file. Please check your file, then try to upload again.

  • Validating compressed file size
  • Small refactoring on App\BuildProcess\CompressApplication to avoid duplication when introducing the new validation.
  • Fixing invalid doc links

CleanShot 2025-11-13 at 12 30 34@2x

CleanShot 2025-11-13 at 12 29 53@2x

mathiasgrimm and others added 2 commits November 13, 2025 12:29
Before this PR we only checked for the decompressed application size (250 MB) but there's also a limit to the Zip file of 50 MB as per https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html.

- Validating compressed file size
- Small refactoring on `App\BuildProcess\CompressApplication` to avoid duplication when introducing the new validation.
- Fixing invalid doc links
@mathiasgrimm mathiasgrimm changed the title Ensuring compressed application size (Zip size) is withing limits Ensuring compressed application size (Zip size) is within limits Nov 13, 2025
@taylorotwell taylorotwell marked this pull request as draft November 14, 2025 15:38
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