withastro / adapters

Home for Astro's core maintained adapters
70 stars 42 forks source link

Cloudflare adapter hangs process using Vitest #444

Open skf-funzt opened 1 week ago

skf-funzt commented 1 week ago

Astro Info

Astro                    v4.16.12
Node                     v21.4.0
System                   Linux (x64)
Package Manager          pnpm
Output                   static
Adapter                  none
Integrations             none

> Note: This does not reflect the environment, as the Cloudflare adapter is in use and the test runs against several Node versions.

Describe the Bug

When testing Astro using Vitest, the test run hangs and timeouts on close, if the Cloudflare adapter is used. The respective reproduction is added as PR #443

What's the expected result?

The Vitest test run runs without timeout on close at the end.

Link to Minimal Reproducible Example

https://github.com/skf-funzt/adapters-cf-vitest-hang/tree/reproduction/vitest-hanging-process

Participation