Skip to content

chore: bump Astro to 7.4 and add parallel prerender build - #34409

Merged
mvvmm merged 4 commits into
productionfrom
chore/astro-7.4
Oct 19, 2026
Merged

mvvmm merged 4 commits into
productionfrom
chore/astro-7.4

Conversation

@mvvmm

@mvvmm mvvmm commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Bumps astro to 7.4.0 and @astrojs/cloudflare to 14.4.0 (the adapter requires astro@^7.4.0).
  • Adds pnpm run build:parallel, which enables experimental.parallelPrerender with 4 workers. The default build is unchanged.
  • PARALLEL_WORKERS overrides the worker count.
  • PR CI (ci.yml build job) now runs build:parallel. Production deploy and the anchor audit still use the standard build.

Follow-up to #33397, now on the released Astro 7.4 instead of preview packages.

The site is static (adapter=none), so the new separate build/runtime image services don't apply. The image config is unchanged.

Local benchmark

Cold builds, 10,747 pages, 14-core Mac, caches cleared before each run, measured with /usr/bin/time -l.

Workers Wall time Peak RSS
standard 168.9s 10.9 GiB
2 301.4s 7.2 GiB
3 149.2s 15.5 GiB
4 117.6s 16.9 GiB
5 115.5s 16.4 GiB
6 116.0s 18.3 GiB
default (13) 139.7s 18.5 GiB
  • Gains flatten at 4 to 5 workers, so the script pins 4.
  • Peak memory varies by about 4 GiB between identical runs (4 workers measured 12.4 GiB in a separate run).
  • The 2-worker time is likely an outlier from machine contention.

@github-actions

github-actions Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://chore-astro-7-4.previews.developers.cloudflare.com (commit fd5338a)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://5d73bc98.previews.developers.cloudflare.com fd5338a 2026-10-19T20:11:32.867Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://0331c48b.previews.developers.cloudflare.com 17f4b72 2026-10-19T19:01:46.365Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://0eb3c52d.previews.developers.cloudflare.com 02d1f16 2026-10-16T18:52:57.227Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://25fcc56c.previews.developers.cloudflare.com 44afdab 2026-10-16T17:45:10.995Z Visit the dashboard ↗

@mvvmm
mvvmm marked this pull request as ready for review October 16, 2026 17:45
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

AI Review

✅ Reviewed fd5338a · 0 findings · incremental

Not reviewed (1)
  • pnpm-lock.yaml — excluded path or binary file
Commands
  • /review Run a review now.
  • /full-review Review the entire PR diff.
  • /disable-auto-review Stop automatic reviews.
  • /rebase Rebase against production.

@mvvmm
mvvmm added this pull request to the merge queue Oct 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Oct 19, 2026
@mvvmm
mvvmm added this pull request to the merge queue Oct 19, 2026
Merged via the queue into production with commit 84e8187 Oct 19, 2026
14 checks passed
@mvvmm
mvvmm deleted the chore/astro-7.4 branch October 19, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants