Remove request forwarding from App Router error reporting (#99488)
## Summary Continue decoupling App Router rendering from incoming request objects by keeping the request inside handler-owned instrumentation callbacks. Renderers now report the error and its context without forwarding the request. The public onRequestError request descriptor and error-handling behavior are unchanged. Remove unused callback plumbing and extend the existing Node and Edge instrumentation coverage to check query strings and custom headers. ## Verification - Existing server-action instrumentation tests passed in development and production with both Turbopack and Webpack. - `pnpm test-start-turbo test/e2e/on-request-error/isr/isr.test.ts` - `pnpm test-start-webpack test/e2e/app-dir/app/standalone.test.ts` (isolated Edge build) <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment