Skip to content

Documentation: the package size limit includes the layers - #2194

Merged
mnapoli merged 1 commit into
masterfrom
docs-package-size-limit
Sep 27, 2026
Merged

mnapoli merged 1 commit into
masterfrom
docs-package-size-limit

Conversation

@mnapoli

@mnapoli mnapoli commented Sep 27, 2026

Copy link
Copy Markdown
Member

In "Reducing package size":

  • The 250MB limit counts the application code and the layers: Bref's PHP runtime layer takes about 80MB of it (e.g. the PHP 8.4 layer is ~79MB unzipped), which leaves roughly 170MB for the code. Without this, a 200MB application looks fine but can't be deployed.
  • Quote the error AWS returns when a deployment is too large (Unzipped size must be smaller than 262144000 bytes), inline so that the docs search indexes it: pasting the error into the search now leads to this section.

Say that the 250MB limit counts Bref's PHP layer too, and quote the error AWS returns
so that the docs search finds this section.

Claude-Session: https://claude.ai/code/session_01Awk33iZ9mDSg1xgSAPkgGK
@mnapoli
mnapoli merged commit 6ee3f1b into master Sep 27, 2026
8 checks passed
@mnapoli
mnapoli deleted the docs-package-size-limit branch September 27, 2026 21:42
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