rsnext/packages
Shu Ding 1cebb74462
Fix race condition of invalidation (#47586)
Currently, we always invalidate the compiler during `ensurePage` but that might cause an issue when the compilation is slow (and other cases too):

<img width="836" alt="CleanShot-2023-03-28-B4dOAWJU@2x" src="https://user-images.githubusercontent.com/3676859/228087347-0b0eff94-d920-47b3-97b3-894272672e74.png">

So this PR modifies the `ensurePage` promise after invalidation to always wait for that additional rebuilds, if that's also caused by this invalidation.

fix NEXT-893 ([link](https://linear.app/vercel/issue/NEXT-893))
2023-03-28 06:13:30 +00:00
..
create-next-app v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
eslint-config-next v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
eslint-plugin-next v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
font v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
next Fix race condition of invalidation (#47586) 2023-03-28 06:13:30 +00:00
next-bundle-analyzer v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
next-codemod v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
next-env v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
next-mdx v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
next-plugin-storybook v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
next-polyfill-module v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
next-polyfill-nomodule v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
next-swc Document various structs and methods in next/font (#47588) 2023-03-28 04:56:52 +00:00
react-dev-overlay v13.2.5-canary.19 2023-03-27 07:05:28 +00:00
react-refresh-utils v13.2.5-canary.19 2023-03-27 07:05:28 +00:00