Avatar for the withastro user
withastro
astro
BlogDocsChangelog

Performance History

Latest Results

Fix prerendered Cloudflare pages rendering as [object Object] with nodejs_compat (#18011) When workerd runs with nodejs_compat, Astro's isNode check returns true, causing renderPage to pass an AsyncIterable body to the Response constructor. Workerd's Response does not support this non-standard Node.js extension and stringifies it to "[object Object]". Add isWorkerd detection (via navigator.userAgent) and wrap the AsyncIterable with ReadableStream.from() in workerd. This preserves the faster AsyncIterable render path while producing a standard BodyInit type that workerd accepts. A previous fix (PR #16720) modified isNode to exclude workerd but was reverted (PR #16997) because the renderToReadableStream fallback was slower. This approach avoids that regression by keeping renderToAsyncIterable and only wrapping the output. Fixes #18009 Co-authored-by: factory[bot] <factory[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthewphillips@cloudflare.com>
main
7 minutes ago
Add spread-param case and issue link
shoutoutuoadi325:fix/redirect-param-replacement-patterns
12 minutes ago
Add spread-param case and issue link
shoutoutuoadi325:fix/redirect-param-replacement-patterns
19 minutes ago
Merge branch 'main' into factory/fix-17974
factory/fix-17974
32 minutes ago
Merge branch 'main' into factory/fix-17991
factory/fix-17991
33 minutes ago
Merge branch 'main' into factory/fix-18010
factory/fix-18010
34 minutes ago
Merge branch 'main' into fix/17995-head-metadata-invalidation-loop
L4XB:fix/17995-head-metadata-invalidation-loop
48 minutes ago

Latest Branches

CodSpeed Performance Gauge
0%
Fix redirect targets when a param value contains a `$` replacement pattern#18002
12 hours ago
dd41e31
shoutoutuoadi325:fix/redirect-param-replacement-patterns
CodSpeed Performance Gauge
0%
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home Terms Privacy Docs