#18132·astro

Astro dev intermittently crashes when `astro:actions` is used in a server island

Author: TorbjornHoltmonCreated Sep 25, 2026Updated Sep 25, 2026
Labelstriage: unable to reproduce

Astro Info

block
Astro                    v7.3.4
Node                     v24.19.0
System                   macOS (arm64)
Package Manager          pnpm
Output                   server
Adapter                  @astrojs/cloudflare
Integrations             none

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

When using astro:actions inside a server island with @astrojs/cloudflare, the Astro dev server eventually starts returning 500 errors.

Even though the patch in the repro prevents the issue, we do not know if the fix has any negative consequences. We are not that familiar with the astro and vite architecture.

Credit goes to my colleague @rognstadragnar for reproducing this issue.

What's the expected result?

The server island should continue rendering successfully regardless of how many times the page is requested.

Link to Minimal Reproducible Example

https://github.com/TorbjornHoltmon/astro-actions-server-islands-repro

Participation

  • I am willing to submit a pull request for this issue.