Skip to content

fix: set ignoreOutdatedRequests for client environment#15336

Merged
ascorbic merged 3 commits intonextfrom
ignore-optimize-err
Jan 29, 2026
Merged

fix: set ignoreOutdatedRequests for client environment#15336
ascorbic merged 3 commits intonextfrom
ignore-optimize-err

Conversation

@ascorbic
Copy link
Copy Markdown
Contributor

Changes

Fixes a dev server issue where framework components from linked packages would fail to load with a 504 error. This could happen when using client:only with components from monorepo packages that had dependencies on external deps. The first request would trigger Vite's dependency optimiser mid-request, causing concurrent client module requests to fail.

The fix is to add ignoreOutdatedRequests to the client environment config.

Testing

Added e2e test

Docs

Just a bug fix

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jan 29, 2026

🦋 Changeset detected

Latest commit: eeb1870

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

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

@github-actions github-actions bot added pkg: integration Related to any renderer integration (scope) pkg: astro Related to the core `astro` package (scope) labels Jan 29, 2026
@ascorbic ascorbic changed the title Ignore optimize err fix: set ignoreOutdatedRequests for client environment Jan 29, 2026
@github-actions
Copy link
Copy Markdown
Contributor

⚠️ Package Trust Level Decreased

Caution

Decreased trust levels may indicate a higher risk of supply chain attacks. Please review these changes carefully.

📦 Package 🔒 Before 🔓 After
eslint-plugin-regexp trusted-with-provenance none
@cloudflare/kv-asset-handler trusted-with-provenance none
@cloudflare/unenv-preset trusted-with-provenance none
workerd trusted-with-provenance none
@sveltejs/vite-plugin-svelte-inspector trusted-with-provenance provenance
@sveltejs/vite-plugin-svelte trusted-with-provenance provenance
jsdoc-type-pratt-parser trusted-with-provenance none
miniflare trusted-with-provenance none
youch provenance none
@cloudflare/workerd-darwin-64 trusted-with-provenance none
@cloudflare/workerd-darwin-arm64 trusted-with-provenance none
@cloudflare/workerd-linux-64 trusted-with-provenance none
@cloudflare/workerd-linux-arm64 trusted-with-provenance none
@cloudflare/workerd-windows-64 trusted-with-provenance none
wrangler trusted-with-provenance none

@ascorbic ascorbic merged commit 9cce92e into next Jan 29, 2026
23 checks passed
@ascorbic ascorbic deleted the ignore-optimize-err branch January 29, 2026 15:14
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)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants