Skip to content

fix: add Cloudflare e2e tests w/ pre-optimized deps - #14975

Merged
ematipico merged 8 commits into
nextfrom
optm-deps2
Dec 8, 2025
Merged

ematipico merged 8 commits into
nextfrom
optm-deps2

Conversation

@matthewp

@matthewp matthewp commented Dec 6, 2025

Copy link
Copy Markdown
Contributor

Cloudflare dev was broken due to non-optimized dependencies. Added .dev.vars files to pre-optimize deps so Vite doesn't have to on startup.

Added comprehensive e2e test suite for Cloudflare that covers:

  • SSR rendering
  • Content collections (getCollection, getEntry, render)
  • React/Vue client components
  • Server islands (server:defer)
  • URL search params
  • Worker runtime detection
  • Data mapping
  • Dynamic content

Tests run in both dev & prod modes to ensure functionality works in both environments.

Cloudflare dev was broken due to non-optimized dependencies. Added .dev.vars files to pre-optimize deps so Vite doesn't have to on startup.

Added comprehensive e2e test suite for Cloudflare that covers:
- SSR rendering
- Content collections (getCollection, getEntry, render)
- React/Vue client components
- Server islands (server:defer)
- URL search params
- Worker runtime detection
- Data mapping
- Dynamic content

Tests run in both dev & prod modes to ensure functionality works in both environments.
@changeset-bot

changeset-bot Bot commented Dec 6, 2025 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7163099

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions Bot added pkg: vue Related to Vue (scope) pkg: integration Related to any renderer integration (scope) pkg: astro Related to the core `astro` package (scope) labels Dec 6, 2025
@github-actions github-actions Bot added the pkg: svelte Related to Svelte (scope) label Dec 6, 2025
@github-actions github-actions Bot removed the pkg: svelte Related to Svelte (scope) label Dec 6, 2025
@matthewp
matthewp marked this pull request as ready for review December 6, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: astro Related to the core `astro` package (scope) pkg: integration Related to any renderer integration (scope) pkg: vue Related to Vue (scope)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants