rsnext/test/development
Hannes Bornö 1127df4d6a
Make app-render error logging less verbose in dev (#45472)
Make the app-render error less verbose in dev. Reuse
`logErrorWithOriginalStack` from the dev server but hide frames from
`node_modules`, `next/dist/compiled` and `node:internal` if we're in the
app directory. Also removes `webpack-internal` from the frame file name.

<details>
<summary>Before</summary>


![image](https://user-images.githubusercontent.com/25056922/215798020-9aea3401-95dd-4f09-9e4c-26d822c0ce38.png)
</details>

<details>
<summary>After, with source</summary>


![image](https://user-images.githubusercontent.com/25056922/216609074-66039be9-f599-47af-8c5d-b64a6be503ab.png)
</details>

<details>
<summary>After, no source</summary>


![image](https://user-images.githubusercontent.com/25056922/216608526-46ada990-7e6f-4c9e-b1d3-347ebb03f6fa.png)
</details>

<details>
<summary>For comparison, from `pages/`</summary>


![image](https://user-images.githubusercontent.com/25056922/216610761-dd87e5e6-1e9c-4b41-8adf-650cf15464e3.png)
</details>

Fixes NEXT-441

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the
feature request has been accepted for implementation before opening a
PR.
- [ ] Related issues linked using `fixes #number`
- [ ]
[e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)

---------
2023-02-14 18:46:30 -08:00
..
acceptance Update turbopack to 230209.02 (#45776)Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> 2023-02-10 17:40:19 +01:00
acceptance-app Improve server-only imported in external package error (#45749) 2023-02-15 01:54:41 +00:00
api-cors-with-rewrite fix(#11930): rewritten api routes can correctly handle cors in dev mode (#38937) 2022-07-29 21:39:43 -05:00
api-route-errors Resolve RSC / HTML rendering errors in error overlay (#43332) 2022-11-25 13:06:42 +01:00
app-render-error-log Make app-render error logging less verbose in dev (#45472) 2023-02-14 18:46:30 -08:00
basic Separate next/dynamic implementation for app and pages (#45565) 2023-02-04 01:45:35 +00:00
client-dev-overlay Allowing hiding the ReactDevOverlay (#37417) 2022-06-06 14:21:53 -04:00
correct-tsconfig-defaults Update flakey tsconfig test (#40105) 2022-08-30 12:31:38 -05:00
dotenv-default-expansion Ensure next.url is used instead of next.appPort (#44163) 2022-12-19 13:29:50 -08:00
gssp-notfound Ensure next.url is used instead of next.appPort (#44163) 2022-12-19 13:29:50 -08:00
jsconfig-path-reloading Upgrade typescript to 4.8.2 (#39979) 2022-08-29 16:56:02 +00:00
middleware-warnings Enable allowMiddlewareResponseBody by default (#44224) 2022-12-21 18:40:58 +00:00
next-font Ensure next.url is used instead of next.appPort (#44163) 2022-12-19 13:29:50 -08:00
project-directory-with-styled-jsx-suffix fix: allow user directory with styled-jsx prefix in next dev (#41484) 2022-10-19 19:01:48 +00:00
repeated-dev-edits Add test checking that repeated edits won't cause hydration issues (#44189) 2022-12-21 14:17:50 +01:00
tsconfig-path-reloading Upgrade typescript to 4.8.2 (#39979) 2022-08-29 16:56:02 +00:00
typescript-auto-install Update test config (#43661) 2022-12-03 19:49:00 -08:00
watch-config-file improve getStaticProps error message (#34287) 2022-05-22 16:50:21 -05:00
webpack-issuer-deprecation-warning fix(next): use moduleGraph.getIssuer to avoid deprecation warning (#36329) (#36330) 2022-04-21 14:14:03 +00:00