Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Turbopack] make issue ordering stable #72751

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Conversation

sokra
Copy link
Member

@sokra sokra commented Nov 13, 2024

What?

Currently when there are multiple instances of the same error on different lines of the same source file it shows a random one of these errors.

This fixes that by sorting the issues also based on the source.

Closes PACK-3470

@sokra sokra added the CI Bypass Graphite Optimization Ignore Graphite CI optimizations, run the full CI suite. https://graphite.dev/docs/stacking-and-ci label Nov 13, 2024 — with Graphite App
@sokra sokra force-pushed the sokra/improve-issue-ordering branch from 6ddb895 to 2c297fa Compare November 13, 2024 08:53
@ijjk
Copy link
Member

ijjk commented Nov 13, 2024

Stats from current PR

Default Build
General
vercel/next.js canary vercel/next.js sokra/improve-issue-ordering Change
buildDuration 18.8s 17.2s N/A
buildDurationCached 16.5s 14.3s N/A
nodeModulesSize 403 MB 403 MB
nextStartRea..uration (ms) 470ms 455ms N/A
Client Bundles (main, webpack)
vercel/next.js canary vercel/next.js sokra/improve-issue-ordering Change
1293-HASH.js gzip 5.27 kB 5.27 kB N/A
2891-HASH.js gzip 45.9 kB 45.9 kB N/A
5968.HASH.js gzip 169 B 169 B
619d7fc3-HASH.js gzip 52.6 kB 52.6 kB
framework-HASH.js gzip 57.4 kB 57.4 kB N/A
main-app-HASH.js gzip 234 B 232 B N/A
main-HASH.js gzip 33.2 kB 33.2 kB N/A
webpack-HASH.js gzip 1.71 kB 1.71 kB N/A
Overall change 52.7 kB 52.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js sokra/improve-issue-ordering Change
polyfills-HASH.js gzip 39.4 kB 39.4 kB
Overall change 39.4 kB 39.4 kB
Client Pages
vercel/next.js canary vercel/next.js sokra/improve-issue-ordering Change
_app-HASH.js gzip 193 B 193 B
_error-HASH.js gzip 192 B 191 B N/A
amp-HASH.js gzip 512 B 511 B N/A
css-HASH.js gzip 343 B 342 B N/A
dynamic-HASH.js gzip 1.84 kB 1.84 kB N/A
edge-ssr-HASH.js gzip 265 B 265 B
head-HASH.js gzip 364 B 358 B N/A
hooks-HASH.js gzip 393 B 393 B
image-HASH.js gzip 4.41 kB 4.41 kB N/A
index-HASH.js gzip 268 B 267 B N/A
link-HASH.js gzip 2.78 kB 2.78 kB N/A
routerDirect..HASH.js gzip 328 B 327 B N/A
script-HASH.js gzip 397 B 397 B
withRouter-HASH.js gzip 325 B 324 B N/A
1afbb74e6ecf..834.css gzip 106 B 106 B
Overall change 1.35 kB 1.35 kB
Client Build Manifests
vercel/next.js canary vercel/next.js sokra/improve-issue-ordering Change
_buildManifest.js gzip 751 B 749 B N/A
Overall change 0 B 0 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js sokra/improve-issue-ordering Change
index.html gzip 525 B 524 B N/A
link.html gzip 539 B 536 B N/A
withRouter.html gzip 520 B 519 B N/A
Overall change 0 B 0 B
Edge SSR bundle Size
vercel/next.js canary vercel/next.js sokra/improve-issue-ordering Change
edge-ssr.js gzip 128 kB 128 kB N/A
page.js gzip 198 kB 198 kB N/A
Overall change 0 B 0 B
Middleware size
vercel/next.js canary vercel/next.js sokra/improve-issue-ordering Change
middleware-b..fest.js gzip 669 B 668 B N/A
middleware-r..fest.js gzip 156 B 156 B
middleware.js gzip 31 kB 31 kB N/A
edge-runtime..pack.js gzip 844 B 844 B
Overall change 1 kB 1 kB
Next Runtimes
vercel/next.js canary vercel/next.js sokra/improve-issue-ordering Change
196-experime...dev.js gzip 322 B 322 B
196.runtime.dev.js gzip 314 B 314 B
app-page-exp...dev.js gzip 320 kB 320 kB
app-page-exp..prod.js gzip 123 kB 123 kB
app-page-tur..prod.js gzip 136 kB 136 kB
app-page-tur..prod.js gzip 131 kB 131 kB
app-page.run...dev.js gzip 310 kB 310 kB
app-page.run..prod.js gzip 119 kB 119 kB
app-route-ex...dev.js gzip 36 kB 36 kB
app-route-ex..prod.js gzip 24.4 kB 24.4 kB
app-route-tu..prod.js gzip 24.4 kB 24.4 kB
app-route-tu..prod.js gzip 24.2 kB 24.2 kB
app-route.ru...dev.js gzip 37.6 kB 37.6 kB
app-route.ru..prod.js gzip 24.2 kB 24.2 kB
pages-api-tu..prod.js gzip 9.59 kB 9.59 kB
pages-api.ru...dev.js gzip 11.4 kB 11.4 kB
pages-api.ru..prod.js gzip 9.58 kB 9.58 kB
pages-turbo...prod.js gzip 20.9 kB 20.9 kB
pages.runtim...dev.js gzip 26.5 kB 26.5 kB
pages.runtim..prod.js gzip 20.9 kB 20.9 kB
server.runti..prod.js gzip 916 kB 916 kB
Overall change 2.32 MB 2.32 MB
build cache
vercel/next.js canary vercel/next.js sokra/improve-issue-ordering Change
0.pack gzip 2.01 MB 2.01 MB N/A
index.pack gzip 146 kB 145 kB N/A
Overall change 0 B 0 B
Diff details
Diff for page.js
@@ -15,7 +15,7 @@
       /***/
     },
 
-    /***/ 6133: /***/ (
+    /***/ 9311: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -30,7 +30,7 @@
         default: () => /* binding */ nHandler,
       });
 
-      // NAMESPACE OBJECT: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-stats9yYGDw%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
+      // NAMESPACE OBJECT: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-stats9yYGDw%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
       var page_next_edge_ssr_entry_namespaceObject = {};
       __webpack_require__.r(page_next_edge_ssr_entry_namespaceObject);
       __webpack_require__.d(page_next_edge_ssr_entry_namespaceObject, {
@@ -84,35 +84,35 @@
         workUnitAsyncStorage: () => entry_base /* workUnitAsyncStorage */.FP,
       });
 
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/server/web/globals.js
-      var globals = __webpack_require__(3863);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
-      var adapter = __webpack_require__(6331);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 84 modules
-      var render = __webpack_require__(8518);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 5 modules
-      var incremental_cache = __webpack_require__(1044);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/server/app-render/app-render.js + 65 modules
-      var app_render = __webpack_require__(8249);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
-      var module_compiled = __webpack_require__(7425);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/server/route-kind.js
-      var route_kind = __webpack_require__(3798);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/client/components/error-boundary.js
-      var error_boundary = __webpack_require__(0);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/server/app-render/entry-base.js + 26 modules
-      var entry_base = __webpack_require__(515); // ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-stats9yYGDw%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/server/web/globals.js
+      var globals = __webpack_require__(8091);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
+      var adapter = __webpack_require__(5759);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 84 modules
+      var render = __webpack_require__(7698);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 5 modules
+      var incremental_cache = __webpack_require__(888);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/server/app-render/app-render.js + 65 modules
+      var app_render = __webpack_require__(6653);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
+      var module_compiled = __webpack_require__(6801);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/server/route-kind.js
+      var route_kind = __webpack_require__(2310);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/client/components/error-boundary.js
+      var error_boundary = __webpack_require__(7824);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/server/app-render/entry-base.js + 26 modules
+      var entry_base = __webpack_require__(4531); // ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-stats9yYGDw%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
       const module0 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 9017)
+          __webpack_require__.bind(__webpack_require__, 6729)
         );
       const module1 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 4876)
+          __webpack_require__.bind(__webpack_require__, 6652)
         );
       const page2 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 2483)
+          __webpack_require__.bind(__webpack_require__, 1347)
         );
 
       // We inject the tree and pages here so that we can use them in the route
@@ -175,12 +175,12 @@
       });
 
       //# sourceMappingURL=app-page.js.map
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/lib/page-types.js
-      var page_types = __webpack_require__(8261);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/server/app-render/encryption-utils.js
-      var encryption_utils = __webpack_require__(148);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/esm/server/app-render/action-utils.js
-      var action_utils = __webpack_require__(1703); // ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?{"absolute500Path":"","absoluteAppPath":"next/dist/pages/_app","absoluteDocumentPath":"next/dist/pages/_document","absoluteErrorPath":"next/dist/pages/_error","absolutePagePath":"private-next-app-dir/app-edge-ssr/page.js","dev":false,"isServerComponent":true,"page":"/app-edge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5kZW5jaWVzIjpmYWxzZSwiY29uZmlnRmlsZSI6Ii90bXAvbmV4dC1zdGF0czl5WUdEdy9zdGF0cy1hcHAvbmV4dC5jb25maWcuanMiLCJjb25maWdGaWxlTmFtZSI6Im5leHQuY29uZmlnLmpzIn0=","pagesType":"app","appDirLoader":"bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBwLWVkZ2Utc3NyJTJGcGFnZSZwYWdlPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcHAtZWRnZS1zc3IlMkZwYWdlLmpzJmFwcERpcj0lMkZ0bXAlMkZuZXh0LXN0YXRzOXlZR0R3JTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JmZseWluZ1NodXR0bGU9ZmFsc2UmcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30=","cacheHandlers":"{}"}!
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/lib/page-types.js
+      var page_types = __webpack_require__(9305);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/server/app-render/encryption-utils.js
+      var encryption_utils = __webpack_require__(9960);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/esm/server/app-render/action-utils.js
+      var action_utils = __webpack_require__(1339); // ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?{"absolute500Path":"","absoluteAppPath":"next/dist/pages/_app","absoluteDocumentPath":"next/dist/pages/_document","absoluteErrorPath":"next/dist/pages/_error","absolutePagePath":"private-next-app-dir/app-edge-ssr/page.js","dev":false,"isServerComponent":true,"page":"/app-edge-ssr/page","stringifiedConfig":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjYWNoZU1heE1lbW9yeVNpemUiOjUyNDI4ODAwLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5SGVhZGVyIjp0cnVlLCJjb21wcmVzcyI6dHJ1ZSwiaW1hZ2VzIjp7ImRldmljZVNpemVzIjpbNjQwLDc1MCw4MjgsMTA4MCwxMjAwLDE5MjAsMjA0OCwzODQwXSwiaW1hZ2VTaXplcyI6WzE2LDMyLDQ4LDY0LDk2LDEyOCwyNTYsMzg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mVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30=","cacheHandlers":"{}"}!
       var _self___RSC_MANIFEST;
 
       const incrementalCacheHandler = null;
@@ -464,105 +464,105 @@
       /***/
     },
 
-    /***/ 7770: /***/ (
+    /***/ 3961: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 4128)
+        __webpack_require__.bind(__webpack_require__, 6352)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 8426)
+        __webpack_require__.bind(__webpack_require__, 9658)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9292)
+        __webpack_require__.bind(__webpack_require__, 8300)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 0)
+        __webpack_require__.bind(__webpack_require__, 7824)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 4320)
+        __webpack_require__.bind(__webpack_require__, 9760)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 1891)
+        __webpack_require__.bind(__webpack_require__, 4675)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 1613)
+        __webpack_require__.bind(__webpack_require__, 9549)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 6744)
+        __webpack_require__.bind(__webpack_require__, 3720)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 274)
+        __webpack_require__.bind(__webpack_require__, 6274)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9665)
+        __webpack_require__.bind(__webpack_require__, 1777)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 2416)
+        __webpack_require__.bind(__webpack_require__, 5776)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 186)
+        __webpack_require__.bind(__webpack_require__, 6394)
       );
 
       /***/
     },
 
-    /***/ 9357: /***/ (
+    /***/ 4585: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 2353)
+        __webpack_require__.bind(__webpack_require__, 9501)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9170)
+        __webpack_require__.bind(__webpack_require__, 2374)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 5324)
+        __webpack_require__.bind(__webpack_require__, 6136)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 5872)
+        __webpack_require__.bind(__webpack_require__, 7548)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 2352)
+        __webpack_require__.bind(__webpack_require__, 6596)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 8043)
+        __webpack_require__.bind(__webpack_require__, 3871)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 7293)
+        __webpack_require__.bind(__webpack_require__, 2681)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 1743)
+        __webpack_require__.bind(__webpack_require__, 227)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 5690)
+        __webpack_require__.bind(__webpack_require__, 1430)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 8993)
+        __webpack_require__.bind(__webpack_require__, 2117)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 3344)
+        __webpack_require__.bind(__webpack_require__, 3636)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9922)
+        __webpack_require__.bind(__webpack_require__, 1654)
       );
 
       /***/
     },
 
-    /***/ 3630: /***/ () => {
+    /***/ 858: /***/ () => {
       /***/
     },
 
-    /***/ 5382: /***/ () => {
+    /***/ 1026: /***/ () => {
       /***/
     },
 
-    /***/ 2483: /***/ (
+    /***/ 1347: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -582,7 +582,7 @@
       /***/
     },
 
-    /***/ 9017: /***/ (
+    /***/ 6729: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -594,7 +594,7 @@
         /* harmony export */
       });
       /* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
-        __webpack_require__(3151);
+        __webpack_require__(7215);
 
       function RootLayout({ children }) {
         return /*#__PURE__*/ (0,
@@ -613,7 +613,7 @@
     // webpackRuntimeModules
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
-    /******/ __webpack_require__.O(0, [755, 224], () => __webpack_exec__(6133));
+    /******/ __webpack_require__.O(0, [551, 524], () => __webpack_exec__(9311));
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ (_ENTRIES = typeof _ENTRIES === "undefined" ? {} : _ENTRIES)[
       "middleware_app/app-edge-ssr/page"
Diff for middleware.js

Diff too large to display

Diff for edge-ssr.js

Diff too large to display

Diff for image-HASH.js
@@ -1,7 +1,7 @@
 (self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
   [2983],
   {
-    /***/ 8365: /***/ (
+    /***/ 2857: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/image",
         function () {
-          return __webpack_require__(1822);
+          return __webpack_require__(5604);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 9225: /***/ (module, exports, __webpack_require__) => {
+    /***/ 3541: /***/ (module, exports, __webpack_require__) => {
       "use strict";
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
@@ -40,17 +40,17 @@
         __webpack_require__(2661)
       );
       const _head = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1844)
+        __webpack_require__(2768)
       );
-      const _getimgprops = __webpack_require__(1581);
-      const _imageconfig = __webpack_require__(8016);
-      const _imageconfigcontextsharedruntime = __webpack_require__(1738);
-      const _warnonce = __webpack_require__(6648);
-      const _routercontextsharedruntime = __webpack_require__(5795);
+      const _getimgprops = __webpack_require__(4881);
+      const _imageconfig = __webpack_require__(7244);
+      const _imageconfigcontextsharedruntime = __webpack_require__(2454);
+      const _warnonce = __webpack_require__(3132);
+      const _routercontextsharedruntime = __webpack_require__(287);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(6113)
+        __webpack_require__(3421)
       );
-      const _usemergedref = __webpack_require__(6414);
+      const _usemergedref = __webpack_require__(9666);
       // This is replaced by webpack define plugin
       const configEnv = {
         deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
@@ -371,7 +371,7 @@
       /***/
     },
 
-    /***/ 6414: /***/ (module, exports, __webpack_require__) => {
+    /***/ 9666: /***/ (module, exports, __webpack_require__) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -432,7 +432,7 @@
       /***/
     },
 
-    /***/ 1581: /***/ (
+    /***/ 4881: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -448,9 +448,9 @@
           return getImgProps;
         },
       });
-      const _warnonce = __webpack_require__(6648);
-      const _imageblursvg = __webpack_require__(5668);
-      const _imageconfig = __webpack_require__(8016);
+      const _warnonce = __webpack_require__(3132);
+      const _imageblursvg = __webpack_require__(5848);
+      const _imageconfig = __webpack_require__(7244);
       const VALID_LOADING_VALUES =
         /* unused pure expression or super */ null && [
           "lazy",
@@ -824,7 +824,7 @@
       /***/
     },
 
-    /***/ 5668: /***/ (__unused_webpack_module, exports) => {
+    /***/ 5848: /***/ (__unused_webpack_module, exports) => {
       "use strict";
       /**
        * A shared function, used on both client and server, to generate a SVG blur placeholder.
@@ -879,7 +879,7 @@
       /***/
     },
 
-    /***/ 8281: /***/ (
+    /***/ 9037: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -906,10 +906,10 @@
         },
       });
       const _interop_require_default = __webpack_require__(1739);
-      const _getimgprops = __webpack_require__(1581);
-      const _imagecomponent = __webpack_require__(9225);
+      const _getimgprops = __webpack_require__(4881);
+      const _imagecomponent = __webpack_require__(3541);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(6113)
+        __webpack_require__(3421)
       );
       function getImageProps(imgProps) {
         const { props } = (0, _getimgprops.getImgProps)(imgProps, {
@@ -941,7 +941,7 @@
       /***/
     },
 
-    /***/ 6113: /***/ (__unused_webpack_module, exports) => {
+    /***/ 3421: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -976,7 +976,7 @@
       /***/
     },
 
-    /***/ 1822: /***/ (
+    /***/ 5604: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -993,8 +993,8 @@
 
       // EXTERNAL MODULE: ./node_modules/.pnpm/react@19.0.0-rc-7ac8e612-20241113/node_modules/react/jsx-runtime.js
       var jsx_runtime = __webpack_require__(2562);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_3sfwjfmge4lkz4wgirg2ycw75e/node_modules/next/image.js
-      var next_image = __webpack_require__(2296);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-7ac8e612-20241113_re_mjv5ppbvnbuqt2qzndemklet24/node_modules/next/image.js
+      var next_image = __webpack_require__(8380);
       var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // ./pages/nextjs.png
       /* harmony default export */ const nextjs = {
         src: "/_next/static/media/nextjs.cae0b805.png",
@@ -1024,12 +1024,12 @@
       /***/
     },
 
-    /***/ 2296: /***/ (
+    /***/ 8380: /***/ (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
-      module.exports = __webpack_require__(8281);
+      module.exports = __webpack_require__(9037);
 
       /***/
     },
@@ -1039,7 +1039,7 @@
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [636, 6593, 8792], () =>
-      __webpack_exec__(8365)
+      __webpack_exec__(2857)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Diff for 2891-HASH.js

Diff too large to display

Commit: 07b2628

@sokra sokra marked this pull request as ready for review November 13, 2024 12:01
@sokra sokra changed the title make issue ordering stable [Turbopack] make issue ordering stable Nov 13, 2024
@sokra sokra removed the CI Bypass Graphite Optimization Ignore Graphite CI optimizations, run the full CI suite. https://graphite.dev/docs/stacking-and-ci label Nov 13, 2024
Comment on lines 855 to 866
impl Ord for PlainSource {
fn cmp(&self, other: &Self) -> Ordering {
self.ident.cmp(&other.ident)
}
}

impl PartialOrd for PlainSource {
fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
Some(self.cmp(other))
}
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This violates the rules for PartialOrd in https://doc.rust-lang.org/std/cmp/trait.PartialOrd.html:

Screenshot 2024-11-13 at 2.43.07 PM.png

PartialOrd must match the behavior of PartialEq (currently derived by the turbo_tasks::value macro). Not doing so can subtly break collection types like BTreeSet that rely on these rules.

Because you don't really expect to have two instances of PlainSource with the same ident but different values of content I think a reasonable thing to do would be to use pointer equality for content:

  1. Expose an associated function on ReadRef to convert it into a pointer, with the same signature as std::sync::Arc::as_ptr (Note: triomphe::Arc::as_ptr wrongly uses a method, and not an associated function for this. That violates rust's API guidelines. We should follow the stdlib's lead here.)
  2. Compare the pointers here, and add a manual PartialEq/Eq implementation that uses ptr_eq on the content field.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a manual PartialEq/Eq implementation that uses ptr_eq on the content field.

That would still violate the PartialOrd PartialEq thing, since PartialOrd would say Equal when the content ptr is not equal.

We also can't compare pointers, since that would persistent caching as pointers will change after deserialisation.
Also note that something that has equal pointers might have different pointers after deserialisation.

I will just do a full compare on the content for PartialOrd to create matching implementations

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I derived PartialOrd, it should be much safer and more correct now...

@sokra sokra force-pushed the sokra/dispose-root-task branch 2 times, most recently from 9aa50cb to a258511 Compare November 13, 2024 20:08
@sokra sokra force-pushed the sokra/improve-issue-ordering branch 2 times, most recently from ad4e44e to bab2433 Compare November 13, 2024 20:46
@sokra sokra requested a review from bgw November 13, 2024 21:41
@sokra sokra changed the base branch from sokra/dispose-root-task to graphite-base/72751 November 14, 2024 00:17
@sokra sokra force-pushed the sokra/improve-issue-ordering branch from bab2433 to 6539b52 Compare November 14, 2024 00:18
@sokra sokra changed the base branch from graphite-base/72751 to canary November 14, 2024 00:18
@sokra sokra force-pushed the sokra/improve-issue-ordering branch from 6539b52 to 07b2628 Compare November 14, 2024 00:18
Copy link
Member

@bgw bgw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for going the distance and making this correct!

Hopefully these comparisons aren't too expensive because in most cases we'll bail out fairly quick with Ordering::Less or Ordering::Greater, or the Arc::ptr_eq optimization will work in most equal cases.


impl Eq for Rope {}

impl Ord for Rope {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some unit tests for equality at the bottom of this file. One or two unit tests for ordering (nothing fancy) would be nice.

@sokra sokra merged commit 8c1a880 into canary Nov 14, 2024
111 checks passed
Copy link
Member Author

sokra commented Nov 14, 2024

Merge activity

  • Nov 14, 5:32 PM EST: A user merged this pull request with Graphite.

@sokra sokra deleted the sokra/improve-issue-ordering branch November 14, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
created-by: Turbopack team PRs by the Turbopack team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants