[15.x] Default deploy e2e tests to the repo next version - #96899
Conversation
Backports #96895 to `next-15-5`, adapted to this branch's layout (a single `test-deploy` job and no adapter jobs). This branch had the underlying bug in full: `test-deploy` resolved `NEXT_TEST_VERSION` as `github.event.inputs.nextVersion || 'canary'`, so release runs always installed `canary` and ignored the released version. The `nextVersion` input loses its `default: canary`, the setup job now resolves and logs the version to test (the dispatch input when provided, otherwise the version checked into `packages/next/package.json`), and `test-deploy` consumes the setup job's output. The run name shows the release tag for release runs under the documented assumption that the tag matches the checked-in version.
Failing test suitesCommit: 1ff441f | About building and testing Next.js
Expand output● Prerender › should navigate between pages successfully ● Prerender › should SSR normal page correctly ● Prerender › should SSR incremental page correctly ● Prerender › should SSR blocking path correctly (blocking) ● Prerender › should SSR blocking path correctly (pre-rendered) ● Prerender › should have gsp in NEXT_DATA ● Prerender › should not have gsp in NEXT_DATA for non-GSP page ● Prerender › should not supply query values to params or useRouter non-dynamic page SSR ● Prerender › should not supply query values to params in /_next/data request ● Prerender › should not supply query values to params or useRouter dynamic page SSR ● Prerender › should return data correctly ● Prerender › should return data correctly for dynamic page ● Prerender › should return data correctly for dynamic page (non-seeded) ● Prerender › should navigate to a normal page and back ● Prerender › should parse query values on mount correctly ● Prerender › should reload page on failed data request ● Prerender › should SSR dynamic page with brackets in param as object ● Prerender › should navigate to dynamic page with brackets in param as object ... truncated ... |
Backports #96895 to
next-15-5, adapted to this branch's layout (a singletest-deployjob, no adapter jobs). This branch had a bug wheretest-deployresolvedNEXT_TEST_VERSIONasgithub.event.inputs.nextVersion || 'canary', so release runs always installedcanaryand ignored the released version.