test: enable deploy-excluded suites verified against deployments (#100484)
## Summary Removes the deploy exclusion from eight suites and one describe block that pass against real Vercel deployments: - `app-dir/next-font`: also drops its `@next/font: 'workspace:*'` dependency. Nothing has resolved `@next/font` since #65601 and the fixture only imports `next/font/local`, but the package is private, so CI deploy jobs failed with a 404 installing it from the preview tarballs. - `app-dir/self-importing-package` - `i18n-data-fetching-redirect/redirect` - `relay-graphql-swc-multi-project` (both `project-a` and `project-b`; the existing `isNextDeploy ? it.skip` on the generated-types check stays) - `ssg-dynamic-routes-404-page` - `switchable-runtime` - `trailingslash-with-rewrite` - `transpile-packages`: drops both in-file deploy early returns, including a stale one about React 17 - `next-image-legacy/default` Static Image Component Tests: a leftover gate that only preserved the sibling Build Error describe's old `skipDeployment` focus. It passed 7/7 in the deploy job of [run 36052929022](https://github.com/vercel/next.js/actions/runs/36052929022) (#99187, Sept 24); the sibling's own gate now also skips its hooks (#98169). Not re-run locally. Four of these (`next-font`, `self-importing-package`, `relay-graphql-swc-multi-project`, `ssg-dynamic-routes-404-page`) previously failed to deploy on npm install errors (`ERESOLVE` on the React canary peer, the `@next/font` tarball, the local `.tar` dependency), which #99192 fixed. The others had never run in a deploy job. ## Verification Ran locally with `NEXT_TEST_MODE=deploy` against this commit's local packages, with the same env as the "Test new and changed tests when deployed" jobs: - Turbopack + adapter: all eight passed (54–112s each). - Turbopack + adapter + Cache Components: the six selected by the Cache Components manifest passed (`next-font` and `switchable-runtime` are excluded there). - Webpack, legacy (non-adapter) deploy, as in the release workflow: all eight passed. - Not run: Turbopack legacy deploy (`NEXT_ENABLE_ADAPTER=0`); my account lacks deploy access to the Turbopack test team's project. <!-- NEXT_JS_LLM -->
Showing
Please
register
or
sign in
to comment