fix(cloudflare): preserve passthrough image service in compile mode #18032

Merged
adamchal opened 3:39pm on September 16, 2026 wanted to merge 28 Δ into withastro/astro main from
fix-17968

Pull Request Overview

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

Total Delta

28 Total Diff Delta

Open Days

Open 2 weekdays

Test Delta

11 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.2 days Authoring 1 commit before pull request opened for review
 
0.3 days Awaiting first review
 
2.0 days Merge to deploy (still awaiting deployment)

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

Author avatar

fix(cloudflare): preserve passthrough image service in compile mode

Changes


  • Gives passthroughImageService() precedence when using imageService: 'compile', fixing image requests during development and on-demand rendering.

  • Adds a warning when this overrides an explicitly configured runtime: 'cloudflare-binding'.

Testing


  • Adds test to cover passthrough precedence when combined with 'compile'.

Docs

N/a

Closes #17968

Comments Threads Pending Resolution

Resolved Comment Threads

No resolved comments have been left on this PR.