Avatar for the withastro user
withastro
astro
BlogDocsChangelog

Performance History

Latest Results

Merge branch 'main' into ocavue/data-store-json-parse
ocavue/data-store-json-parse
3 hours ago
Merge branch 'main' into ocavue/js-yaml-v5
ocavue/js-yaml-v5
4 hours ago
Add changeset
triagebot/fix-17425
15 hours ago
fix: make Container API work with Cloudflare adapter's workerd prerender environment Three issues prevented the Container API from working in Cloudflare's workerd prerender environment: 1. Static satteri import: The config schema module (base.ts) had a static `import { satteri } from '@astrojs/markdown-satteri'` which got pulled into the prerender bundle via the Container API's import of ASTRO_CONFIG_DEFAULTS. With Cloudflare's 'browser' resolve condition, satteri resolved to its WASM browser entry requiring @napi-rs/wasm-runtime (not installed), causing a build-time failure. Fix: Extract ASTRO_CONFIG_DEFAULTS to a standalone defaults.ts module without the satteri import. The satteri default is now applied lazily in validate.ts during config resolution. 2. Node.js builtins: The Container API imported node:path (via posix.sep) and transitively pulled in esbuild (via client-directive/index.ts barrel export), which imports node:url. These Node.js built-in modules aren't available in workerd without nodejs_compat. Fix: Replace posix.sep with '/' (always the same value), import getDefaultClientDirectives from default.js directly instead of the barrel index.js, and remove the validateConfig call (which pulled in node:path/node:url through the schema resolution chain). 3. Prerender error masking: When Container API errors occurred in workerd, the error message (with newlines) was put into an HTTP header, which miniflare rejected as 'Invalid header value', masking the real error. Fix: Sanitize newlines from error messages before putting them in the x-astro-prerender-error header. Closes #17404
triagebot/fix-17404
23 hours ago
chore: add changeset for session logger fix
iamkaleemsajjad-hue:astro-w2
1 day ago

Latest Branches

CodSpeed Performance Gauge
0%
refactor: emit the content data store as a JSON string#17430
4 hours ago
e314db6
ocavue/data-store-json-parse
CodSpeed Performance Gauge
0%
4 hours ago
ebf398d
ocavue/js-yaml-v5
CodSpeed Performance Gauge
0%
7 hours ago
ac66a8c
incremental-v2
© 2026 CodSpeed Technology
Home Terms Privacy Docs