-
Notifications
You must be signed in to change notification settings - Fork 27.8k
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
Revert "[Turbopack] Production Chunking" #75097
Conversation
This reverts commit 169829a.
Issue reopened: PACK-3767 [Turbopack] Production Chunking |
Failing test suitesCommit: 1dd04ba
Expand output● app dir - with output export and custom distDir (next dev) › should render properly
Read more about building and testing Next.js in contributing.md.
Expand output● app-dynamic-error › production mode › throws an error when prerendering a page with config dynamic error
Read more about building and testing Next.js in contributing.md.
Expand output● experimental-lightningcss › should support css modules
Read more about building and testing Next.js in contributing.md.
Expand output● build trace with extra entries › production mode › should build and trace correctly
Read more about building and testing Next.js in contributing.md.
Expand output● next/dynamic with assetPrefix › development mode › should load a App Router page correctly
Read more about building and testing Next.js in contributing.md.
Expand output● app dir - validation › should error when passing invalid router state tree
Read more about building and testing Next.js in contributing.md.
Expand output● Error overlay - RSC build errors › Skipped in webpack › should handle successive HMR changes with errors correctly
Read more about building and testing Next.js in contributing.md.
Expand output● App assetPrefix config › should render correctly with assetPrefix: "/"
Read more about building and testing Next.js in contributing.md.
Expand output● dev-fetch-hmr › should retain module level fetch patching
Read more about building and testing Next.js in contributing.md.
Expand output● app-dir action allowed origins › should pass if localhost is set as a safe origin
Read more about building and testing Next.js in contributing.md.
Expand output● app-dir assetPrefix full URL › should not break HMR when asset prefix set to full URL
Read more about building and testing Next.js in contributing.md.
Expand output● app-dir - invalid-element-type › should catch invalid element from a browser only component
● app-dir - invalid-element-type › should catch invalid element from a browser only component
● app-dir - invalid-element-type › should catch invalid element from a rsc component
● app-dir - invalid-element-type › should catch invalid element from a rsc component
● app-dir - invalid-element-type › should catch invalid element from on ssr client component
● app-dir - invalid-element-type › should catch invalid element from on ssr client component
Read more about building and testing Next.js in contributing.md.
Expand output● app dir › Loading › should render loading.js in initial html for slow page
Read more about building and testing Next.js in contributing.md.
Expand output● app-dir - dynamic in generate params › should render sitemap with generateSitemaps in force-dynamic config dynamically
● app-dir - dynamic in generate params › should be able to call while generating multiple dynamic sitemaps
● app-dir - dynamic in generate params › should be able to call fetch while generating multiple dynamic pages
Read more about building and testing Next.js in contributing.md.
Expand output● app dir rendering › should serve app/page.server.js at /
● app dir rendering › SSR only › should run data in layout and page
● app dir rendering › SSR only › should run data fetch in parallel
● app dir rendering › static only › should run data in layout and page
● app dir rendering › static only › should run data in parallel and use cached version for production
● app dir rendering › ISR › should revalidate the page when revalidate is configured
● app dir rendering › mixed static and dynamic › should generate static data during build and use it
Read more about building and testing Next.js in contributing.md.
Expand output● app dir - basepath › should successfully hard navigate from pages -> app
● app dir - basepath › should support
● app dir - basepath › should support Link with basePath prefixed
● app dir - basepath › should prefix metadata og image with basePath
● app dir - basepath › should prefix redirect() with basePath
● app dir - basepath › should render usePathname without the basePath
● app dir - basepath › should handle redirect in dynamic in suspense boundary routes with basePath
● app dir - basepath › should only make a single RSC call to the current page (/base/refresh)
● app dir - basepath › should only make a single RSC call to the current page (/base/refresh?foo=bar)
● app dir - basepath › should properly stream an internal server action redirect() with a relative URL
● app dir - basepath › should properly stream an internal server action redirect() with a absolute URL
● app dir - basepath › should redirect externally when encountering absolute URLs on the same host outside the basePath
Read more about building and testing Next.js in contributing.md.
Expand output● hmr-deleted-page › should not show errors for a deleted page
Read more about building and testing Next.js in contributing.md.
Expand output● app-simple-routes › works with simple routes › renders a node route
Read more about building and testing Next.js in contributing.md.
Expand output● _allow-underscored-root-directory › should not serve app path with underscore
● _allow-underscored-root-directory › should pages path with a underscore at the root
● _allow-underscored-root-directory › should serve app path with %5F
Read more about building and testing Next.js in contributing.md.
Expand output● next/dynamic › development mode › should load a App Router page correctly
Read more about building and testing Next.js in contributing.md.
Expand output● basic app-dir tests › should reload app pages without error
Read more about building and testing Next.js in contributing.md.
Expand output● babel-next-image › should work with babel and next/image
Read more about building and testing Next.js in contributing.md.
Expand output● dynamic-requests warnings › warnings on sync cookie access
● dynamic-requests warnings › warnings on sync draftMode access
● dynamic-requests warnings › warnings on sync headers access
● dynamic-requests warnings › warnings on sync params access
● dynamic-requests warnings › warnings on sync searchParams access
Read more about building and testing Next.js in contributing.md.
Expand output● dynamic metadata error › should error when id is missing in generateImageMetadata
● dynamic metadata error › should error when id is missing in generateSitemaps
● dynamic metadata error › should error if the default export of dynamic image is missing
Read more about building and testing Next.js in contributing.md.
Expand output● Root Catch-all Cache › production mode › should cache / correctly
Read more about building and testing Next.js in contributing.md.
Expand output● Error overlay - RSC runtime errors › should show runtime errors if invalid client API from node_modules is executed
● Error overlay - RSC runtime errors › should show runtime errors if invalid server API from node_modules is executed
● Error overlay - RSC runtime errors › should show source code for jsx errors from server component
● Error overlay - RSC runtime errors › should show the userland code error trace when fetch failed error occurred
● Error overlay - RSC runtime errors › should not show the bundle layer info in the file trace
Read more about building and testing Next.js in contributing.md.
Expand output● Image localPatterns config › development mode › should load matching images
● Image localPatterns config › development mode › should block unmatched image does-not-exist
● Image localPatterns config › development mode › should block unmatched image nested-assets-query
● Image localPatterns config › development mode › should block unmatched image nested-blocked
● Image localPatterns config › development mode › should block unmatched image top-level
● Image localPatterns config › production mode › should load matching images
● Image localPatterns config › production mode › should block unmatched image does-not-exist
● Image localPatterns config › production mode › should block unmatched image nested-assets-query
● Image localPatterns config › production mode › should block unmatched image nested-blocked
● Image localPatterns config › production mode › should block unmatched image top-level
● Image localPatterns config › production mode › should build correct images-manifest.json
Read more about building and testing Next.js in contributing.md.
Expand output● Static Image Component Tests › production mode › Should allow an image with a static src to omit height and width
● Static Image Component Tests › production mode › Should use immutable cache-control header for static import
● Static Image Component Tests › production mode › Should use immutable cache-control header even when unoptimized
● Static Image Component Tests › production mode › should have containing followed by for priority image
● Static Image Component Tests › production mode › Should automatically provide an image height and width
● Static Image Component Tests › production mode › should use width and height prop to override import
● Static Image Component Tests › production mode › should use height prop to adjust both width and height
● Static Image Component Tests › production mode › should use width prop to adjust both width and height
● Static Image Component Tests › production mode › should add a data URL placeholder to an image
● Static Image Component Tests › production mode › should add a blur placeholder a statically imported jpg
● Static Image Component Tests › production mode › should add a blur placeholder a statically imported png
● Static Image Component Tests › production mode › should add a blur placeholder a statically imported png with fill
● Static Image Component Tests › production mode › should add placeholder with blurDataURL and fill
● Static Image Component Tests › production mode › should add placeholder even when blurDataURL aspect ratio does not match width/height ratio
● Static Image Component Tests › production mode › should load direct imported image
Read more about building and testing Next.js in contributing.md.
Expand output● Image Component from node_modules development mode › should apply image config for node_modules
Read more about building and testing Next.js in contributing.md.
Expand output● app dir - with output export - dynamic api route prod › production mode › should work in prod with dynamicPage undefined
● app dir - with output export - dynamic api route prod › production mode › should work in prod with dynamicPage 'error'
● app dir - with output export - dynamic api route prod › production mode › should work in prod with dynamicPage 'force-static'
● app dir - with output export - dynamic api route prod › production mode › should work in prod with dynamicPage 'force-dynamic'
Read more about building and testing Next.js in contributing.md.
Expand output● app dir - with output export - trailing slash dev › development mode › should work in dev with trailingSlash 'false'
● app dir - with output export - trailing slash dev › development mode › should work in dev with trailingSlash 'true'
Read more about building and testing Next.js in contributing.md.
Expand output● Invalid hrefs › development mode › should not have a race condition with a click handler
● Invalid hrefs › development mode › should not show error for function component with forwardRef
● Invalid hrefs › development mode › should not show error for class component as child of next/link
● Invalid hrefs › development mode › should handle child ref with React.createRef
● Invalid hrefs › development mode › should handle child ref that is a function
● Invalid hrefs › development mode › should handle child ref that is a function that returns a cleanup function
Read more about building and testing Next.js in contributing.md. |
Reverts #75010
Closes PACK-3769