withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(cloudflare): drop the core adapter-name gate; scope renderer pre-include to workerd envs Commit the vite-plugin-environment revert that removes the Cloudflare adapter-name gate from core (the previous commit left it in HEAD, so the PR diff still special-cased an adapter in core). The adapter now owns the whole renderer pre-include: it adds each renderer's serverEntrypoint to its server-environment optimizeDeps.include, captured from the renderers exposed by astro:config:done (passed as a readonly snapshot so integrations cannot mutate Astro's internal list). The entries are skipped for the prerender environment when prerenderEnvironment is 'node', where pre-bundling renderers would duplicate framework modules; only workerd environments get them. Fixes #17921
fix/17921-optimizedeps-workerd-crash
2 hours ago
fix(cloudflare): pre-include renderer server entrypoints from the adapter, not core Reverts the renderer pre-include in vite-plugin-environment, which special-cased the Cloudflare adapter by name in core. The adapter now adds every renderer's serverEntrypoint to its own server-environment optimizeDeps.include, captured from the renderers exposed by a new generic astro:config:done hook param (additive, adapter-agnostic). Renderers are only imported lazily through virtual:astro:renderers, so the optimizer scan cannot reach them; pre-bundling them up front keeps the optimizer from re-running mid-request, when workerd still references the previous bundle. Fixes #17921
fix/17921-optimizedeps-workerd-crash
2 hours ago
chore: regenerate lockfile without stray vite 8.2.2 resolution An earlier install experiment left vite@8.2.2 in the lockfile, which split the vite module instance seen by examples/with-vitest: its vitest@5.0.0-beta resolved against vite 8.2.2 while astro resolved 8.2.1, so the vitest/config type augmentation no longer applied and astro check failed on the example's vitest.config.ts (ts2353 'test' does not exist). Restoring the base lockfile and reinstalling re-resolved everything back onto vite 8.2.1 with only the new vitest pool harness deps added.
fix/17906-actions-cf-vitest-wasm
4 hours ago
chore: own the vitest pool harness deps in the fixture workspace The @cloudflare/vitest-pool-workers test harness is only used by the vitest-actions fixture, which knip treats as its own workspace. Declaring the pool deps there instead of the adapter package keeps knip's unused dependency check clean.
fix/17906-actions-cf-vitest-wasm
5 hours ago
test: remove static import-graph unit test for astro:actions Superseded by the Cloudflare vitest pool integration test added in the previous commit, which loads astro:actions in workerd.
fix/17906-actions-cf-vitest-wasm
5 hours ago
test: cover astro:actions in workerd with a Cloudflare vitest pool test Replaces the static import-graph unit test with an integration test that imports astro:actions under @cloudflare/vitest-pool-workers, reproducing the exact workerd failure from #17906: the pre-fix build fails the vitest run with the WebAssembly.compile unhandled rejection, the fixed build passes cleanly.
fix/17906-actions-cf-vitest-wasm
5 hours ago
fix(astro): scope renderer server entrypoint pre-include to the Cloudflare adapter Pre-including every renderer server entrypoint in optimizeDeps for all server environments regressed Node dev: pre-bundling renderers that are served through the transform pipeline duplicates framework modules (duplicate React 'invalid hook call' in view-transitions, @astrojs/vue SSR/dev failures). The Cloudflare adapter is the only runtime that pre-bundles the entire server graph and cannot tolerate a mid-request renderer discovery, so gate the pre-include on settings.adapter.name === '@astrojs/cloudflare'. The adapter cannot read settings.renderers from its hooks, hence the gate lives in core.
fix/17921-optimizedeps-workerd-crash
5 hours ago
fix(cloudflare): type updateConfig param in optimizeDeps include test Annotate the updateConfig callback parameter with Parameters<HookParameters<'astro:config:setup'>['updateConfig']>[0] to fix TS7006 (implicit any) that failed the cloudflare package build in CI.
fix/17921-optimizedeps-workerd-crash
6 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
Pre-bundle renderer server entrypoints and the default logger to stop Cloudflare dev crashes
#17945
2 hours ago
d653b94
fix/17921-optimizedeps-workerd-crash
CodSpeed Performance Gauge
0%
Fix WebAssembly error when importing astro:actions in Cloudflare Vitest tests
#17943
4 hours ago
7185196
fix/17906-actions-cf-vitest-wasm
CodSpeed Performance Gauge
0%
Stop reloading the middleware on hot updates that match no modules
#17944
6 hours ago
9ac9c8d
fix/17933-middleware-hmr-rebuild
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs