Skip to content

feat(bundled-dev): POST fallback for long HMR requests - #24214

Closed
h-a-n-a wants to merge 1 commit into
hmr-pull-corefrom
hmr-pull-request-size
Closed

h-a-n-a wants to merge 1 commit into
hmr-pull-corefrom
hmr-pull-request-size

Conversation

@h-a-n-a

@h-a-n-a h-a-n-a commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Design (Vite side of rolldown/rolldown#11946):

  • A have-set query longer than 6000 characters is POSTed to <base>__rolldown_hmr_have first. Vite stores it and answers a one-use token (10 min, at most 1024 queries / 64 MiB).
  • The patch route resolves the token once before it calls the dev engine. An unknown or expired token gets an answer that reloads the page.
  • The module runner has no URL limit and never POSTs.

Stacked on #24213. Merge together with the rolldown version bump.

This pull request was closed.
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