Skip to content

Remove redundant RSC fetch monkey patches#603

Merged
alexrisch merged 1 commit into
mainfrom
centaur/remove-redundant-rsc-fetch-patches-1782615650
Jun 28, 2026
Merged

Remove redundant RSC fetch monkey patches#603
alexrisch merged 1 commit into
mainfrom
centaur/remove-redundant-rsc-fetch-patches-1782615650

Conversation

@decofe

@decofe decofe commented Jun 28, 2026

Copy link
Copy Markdown
Member

Summary

  • remove the root-layout bootstrap window.fetch monkey patch for RSC route normalization
  • remove the docs-layout window.fetch monkey patch and its now-unused helper/tests
  • keep the vite:preloadError recovery handler and the Vercel rewrite regression coverage from the prior routing fix

Prompted by: @alexrisch

Testing

  • pnpm exec biome check src/pages/_layout.tsx src/pages/docs/_layout.tsx src/lib/vercel-routing.test.ts vercel.json
  • pnpm check:types

Not run

  • CI=true pnpm test -- src/lib/vercel-routing.test.ts still fails at Vitest startup because vocs:openapi fetches the remote OpenAPI spec and the fetch fails in this sandbox.

@vercel

vercel Bot commented Jun 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment Jun 28, 2026 3:08am

Request Review

@alexrisch alexrisch merged commit 1e99ffc into main Jun 28, 2026
10 checks passed
@alexrisch alexrisch deleted the centaur/remove-redundant-rsc-fetch-patches-1782615650 branch June 28, 2026 03:15
alexrisch pushed a commit that referenced this pull request Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants