Repository: vercel/next.js
Pull request: [ci]: fix app-static snapshots with clientSegmentCache

More things that are only broken because we assert on `.next` files. Updates snapshots and removes the failing tests from the clientSegmentCache manifest.

Changed files:
filename: test/client-segment-cache-tests-manifest.json
patch: @@ -38,16 +38,6 @@
         "app dir - prefetching should not unintentionally modify the requested prefetch by escaping the uri encoded query params"
       ]
     },
-    "test/e2e/app-dir/app-static/app-static-custom-handler.test.ts": {
-      "failed": [
-        "app-dir static/dynamic handling should output HTML/RSC files for static paths"
-      ]
-    },
-    "test/e2e/app-dir/app-static/app-static.test.ts": {
-      "failed": [
-        "app-dir static/dynamic handling should output HTML/RSC files for static paths"
-      ]
-    },
     "test/e2e/app-dir/navigation/navigation.test.ts": {
       "failed": [
         "app dir - navigation middleware redirect should change browser location when router.refresh() gets a redirect response"

filename: test/e2e/app-dir/app-static/app-static.test.ts
patch: @@ -815,120 +815,528 @@ describe('app-dir static/dynamic handling', () => {
           )
         })
 
-      expect(files.sort()).toMatchInlineSnapshot(`
-       [
-         "_not-found.html",
-         "_not-found.rsc",
-         "articles/works.html",
-         "articles/works.rsc",
-         "blog/seb.html",
-         "blog/seb.rsc",
-         "blog/seb/second-post.html",
-         "blog/seb/second-post.rsc",
-         "blog/styfle.html",
-         "blog/styfle.rsc",
-         "blog/styfle/first-post.html",
-         "blog/styfle/first-post.rsc",
-         "blog/styfle/second-post.html",
-         "blog/styfle/second-post.rsc",
-         "blog/tim.html",
-         "blog/tim.rsc",
-         "blog/tim/first-post.html",
-         "blog/tim/first-post.rsc",
-         "default-config-fetch.html",
-         "default-config-fetch.rsc",
-         "force-cache.html",
-         "force-cache.rsc",
-         "force-static-fetch-no-store.html",
-         "force-static-fetch-no-store.rsc",
-         "force-static/first.html",
-         "force-static/first.rsc",
-         "force-static/second.html",
-         "force-static/second.rsc",
-         "gen-params-catch-all-unique/foo/bar.html",
-         "gen-params-catch-all-unique/foo/bar.rsc",
-         "gen-params-catch-all-unique/foo/foo.html",
-         "gen-params-catch-all-unique/foo/foo.rsc",
-         "gen-params-dynamic-revalidate/one.html",
-         "gen-params-dynamic-revalidate/one.rsc",
-         "hooks/use-pathname/slug.html",
-         "hooks/use-pathname/slug.rsc",
-         "hooks/use-search-params/force-static.html",
-         "hooks/use-search-params/force-static.rsc",
-         "hooks/use-search-params/with-suspense.html",
-         "hooks/use-search-params/with-suspense.rsc",
-         "index.html",
-         "index.rsc",
-         "isr-error-handling.html",
-         "isr-error-handling.rsc",
-         "no-config-fetch.html",
-         "no-config-fetch.rsc",
-         "no-store/static.html",
-         "no-store/static.rsc",
-         "partial-gen-params-no-additional-lang/en/RAND.html",
-         "partial-gen-params-no-additional-lang/en/RAND.rsc",
-         "partial-gen-params-no-additional-lang/en/first.html",
-         "partial-gen-params-no-additional-lang/en/first.rsc",
-         "partial-gen-params-no-additional-lang/en/second.html",
-         "partial-gen-params-no-additional-lang/en/second.rsc",
-         "partial-gen-params-no-additional-lang/fr/RAND.html",
-         "partial-gen-params-no-additional-lang/fr/RAND.rsc",
-         "partial-gen-params-no-additional-lang/fr/first.html",
-         "partial-gen-params-no-additional-lang/fr/first.rsc",
-         "partial-gen-params-no-additional-lang/fr/second.html",
-         "partial-gen-params-no-additional-lang/fr/second.rsc",
-         "partial-gen-params-no-additional-slug/en/RAND.html",
-         "partial-gen-params-no-additional-slug/en/RAND.rsc",
-         "partial-gen-params-no-additional-slug/en/first.html",
-         "partial-gen-params-no-additional-slug/en/first.rsc",
-         "partial-gen-params-no-additional-slug/en/second.html",
-         "partial-gen-params-no-additional-slug/en/second.rsc",
-         "partial-gen-params-no-additional-slug/fr/RAND.html",
-         "partial-gen-params-no-additional-slug/fr/RAND.rsc",
-         "partial-gen-params-no-additional-slug/fr/first.html",
-         "partial-gen-params-no-additional-slug/fr/first.rsc",
-         "partial-gen-params-no-additional-slug/fr/second.html",
-         "partial-gen-params-no-additional-slug/fr/second.rsc",
-         "partial-params-false/en/static.html",
-         "partial-params-false/en/static.rsc",
-         "partial-params-false/fr/static.html",
-         "partial-params-false/fr/static.rsc",
-         "prerendered-not-found/first.html",
-         "prerendered-not-found/first.rsc",
-         "prerendered-not-found/second.html",
-         "prerendered-not-found/second.rsc",
-         "prerendered-not-found/segment-revalidate.html",
-         "prerendered-not-found/segment-revalidate.rsc",
-         "ssg-draft-mode.html",
-         "ssg-draft-mode.rsc",
-         "ssg-draft-mode/test-2.html",
-         "ssg-draft-mode/test-2.rsc",
-         "ssg-draft-mode/test.html",
-         "ssg-draft-mode/test.rsc",
-         "strip-w3c-trace-context-headers.html",
-         "strip-w3c-trace-context-headers.rsc",
-         "unstable-cache/fetch/no-cache.html",
-         "unstable-cache/fetch/no-cache.rsc",
-         "unstable-cache/fetch/no-store.html",
-         "unstable-cache/fetch/no-store.rsc",
-         "variable-config-revalidate/revalidate-3.html",
-         "variable-config-revalidate/revalidate-3.rsc",
-         "variable-revalidate-stable/revalidate-3.html",
-         "variable-revalidate-stable/revalidate-3.rsc",
-         "variable-revalidate/authorization.html",
-         "variable-revalidate/authorization.rsc",
-         "variable-revalidate/cookie.html",
-         "variable-revalidate/cookie.rsc",
-         "variable-revalidate/encoding.html",
-         "variable-revalidate/encoding.rsc",
-         "variable-revalidate/headers-instance.html",
-         "variable-revalidate/headers-instance.rsc",
-         "variable-revalidate/revalidate-3.html",
-         "variable-revalidate/revalidate-3.rsc",
-         "variable-revalidate/revalidate-360-isr.html",
-         "variable-revalidate/revalidate-360-isr.rsc",
-       ]
-      `)
+      if (process.env.__NEXT_EXPERIMENTAL_CLIENT_SEGMENT_CACHE) {
+        expect(files.sort()).toMatchInlineSnapshot(`
+         [
+           "_not-found.html",
+           "_not-found.rsc",
+           "_not-found.segments/_index.segment.rsc",
+           "_not-found.segments/_not-found.segment.rsc",
+           "_not-found.segments/_not-found/__PAGE__.segment.rsc",
+           "_not-found.segments/_tree.segment.rsc",
+           "articles/works.html",
+           "articles/works.rsc",
+           "articles/works.segments/_index.segment.rsc",
+           "articles/works.segments/_tree.segment.rsc",
+           "articles/works.segments/articles.segment.rsc",
+           "articles/works.segments/articles/$d$slug.segment.rsc",
+           "articles/works.segments/articles/$d$slug/__PAGE__.segment.rsc",
+           "blog/seb.html",
+           "blog/seb.rsc",
+           "blog/seb.segments/_index.segment.rsc",
+           "blog/seb.segments/_tree.segment.rsc",
+           "blog/seb.segments/blog.segment.rsc",
+           "blog/seb.segments/blog/$d$author.segment.rsc",
+           "blog/seb.segments/blog/$d$author/__PAGE__.segment.rsc",
+           "blog/seb/second-post.html",
+           "blog/seb/second-post.rsc",
+           "blog/seb/second-post.segments/_index.segment.rsc",
+           "blog/seb/second-post.segments/_tree.segment.rsc",
+           "blog/seb/second-post.segments/blog.segment.rsc",
+           "blog/seb/second-post.segments/blog/$d$author.segment.rsc",
+           "blog/seb/second-post.segments/blog/$d$author/$d$slug.segment.rsc",
+           "blog/seb/second-post.segments/blog/$d$author/$d$slug/__PAGE__.segment.rsc",
+           "blog/styfle.html",
+           "blog/styfle.rsc",
+           "blog/styfle.segments/_index.segment.rsc",
+           "blog/styfle.segments/_tree.segment.rsc",
+           "blog/styfle.segments/blog.segment.rsc",
+           "blog/styfle.segments/blog/$d$author.segment.rsc",
+           "blog/styfle.segments/blog/$d$author/__PAGE__.segment.rsc",
+           "blog/styfle/first-post.html",
+           "blog/styfle/first-post.rsc",
+           "blog/styfle/first-post.segments/_index.segment.rsc",
+           "blog/styfle/first-post.segments/_tree.segment.rsc",
+           "blog/styfle/first-post.segments/blog.segment.rsc",
+           "blog/styfle/first-post.segments/blog/$d$author.segment.rsc",
+           "blog/styfle/first-post.segments/blog/$d$author/$d$slug.segment.rsc",
+           "blog/styfle/first-post.segments/blog/$d$author/$d$slug/__PAGE__.segment.rsc",
+           "blog/styfle/second-post.html",
+           "blog/styfle/second-post.rsc",
+           "blog/styfle/second-post.segments/_index.segment.rsc",
+           "blog/styfle/second-post.segments/_tree.segment.rsc",
+           "blog/styfle/second-post.segments/blog.segment.rsc",
+           "blog/styfle/second-post.segments/blog/$d$author.segment.rsc",
+           "blog/styfle/second-post.segments/blog/$d$author/$d$slug.segment.rsc",
+           "blog/styfle/second-post.segments/blog/$d$author/$d$slug/__PAGE__.segment.rsc",
+           "blog/tim.html",
+           "blog/tim.rsc",
+           "blog/tim.segments/_index.segment.rsc",
+           "blog/tim.segments/_tree.segment.rsc",
+           "blog/tim.segments/blog.segment.rsc",
+           "blog/tim.segments/blog/$d$author.segment.rsc",
+           "blog/tim.segments/blog/$d$author/__PAGE__.segment.rsc",
+           "blog/tim/first-post.html",
+           "blog/tim/first-post.rsc",
+           "blog/tim/first-post.segments/_index.segment.rsc",
+           "blog/tim/first-post.segments/_tree.segment.rsc",
+           "blog/tim/first-post.segments/blog.segment.rsc",
+           "blog/tim/first-post.segments/blog/$d$author.segment.rsc",
+           "blog/tim/first-post.segments/blog/$d$author/$d$slug.segment.rsc",
+           "blog/tim/first-post.segments/blog/$d$author/$d$slug/__PAGE__.segment.rsc",
+           "default-config-fetch.html",
+           "default-config-fetch.rsc",
+           "default-config-fetch.segments/!KG5ldyk.segment.rsc",
+           "default-config-fetch.segments/!KG5ldyk/default-config-fetch.segment.rsc",
+           "default-config-fetch.segments/!KG5ldyk/default-config-fetch/__PAGE__.segment.rsc",
+           "default-config-fetch.segments/_index.segment.rsc",
+           "default-config-fetch.segments/_tree.segment.rsc",
+           "force-cache.html",
+           "force-cache.rsc",
+           "force-cache.segments/_index.segment.rsc",
+           "force-cache.segments/_tree.segment.rsc",
+           "force-cache.segments/force-cache.segment.rsc",
+           "force-cache.segments/force-cache/__PAGE__.segment.rsc",
+           "force-static-fetch-no-store.html",
+           "force-static-fetch-no-store.rsc",
+           "force-static-fetch-no-store.segments/_index.segment.rsc",
+           "force-static-fetch-no-store.segments/_tree.segment.rsc",
+           "force-static-fetch-no-store.segments/force-static-fetch-no-store.segment.rsc",
+           "force-static-fetch-no-store.segments/force-static-fetch-no-store/__PAGE__.segment.rsc",
+           "force-static/first.html",
+           "force-static/first.rsc",
+           "force-static/first.segments/_index.segment.rsc",
+           "force-static/first.segments/_tree.segment.rsc",
+           "force-static/first.segments/force-static.segment.rsc",
+           "force-static/first.segments/force-static/$d$slug.segment.rsc",
+           "force-static/first.segments/force-static/$d$slug/__PAGE__.segment.rsc",
+           "force-static/second.html",
+           "force-static/second.rsc",
+           "force-static/second.segments/_index.segment.rsc",
+           "force-static/second.segments/_tree.segment.rsc",
+           "force-static/second.segments/force-static.segment.rsc",
+           "force-static/second.segments/force-static/$d$slug.segment.rsc",
+           "force-static/second.segments/force-static/$d$slug/__PAGE__.segment.rsc",
+           "gen-params-catch-all-unique/foo/bar.html",
+           "gen-params-catch-all-unique/foo/bar.rsc",
+           "gen-params-catch-all-unique/foo/bar.segments/_index.segment.rsc",
+           "gen-params-catch-all-unique/foo/bar.segments/_tree.segment.rsc",
+           "gen-params-catch-all-unique/foo/bar.segments/gen-params-catch-all-unique.segment.rsc",
+           "gen-params-catch-all-unique/foo/bar.segments/gen-params-catch-all-unique/$c$slug.segment.rsc",
+           "gen-params-catch-all-unique/foo/bar.segments/gen-params-catch-all-unique/$c$slug/__PAGE__.segment.rsc",
+           "gen-params-catch-all-unique/foo/foo.html",
+           "gen-params-catch-all-unique/foo/foo.rsc",
+           "gen-params-catch-all-unique/foo/foo.segments/_index.segment.rsc",
+           "gen-params-catch-all-unique/foo/foo.segments/_tree.segment.rsc",
+           "gen-params-catch-all-unique/foo/foo.segments/gen-params-catch-all-unique.segment.rsc",
+           "gen-params-catch-all-unique/foo/foo.segments/gen-params-catch-all-unique/$c$slug.segment.rsc",
+           "gen-params-catch-all-unique/foo/foo.segments/gen-params-catch-all-unique/$c$slug/__PAGE__.segment.rsc",
+           "gen-params-dynamic-revalidate/one.html",
+           "gen-params-dynamic-revalidate/one.rsc",
+           "gen-params-dynamic-revalidate/one.segments/_index.segment.rsc",
+           "gen-params-dynamic-revalidate/one.segments/_tree.segment.rsc",
+           "gen-params-dynamic-revalidate/one.segments/gen-params-dynamic-revalidate.segment.rsc",
+           "gen-params-dynamic-revalidate/one.segments/gen-params-dynamic-revalidate/$d$slug.segment.rsc",
+           "gen-params-dynamic-revalidate/one.segments/gen-params-dynamic-revalidate/$d$slug/__PAGE__.segment.rsc",
+           "hooks/use-pathname/slug.html",
+           "hooks/use-pathname/slug.rsc",
+           "hooks/use-pathname/slug.segments/_index.segment.rsc",
+           "hooks/use-pathname/slug.segments/_tree.segment.rsc",
+           "hooks/use-pathname/slug.segments/hooks.segment.rsc",
+           "hooks/use-pathname/slug.segments/hooks/use-pathname.segment.rsc",
+           "hooks/use-pathname/slug.segments/hooks/use-pathname/$d$slug.segment.rsc",
+           "hooks/use-pathname/slug.segments/hooks/use-pathname/$d$slug/__PAGE__.segment.rsc",
+           "hooks/use-search-params/force-static.html",
+           "hooks/use-search-params/force-static.rsc",
+           "hooks/use-search-params/force-static.segments/_index.segment.rsc",
+           "hooks/use-search-params/force-static.segments/_tree.segment.rsc",
+           "hooks/use-search-params/force-static.segments/hooks.segment.rsc",
+           "hooks/use-search-params/force-static.segments/hooks/use-search-params.segment.rsc",
+           "hooks/use-search-params/force-static.segments/hooks/use-search-params/force-static.segment.rsc",
+           "hooks/use-search-params/force-static.segments/hooks/use-search-params/force-static/__PAGE__.segment.rsc",
+           "hooks/use-search-params/with-suspense.html",
+           "hooks/use-search-params/with-suspense.rsc",
+           "hooks/use-search-params/with-suspense.segments/_index.segment.rsc",
+           "hooks/use-search-params/with-suspense.segments/_tree.segment.rsc",
+           "hooks/use-search-params/with-suspense.segments/hooks.segment.rsc",
+           "hooks/use-search-params/with-suspense.segments/hooks/use-search-params.segment.rsc",
+           "hooks/use-search-params/with-suspense.segments/hooks/use-search-params/with-suspense.segment.rsc",
+           "hooks/use-search-params/with-suspense.segments/hooks/use-search-params/with-suspense/__PAGE__.segment.rsc",
+           "index.html",
+           "index.rsc",
+           "index.segments/__PAGE__.segment.rsc",
+           "index.segments/_index.segment.rsc",
+           "index.segments/_tree.segment.rsc",
+           "isr-error-handling.html",
+           "isr-error-handling.rsc",
+           "isr-error-handling.segments/_index.segment.rsc",
+           "isr-error-handling.segments/_tree.segment.rsc",
+           "isr-error-handling.segments/isr-error-handling.segment.rsc",
+           "isr-error-handling.segments/isr-error-handling/__PAGE__.segment.rsc",
+           "no-config-fetch.html",
+           "no-config-fetch.rsc",
+           "no-config-fetch.segments/!KG5ldyk.segment.rsc",
+           "no-config-fetch.segments/!KG5ldyk/no-config-fetch.segment.rsc",
+           "no-config-fetch.segments/!KG5ldyk/no-config-fetch/__PAGE__.segment.rsc",
+           "no-config-fetch.segments/_index.segment.rsc",
+           "no-config-fetch.segments/_tree.segment.rsc",
+           "no-store/static.html",
+           "no-store/static.rsc",
+           "no-store/static.segments/_index.segment.rsc",
+           "no-store/static.segments/_tree.segment.rsc",
+           "no-store/static.segments/no-store.segment.rsc",
+           "no-store/static.segments/no-store/static.segment.rsc",
+           "no-store/static.segments/no-store/static/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/RAND.html",
+           "partial-gen-params-no-additional-lang/en/RAND.rsc",
+           "partial-gen-params-no-additional-lang/en/RAND.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/RAND.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/RAND.segments/partial-gen-params-no-additional-lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/RAND.segments/partial-gen-params-no-additional-lang/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/RAND.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/RAND.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/first.html",
+           "partial-gen-params-no-additional-lang/en/first.rsc",
+           "partial-gen-params-no-additional-lang/en/first.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/first.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/first.segments/partial-gen-params-no-additional-lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/first.segments/partial-gen-params-no-additional-lang/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/first.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/first.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/second.html",
+           "partial-gen-params-no-additional-lang/en/second.rsc",
+           "partial-gen-params-no-additional-lang/en/second.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/second.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/second.segments/partial-gen-params-no-additional-lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/second.segments/partial-gen-params-no-additional-lang/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/second.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-lang/en/second.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/RAND.html",
+           "partial-gen-params-no-additional-lang/fr/RAND.rsc",
+           "partial-gen-params-no-additional-lang/fr/RAND.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/RAND.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/RAND.segments/partial-gen-params-no-additional-lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/RAND.segments/partial-gen-params-no-additional-lang/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/RAND.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/RAND.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/first.html",
+           "partial-gen-params-no-additional-lang/fr/first.rsc",
+           "partial-gen-params-no-additional-lang/fr/first.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/first.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/first.segments/partial-gen-params-no-additional-lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/first.segments/partial-gen-params-no-additional-lang/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/first.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/first.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/second.html",
+           "partial-gen-params-no-additional-lang/fr/second.rsc",
+           "partial-gen-params-no-additional-lang/fr/second.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/second.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/second.segments/partial-gen-params-no-additional-lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/second.segments/partial-gen-params-no-additional-lang/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/second.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-lang/fr/second.segments/partial-gen-params-no-additional-lang/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/RAND.html",
+           "partial-gen-params-no-additional-slug/en/RAND.rsc",
+           "partial-gen-params-no-additional-slug/en/RAND.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/RAND.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/RAND.segments/partial-gen-params-no-additional-slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/RAND.segments/partial-gen-params-no-additional-slug/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/RAND.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/RAND.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/first.html",
+           "partial-gen-params-no-additional-slug/en/first.rsc",
+           "partial-gen-params-no-additional-slug/en/first.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/first.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/first.segments/partial-gen-params-no-additional-slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/first.segments/partial-gen-params-no-additional-slug/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/first.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/first.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/second.html",
+           "partial-gen-params-no-additional-slug/en/second.rsc",
+           "partial-gen-params-no-additional-slug/en/second.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/second.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/second.segments/partial-gen-params-no-additional-slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/second.segments/partial-gen-params-no-additional-slug/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/second.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/en/second.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/RAND.html",
+           "partial-gen-params-no-additional-slug/fr/RAND.rsc",
+           "partial-gen-params-no-additional-slug/fr/RAND.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/RAND.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/RAND.segments/partial-gen-params-no-additional-slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/RAND.segments/partial-gen-params-no-additional-slug/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/RAND.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/RAND.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/first.html",
+           "partial-gen-params-no-additional-slug/fr/first.rsc",
+           "partial-gen-params-no-additional-slug/fr/first.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/first.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/first.segments/partial-gen-params-no-additional-slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/first.segments/partial-gen-params-no-additional-slug/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/first.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/first.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/second.html",
+           "partial-gen-params-no-additional-slug/fr/second.rsc",
+           "partial-gen-params-no-additional-slug/fr/second.segments/_index.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/second.segments/_tree.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/second.segments/partial-gen-params-no-additional-slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/second.segments/partial-gen-params-no-additional-slug/$d$lang.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/second.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug.segment.rsc",
+           "partial-gen-params-no-additional-slug/fr/second.segments/partial-gen-params-no-additional-slug/$d$lang/$d$slug/__PAGE__.segment.rsc",
+           "partial-params-false/en/static.html",
+           "partial-params-false/en/static.rsc",
+           "partial-params-false/en/static.segments/_index.segment.rsc",
+           "partial-params-false/en/static.segments/_tree.segment.rsc",
+           "partial-params-false/en/static.segments/partial-params-false.segment.rsc",
+           "partial-params-false/en/static.segments/partial-params-false/$d$locale.segment.rsc",
+           "partial-params-false/en/static.segments/partial-params-false/$d$locale/static.segment.rsc",
+           "partial-params-false/en/static.segments/partial-params-false/$d$locale/static/__PAGE__.segment.rsc",
+           "partial-params-false/fr/static.html",
+           "partial-params-false/fr/static.rsc",
+           "partial-params-false/fr/static.segments/_index.segment.rsc",
+           "partial-params-false/fr/static.segments/_tree.segment.rsc",
+           "partial-params-false/fr/static.segments/partial-params-false.segment.rsc",
+           "partial-params-false/fr/static.segments/partial-params-false/$d$locale.segment.rsc",
+           "partial-params-false/fr/static.segments/partial-params-false/$d$locale/static.segment.rsc",
+           "partial-params-false/fr/static.segments/partial-params-false/$d$locale/static/__PAGE__.segment.rsc",
+           "prerendered-not-found/first.html",
+           "prerendered-not-found/first.rsc",
+           "prerendered-not-found/first.segments/_index.segment.rsc",
+           "prerendered-not-found/first.segments/_tree.segment.rsc",
+           "prerendered-not-found/first.segments/prerendered-not-found.segment.rsc",
+           "prerendered-not-found/first.segments/prerendered-not-found/$d$slug.segment.rsc",
+           "prerendered-not-found/first.segments/prerendered-not-found/$d$slug/__PAGE__.segment.rsc",
+           "prerendered-not-found/second.html",
+           "prerendered-not-found/second.rsc",
+           "prerendered-not-found/second.segments/_index.segment.rsc",
+           "prerendered-not-found/second.segments/_tree.segment.rsc",
+           "prerendered-not-found/second.segments/prerendered-not-found.segment.rsc",
+           "prerendered-not-found/second.segments/prerendered-not-found/$d$slug.segment.rsc",
+           "prerendered-not-found/second.segments/prerendered-not-found/$d$slug/__PAGE__.segment.rsc",
+           "prerendered-not-found/segment-revalidate.html",
+           "prerendered-not-found/segment-revalidate.rsc",
+           "prerendered-not-found/segment-revalidate.segments/_index.segment.rsc",
+           "prerendered-not-found/segment-revalidate.segments/_tree.segment.rsc",
+           "prerendered-not-found/segment-revalidate.segments/prerendered-not-found.segment.rsc",
+           "prerendered-not-found/segment-revalidate.segments/prerendered-not-found/segment-revalidate.segment.rsc",
+           "prerendered-not-found/segment-revalidate.segments/prerendered-not-found/segment-revalidate/__PAGE__.segment.rsc",
+           "ssg-draft-mode.html",
+           "ssg-draft-mode.rsc",
+           "ssg-draft-mode.segments/_index.segment.rsc",
+           "ssg-draft-mode.segments/_tree.segment.rsc",
+           "ssg-draft-mode.segments/ssg-draft-mode.segment.rsc",
+           "ssg-draft-mode.segments/ssg-draft-mode/$oc$route.segment.rsc",
+           "ssg-draft-mode.segments/ssg-draft-mode/$oc$route/__PAGE__.segment.rsc",
+           "ssg-draft-mode/test-2.html",
+           "ssg-draft-mode/test-2.rsc",
+           "ssg-draft-mode/test-2.segments/_index.segment.rsc",
+           "ssg-draft-mode/test-2.segments/_tree.segment.rsc",
+           "ssg-draft-mode/test-2.segments/ssg-draft-mode.segment.rsc",
+           "ssg-draft-mode/test-2.segments/ssg-draft-mode/$oc$route.segment.rsc",
+           "ssg-draft-mode/test-2.segments/ssg-draft-mode/$oc$route/__PAGE__.segment.rsc",
+           "ssg-draft-mode/test.html",
+           "ssg-draft-mode/test.rsc",
+           "ssg-draft-mode/test.segments/_index.segment.rsc",
+           "ssg-draft-mode/test.segments/_tree.segment.rsc",
+           "ssg-draft-mode/test.segments/ssg-draft-mode.segment.rsc",
+           "ssg-draft-mode/test.segments/ssg-draft-mode/$oc$route.segment.rsc",
+           "ssg-draft-mode/test.segments/ssg-draft-mode/$oc$route/__PAGE__.segment.rsc",
+           "strip-w3c-trace-context-headers.html",
+           "strip-w3c-trace-context-headers.rsc",
+           "strip-w3c-trace-context-headers.segments/_index.segment.rsc",
+           "strip-w3c-trace-context-headers.segments/_tree.segment.rsc",
+           "strip-w3c-trace-context-headers.segments/strip-w3c-trace-context-headers.segment.rsc",
+           "strip-w3c-trace-context-headers.segments/strip-w3c-trace-context-headers/__PAGE__.segment.rsc",
+           "unstable-cache/fetch/no-cache.html",
+           "unstable-cache/fetch/no-cache.rsc",
+           "unstable-cache/fetch/no-cache.segments/_index.segment.rsc",
+           "unstable-cache/fetch/no-cache.segments/_tree.segment.rsc",
+           "unstable-cache/fetch/no-cache.segments/unstable-cache.segment.rsc",
+           "unstable-cache/fetch/no-cache.segments/unstable-cache/fetch.segment.rsc",
+           "unstable-cache/fetch/no-cache.segments/unstable-cache/fetch/no-cache.segment.rsc",
+           "unstable-cache/fetch/no-cache.segments/unstable-cache/fetch/no-cache/__PAGE__.segment.rsc",
+           "unstable-cache/fetch/no-store.html",
+           "unstable-cache/fetch/no-store.rsc",
+           "unstable-cache/fetch/no-store.segments/_index.segment.rsc",
+           "unstable-cache/fetch/no-store.segments/_tree.segment.rsc",
+           "unstable-cache/fetch/no-store.segments/unstable-cache.segment.rsc",
+           "unstable-cache/fetch/no-store.segments/unstable-cache/fetch.segment.rsc",
+           "unstable-cache/fetch/no-store.segments/unstable-cache/fetch/no-store.segment.rsc",
+           "unstable-cache/fetch/no-store.segments/unstable-cache/fetch/no-store/__PAGE__.segment.rsc",
+           "variable-config-revalidate/revalidate-3.html",
+           "variable-config-revalidate/revalidate-3.rsc",
+           "variable-config-revalidate/revalidate-3.segments/_index.segment.rsc",
+           "variable-config-revalidate/revalidate-3.segments/_tree.segment.rsc",
+           "variable-config-revalidate/revalidate-3.segments/variable-config-revalidate.segment.rsc",
+           "variable-config-revalidate/revalidate-3.segments/variable-config-revalidate/revalidate-3.segment.rsc",
+           "variable-config-revalidate/revalidate-3.segments/variable-config-revalidate/revalidate-3/__PAGE__.segment.rsc",
+           "variable-revalidate-stable/revalidate-3.html",
+           "variable-revalidate-stable/revalidate-3.rsc",
+           "variable-revalidate-stable/revalidate-3.segments/_index.segment.rsc",
+           "variable-revalidate-stable/revalidate-3.segments/_tree.segment.rsc",
+           "variable-revalidate-stable/revalidate-3.segments/variable-revalidate-stable.segment.rsc",
+           "variable-revalidate-stable/revalidate-3.segments/variable-revalidate-stable/revalidate-3.segment.rsc",
+           "variable-revalidate-stable/revalidate-3.segments/variable-revalidate-stable/revalidate-3/__PAGE__.segment.rsc",
+           "variable-revalidate/authorization.html",
+           "variable-revalidate/authorization.rsc",
+           "variable-revalidate/authorization.segments/_index.segment.rsc",
+           "variable-revalidate/authorization.segments/_tree.segment.rsc",
+           "variable-revalidate/authorization.segments/variable-revalidate.segment.rsc",
+           "variable-revalidate/authorization.segments/variable-revalidate/authorization.segment.rsc",
+           "variable-revalidate/authorization.segments/variable-revalidate/authorization/__PAGE__.segment.rsc",
+           "variable-revalidate/cookie.html",
+           "variable-revalidate/cookie.rsc",
+           "variable-revalidate/cookie.segments/_index.segment.rsc",
+           "variable-revalidate/cookie.segments/_tree.segment.rsc",
+           "variable-revalidate/cookie.segments/variable-revalidate.segment.rsc",
+           "variable-revalidate/cookie.segments/variable-revalidate/cookie.segment.rsc",
+           "variable-revalidate/cookie.segments/variable-revalidate/cookie/__PAGE__.segment.rsc",
+           "variable-revalidate/encoding.html",
+           "variable-revalidate/encoding.rsc",
+           "variable-revalidate/encoding.segments/_index.segment.rsc",
+           "variable-revalidate/encoding.segments/_tree.segment.rsc",
+           "variable-revalidate/encoding.segments/variable-revalidate.segment.rsc",
+           "variable-revalidate/encoding.segments/variable-revalidate/encoding.segment.rsc",
+           "variable-revalidate/encoding.segments/variable-revalidate/encoding/__PAGE__.segment.rsc",
+           "variable-revalidate/headers-instance.html",
+           "variable-revalidate/headers-instance.rsc",
+           "variable-revalidate/headers-instance.segments/_index.segment.rsc",
+           "variable-revalidate/headers-instance.segments/_tree.segment.rsc",
+           "variable-revalidate/headers-instance.segments/variable-revalidate.segment.rsc",
+           "variable-revalidate/headers-instance.segments/variable-revalidate/headers-instance.segment.rsc",
+           "variable-revalidate/headers-instance.segments/variable-revalidate/headers-instance/__PAGE__.segment.rsc",
+           "variable-revalidate/revalidate-3.html",
+           "variable-revalidate/revalidate-3.rsc",
+           "variable-revalidate/revalidate-3.segments/_index.segment.rsc",
+           "variable-revalidate/revalidate-3.segments/_tree.segment.rsc",
+           "variable-revalidate/revalidate-3.segments/variable-revalidate.segment.rsc",
+           "variable-revalidate/revalidate-3.segments/variable-revalidate/revalidate-3.segment.rsc",
+           "variable-revalidate/revalidate-3.segments/variable-revalidate/revalidate-3/__PAGE__.segment.rsc",
+           "variable-revalidate/revalidate-360-isr.html",
+           "variable-revalidate/revalidate-360-isr.rsc",
+           "variable-revalidate/revalidate-360-isr.segments/_index.segment.rsc",
+           "variable-revalidate/revalidate-360-isr.segments/_tree.segment.rsc",
+           "variable-revalidate/revalidate-360-isr.segments/variable-revalidate.segment.rsc",
+           "variable-revalidate/revalidate-360-isr.segments/variable-revalidate/revalidate-360-isr.segment.rsc",
+           "variable-revalidate/revalidate-360-isr.segments/variable-revalidate/revalidate-360-isr/__PAGE__.segment.rsc",
+         ]
+        `)
+      } else {
+        expect(files.sort()).toMatchInlineSnapshot(`
+                [
+                  "_not-found.html",
+                  "_not-found.rsc",
+                  "articles/works.html",
+                  "articles/works.rsc",
+                  "blog/seb.html",
+                  "blog/seb.rsc",
+                  "blog/seb/second-post.html",
+                  "blog/seb/second-post.rsc",
+                  "blog/styfle.html",
+                  "blog/styfle.rsc",
+                  "blog/styfle/first-post.html",
+                  "blog/styfle/first-post.rsc",
+                  "blog/styfle/second-post.html",
+                  "blog/styfle/second-post.rsc",
+                  "blog/tim.html",
+                  "blog/tim.rsc",
+                  "blog/tim/first-post.html",
+                  "blog/tim/first-post.rsc",
+                  "default-config-fetch.html",
+                  "default-config-fetch.rsc",
+                  "force-cache.html",
+                  "force-cache.rsc",
+                  "force-static-fetch-no-store.html",
+                  "force-static-fetch-no-store.rsc",
+                  "force-static/first.html",
+                  "force-static/first.rsc",
+                  "force-static/second.html",
+                  "force-static/second.rsc",
+                  "gen-params-catch-all-unique/foo/bar.html",
+                  "gen-params-catch-all-unique/foo/bar.rsc",
+                  "gen-params-catch-all-unique/foo/foo.html",
+                  "gen-params-catch-all-unique/foo/foo.rsc",
+                  "gen-params-dynamic-revalidate/one.html",
+                  "gen-params-dynamic-revalidate/one.rsc",
+                  "hooks/use-pathname/slug.html",
+                  "hooks/use-pathname/slug.rsc",
+                  "hooks/use-search-params/force-static.html",
+                  "hooks/use-search-params/force-static.rsc",
+                  "hooks/use-search-params/with-suspense.html",
+                  "hooks/use-search-params/with-suspense.rsc",
+                  "index.html",
+                  "index.rsc",
+                  "isr-error-handling.html",
+                  "isr-error-handling.rsc",
+                  "no-config-fetch.html",
+                  "no-config-fetch.rsc",
+                  "no-store/static.html",
+                  "no-store/static.rsc",
+                  "partial-gen-params-no-additional-lang/en/RAND.html",
+                  "partial-gen-params-no-additional-lang/en/RAND.rsc",
+                  "partial-gen-params-no-additional-lang/en/first.html",
+                  "partial-gen-params-no-additional-lang/en/first.rsc",
+                  "partial-gen-params-no-additional-lang/en/second.html",
+                  "partial-gen-params-no-additional-lang/en/second.rsc",
+                  "partial-gen-params-no-additional-lang/fr/RAND.html",
+                  "partial-gen-params-no-additional-lang/fr/RAND.rsc",
+                  "partial-gen-params-no-additional-lang/fr/first.html",
+                  "partial-gen-params-no-additional-lang/fr/first.rsc",
+                  "partial-gen-params-no-additional-lang/fr/second.html",
+                  "partial-gen-params-no-additional-lang/fr/second.rsc",
+                  "partial-gen-params-no-additional-slug/en/RAND.html",
+                  "partial-gen-params-no-additional-slug/en/RAND.rsc",
+                  "partial-gen-params-no-additional-slug/en/first.html",
+                  "partial-gen-params-no-additional-slug/en/first.rsc",
+                  "partial-gen-params-no-additional-slug/en/second.html",
+                  "partial-gen-params-no-additional-slug/en/second.rsc",
+                  "partial-gen-params-no-additional-slug/fr/RAND.html",
+                  "partial-gen-params-no-additional-slug/fr/RAND.rsc",
+                  "partial-gen-params-no-additional-slug/fr/first.html",
+                  "partial-gen-params-no-additional-slug/fr/first.rsc",
+                  "partial-gen-params-no-additional-slug/fr/second.html",
+                  "partial-gen-params-no-additional-slug/fr/second.rsc",
+                  "partial-params-false/en/static.html",
+                  "partial-params-false/en/static.rsc",
+                  "partial-params-false/fr/static.html",
+                  "partial-params-false/fr/static.rsc",
+                  "prerendered-not-found/first.html",
+                  "prerendered-not-found/first.rsc",
+                  "prerendered-not-found/second.html",
+                  "prerendered-not-found/second.rsc",
+                  "prerendered-not-found/segment-revalidate.html",
+                  "prerendered-not-found/segment-revalidate.rsc",
+                  "ssg-draft-mode.html",
+                  "ssg-draft-mode.rsc",
+                  "ssg-draft-mode/test-2.html",
+                  "ssg-draft-mode/test-2.rsc",
+                  "ssg-draft-mode/test.html",
+                  "ssg-draft-mode/test.rsc",
+                  "strip-w3c-trace-context-headers.html",
+                  "strip-w3c-trace-context-headers.rsc",
+                  "unstable-cache/fetch/no-cache.html",
+                  "unstable-cache/fetch/no-cache.rsc",
+                  "unstable-cache/fetch/no-store.html",
+                  "unstable-cache/fetch/no-store.rsc",
+                  "variable-config-revalidate/revalidate-3.html",
+                  "variable-config-revalidate/revalidate-3.rsc",
+                  "variable-revalidate-stable/revalidate-3.html",
+                  "variable-revalidate-stable/revalidate-3.rsc",
+                  "variable-revalidate/authorization.html",
+                  "variable-revalidate/authorization.rsc",
+                  "variable-revalidate/cookie.html",
+                  "variable-revalidate/cookie.rsc",
+                  "variable-revalidate/encoding.html",
+                  "variable-revalidate/encoding.rsc",
+                  "variable-revalidate/headers-instance.html",
+                  "variable-revalidate/headers-instance.rsc",
+                  "variable-revalidate/revalidate-3.html",
+                  "variable-revalidate/revalidate-3.rsc",
+                  "variable-revalidate/revalidate-360-isr.html",
+                  "variable-revalidate/revalidate-360-isr.rsc",
+                ]
+              `)
+      }
     })
 
     it('should have correct prerender-manifest entries', async () => {