Skip to content

Limit action request body size#15585

Draft
matthewp wants to merge 1 commit intomainfrom
cherry-522f880b07
Draft

Limit action request body size#15585
matthewp wants to merge 1 commit intomainfrom
cherry-522f880b07

Conversation

@matthewp
Copy link
Contributor

@matthewp matthewp commented Feb 19, 2026

Changes

  • Add a default 1MB limit for action request bodies and enforce when Content-Length is missing
  • Cherry-picked from 522f880

* Limit the size of an action payload

Limits the size to prevent exhausting the server and potentionally crashing it.

* fix build
@changeset-bot
Copy link

changeset-bot bot commented Feb 19, 2026

🦋 Changeset detected

Latest commit: 5356d5d

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Feb 19, 2026
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 19, 2026

Merging this PR will not alter performance

✅ 9 untouched benchmarks


Comparing cherry-522f880b07 (5356d5d) with main (d789452)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (00e95c4) during the generation of this report, so d789452 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments