Prevent Cloudflare dev crashes with the passthrough image service #18022

Merged
renovate-bot opened 10:39am on September 16, 2026 wanted to merge 8 Ξ” into withastro/astro main from
triage-17990

Pull Request Overview

  • Opened on September 16, 2026
  • Status Merged
  • Commit count 1 with first commit September 16, 2026

Total Delta

8 Total Diff Delta

Open Days

Open 2 weekdays

Test Delta

6 Diff Delta in Test Files
Breakdown by Phase

How long has this pull request spent in each phase of its lifecycle?

Fraction of total time Business days Phase
 
0.1 days Authoring 1 commit before pull request opened for review
 
0.0 days Awaiting first review
 
0.1 days Revising work with 0 commits in response to 1 review that left 3 comments
 
2.3 days Merge to deploy (still awaiting deployment)

Total time for pull request 0.2 business days from first commit authored to merge
Still awaiting deployment

Author avatar

Prevent Cloudflare dev crashes with the passthrough image service

Changes


  • Pre-bundles the passthrough image service so Cloudflare cold dev starts do not re-optimize dependencies while workerd evaluates the worker entry.

  • Fixes #17990.

Testing


  • Adds a config test asserting that server environments include astro/assets/services/noop.

Docs


  • No docs update needed; this is a dev-server reliability fix with no API change.

Comments Threads Pending Resolution

Princesseuh reviewed and approved this work on September 16, 2026
Princesseuh left a comment

Not a big fan of this optimizeDeps world we live in

Resolved Comment Threads

No resolved comments have been left on this PR.