withastro
astro
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
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
Forward cacheKey through Cloudflare prerenderer and use digest in docs example
incremental-v2
7 hours ago
Merge remote-tracking branch 'origin/main' into incremental-v2 # Conflicts: # packages/astro/src/core/config/schemas/base.ts # packages/astro/src/types/public/config.ts
incremental-v2
7 hours ago
Use `os.availableParallelism()` for image optimization queue to fix OOM in CPU-limited containers (#17427) * fix: use os.availableParallelism() for image optimization queue concurrency Replace os.cpus().length with os.availableParallelism() to respect cgroup CPU quotas in containers. This prevents oversubscription and reduces peak memory usage in CPU-limited Docker/Kubernetes builds. os.availableParallelism() is available since Node 18.14 and returns the same value as os.cpus().length on unconstrained hosts, making this change behavior-neutral outside containers. Fixes #17425 * Add changeset --------- Co-authored-by: Matthew Phillips <matthew@matthewphillips.info>
main
14 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%
fix(astro): update `js-yaml` to v5
#17449
4 hours ago
ebf398d
ocavue/js-yaml-v5
CodSpeed Performance Gauge
0%
Experimental incremental static builds
#17084
7 hours ago
ac66a8c
incremental-v2
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs