Skip to content

[ci] Default deploy e2e tests to the repo next version - #96895

Merged
eps1lon merged 3 commits into
canaryfrom
sebbie/08-07-default_deploy_e2e_tests_to_repo_version
Aug 7, 2026
Merged

[ci] Default deploy e2e tests to the repo next version#96895
eps1lon merged 3 commits into
canaryfrom
sebbie/08-07-default_deploy_e2e_tests_to_repo_version

Conversation

@eps1lon

@eps1lon eps1lon commented Aug 7, 2026

Copy link
Copy Markdown
Member

This is mostly just to remove some confusion and clean up unused default values in some places.

When you run on a backport branch or older tag, you probably never want to use canary and just the version at that point. Running on canary branch will implicitly use the latest @canary from NPM.

Since our setup job already checks for the version declared in the checkout, we should use that everywhere so that we only have to check a single place to be sure about what version is/will be used.

I'll backport this especially because it'll fix a bug in 15.x where we ignore the release tag.

The `nextVersion` workflow_dispatch input in `test_e2e_deploy_release.yml` declared `default: canary`, which conflicted with the version resolution added in #84840: since the input was always truthy for dispatch runs, the `needs.setup.outputs.next-version` fallback could never apply, so bare dispatches always tested `canary`. The input no longer has a default, so the tests install the `next` version extracted from `packages/next/package.json` unless someone explicitly enters a value in the dispatch form. The input description now documents that the field accepts anything installable by npm: a dist-tag like `canary`, an exact version like `16.2.4`, or a custom https tarball URL. The unreachable `|| 'canary'` fallbacks are removed from the job expressions, the adapter upload gate, and the run name, where the final operand is now the display label `repo version`.
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: 92be011

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Stats from current PR

✅ No significant changes detected

📊 All Metrics
📖 Metrics Glossary

Dev Server Metrics:

  • Listen = TCP port starts accepting connections
  • First Request = HTTP server returns successful response
  • Cold = Fresh build (no cache)
  • Warm = With cached build artifacts

Build Metrics:

  • Fresh = Clean build (no .next directory)
  • Cached = With existing .next directory

Change Thresholds:

  • Time: Changes < 50ms AND < 10%, OR < 2% are insignificant
  • Size: Changes < 1KB AND < 1% are insignificant
  • All other changes are flagged to catch regressions

⚡ Dev Server

Metric Canary PR Change Trend
Cold (Listen) 813ms 813ms ▁▁▁▁▁
Cold (Ready in log) 796ms 793ms ▁▁▂▁▁
Cold (First Request) 1.321s 1.333s ▁▁▂▁▁
Warm (Listen) 813ms 814ms ▁▁▁▁▁
Warm (Ready in log) 781ms 781ms ▁▁▂▁▁
Warm (First Request) 1.281s 1.279s ▇▇█▆▆
📦 Dev Server (Webpack) (Legacy)

📦 Dev Server (Webpack)

Metric Canary PR Change Trend
Cold (Listen) 813ms 814ms ▄▁▅▅▄
Cold (Ready in log) 803ms 808ms ▃▁▇▄▃
Cold (First Request) 3.460s 3.513s ▂▁▅▄▄
Warm (Listen) 813ms 813ms ▄▁▅▅▅
Warm (Ready in log) 797ms 809ms ▃▁▆▅▄
Warm (First Request) 3.481s 3.515s ▂▁▅▆▃

⚡ Production Builds

Metric Canary PR Change Trend
Fresh Build 5.852s 5.930s ▂▁▃▁▂
Cached Build 2.962s 2.948s ▁▁▃▁▁
📦 Production Builds (Webpack) (Legacy)

📦 Production Builds (Webpack)

Metric Canary PR Change Trend
Fresh Build 25.529s 25.458s ▃▁█▇▂
Cached Build 25.715s 25.514s ▂▁▇▃▂
node_modules Size 553 MB 553 MB █▁▁▁▁
📦 Bundle Sizes

Bundle Sizes

⚡ Turbopack

Client

Main Bundles
Canary PR Change
06bwjz_-4znb-.js gzip 154 B N/A -
07jdby0ue616s.js gzip 450 B N/A -
0cz1d0mv5g_q7.js gzip 39.4 kB 39.4 kB
0im0vz0lo815s.js gzip 8.77 kB N/A -
0l54qj3-79a7-.js gzip 162 B N/A -
0qa98wh5-vacg.js gzip 160 B N/A -
1-jrl0bfay5va.js gzip 157 B N/A -
133405p6ewydx.js gzip 10 kB N/A -
17p50_vq5-xc5.js gzip 8.71 kB N/A -
19xzn89g-pvj8.js gzip 9.45 kB N/A -
1elt1qium-r2m.css gzip 115 B 115 B
1ey-k8tr3q-bs.js gzip 10.6 kB N/A -
1p6ukk737nprf.js gzip 156 B N/A -
1q6ufgdgm0nh1.js gzip 157 B N/A -
1tf1phijqlx9j.js gzip 220 B 220 B
1wd1e9uuc4euy.js gzip 8.76 kB N/A -
1x8o4qqktz5ba.js gzip 157 B N/A -
2-w5wamautz2c.js gzip 65.6 kB N/A -
219oe54sobbj5.js gzip 8.81 kB N/A -
22alyybqz5_09.js gzip 3.57 kB N/A -
23_81vni0opf0.js gzip 157 B N/A -
2816ugqjp0cw7.js gzip 156 B N/A -
28p1njha-2ovo.js gzip 13.6 kB N/A -
2b-nvb0ybzif_.js gzip 8.7 kB N/A -
2bdp2_cq5bxqf.js gzip 169 B N/A -
2j5mn0ng9x-8y.js gzip 71.5 kB N/A -
2jrojsoli4din.js gzip 155 B N/A -
2m3bh1binl60-.js gzip 13.2 kB N/A -
2oks0a7s7ajem.js gzip 10.3 kB N/A -
31r35oy32u7ag.js gzip 46.7 kB N/A -
38-q43pzktqhs.js gzip 1.46 kB N/A -
39vr3swgz7fry.js gzip 155 B N/A -
3fw39x1tg924h.js gzip 8.79 kB N/A -
3kfiy2dr7a5m3.js gzip 5.72 kB N/A -
3l2c-qzlafpi-.js gzip 8.78 kB N/A -
3mrwxzed0ylgv.js gzip 13.1 kB N/A -
3rdf0zyd2dgxs.js gzip 8.76 kB N/A -
41jfc8g2x7su6.js gzip 7.54 kB N/A -
41u5s3oe2-erp.js gzip 2.29 kB N/A -
445z7nxr_34_5.js gzip 155 B N/A -
turbopack-07..iac9.js gzip 3.86 kB N/A -
turbopack-0d..3g83.js gzip 3.88 kB N/A -
turbopack-0h..fyuy.js gzip 3.86 kB N/A -
turbopack-0u..33e_.js gzip 3.86 kB N/A -
turbopack-14..19iy.js gzip 3.86 kB N/A -
turbopack-15..1srt.js gzip 3.86 kB N/A -
turbopack-1k..6a7i.js gzip 3.86 kB N/A -
turbopack-22..g_rn.js gzip 3.86 kB N/A -
turbopack-2d..r8zj.js gzip 3.84 kB N/A -
turbopack-2f..kjh-.js gzip 3.86 kB N/A -
turbopack-36..nj8y.js gzip 3.86 kB N/A -
turbopack-3b..xviv.js gzip 3.86 kB N/A -
turbopack-3q..regv.js gzip 3.86 kB N/A -
turbopack-3t..-aad.js gzip 3.86 kB N/A -
05era0sgyuzos.js gzip N/A 169 B -
0b87lr4cig17b.js gzip N/A 8.75 kB -
0e1qkafcsotw-.js gzip N/A 8.7 kB -
0j64ls9v56hnd.js gzip N/A 3.56 kB -
0jwho9fkrb_t3.js gzip N/A 2.29 kB -
0masaz6qt9sws.js gzip N/A 10 kB -
0n2f4y98eckf4.js gzip N/A 8.78 kB -
0nfyq2uqpzxo0.js gzip N/A 161 B -
0oxxrqdztv01y.js gzip N/A 157 B -
0srrwa49njwix.js gzip N/A 156 B -
1-z24kqxc7682.js gzip N/A 155 B -
116z3939gven3.js gzip N/A 158 B -
1234ksg9gdne_.js gzip N/A 8.77 kB -
13zwxq46cobu6.js gzip N/A 155 B -
17oe55cu76cd7.js gzip N/A 450 B -
18ehgajg6-37l.js gzip N/A 46.7 kB -
1iaemojbqwqrc.js gzip N/A 153 B -
1ko45a632uro6.js gzip N/A 8.79 kB -
1o2ufy-giyg2d.js gzip N/A 156 B -
1t2-5vzqrs9e7.js gzip N/A 156 B -
1u5hjpgv9qkjy.js gzip N/A 9.45 kB -
1w-rxw29xo-6-.js gzip N/A 158 B -
1wp4lf96ur1qn.js gzip N/A 154 B -
2d_wvcq8ytz-8.js gzip N/A 71.5 kB -
2dt81h56uyprs.js gzip N/A 8.75 kB -
2e30e3g3_0zjv.js gzip N/A 156 B -
2g2f64lmg3m7w.js gzip N/A 5.73 kB -
2lpk5_hknut8q.js gzip N/A 13.1 kB -
2ugc69z0t0ypz.js gzip N/A 1.46 kB -
2uile-vrx5c0g.js gzip N/A 8.81 kB -
2xhyauod8lfuk.js gzip N/A 8.71 kB -
2z-2x1ptpwnb3.js gzip N/A 10.3 kB -
36lwn7padaock.js gzip N/A 65.6 kB -
3q0h3yzsw1g9v.js gzip N/A 13.2 kB -
3rodp-hyqw7n0.js gzip N/A 13.6 kB -
3t7v1ffjrnh9r.js gzip N/A 7.55 kB -
40fek9ngcsppd.js gzip N/A 10.6 kB -
turbopack-04..9fpj.js gzip N/A 3.86 kB -
turbopack-0c..kifv.js gzip N/A 3.84 kB -
turbopack-0j..d_b8.js gzip N/A 3.86 kB -
turbopack-13..961i.js gzip N/A 3.86 kB -
turbopack-1n..6up2.js gzip N/A 3.88 kB -
turbopack-2_..n059.js gzip N/A 3.86 kB -
turbopack-28..uooe.js gzip N/A 3.86 kB -
turbopack-2k..vi_q.js gzip N/A 3.86 kB -
turbopack-2z..ez8z.js gzip N/A 3.86 kB -
turbopack-34..f-ja.js gzip N/A 3.86 kB -
turbopack-38..a-pl.js gzip N/A 3.86 kB -
turbopack-3b..xk9s.js gzip N/A 3.86 kB -
turbopack-3n..f-m5.js gzip N/A 3.86 kB -
turbopack-3x..bpg7.js gzip N/A 3.86 kB -
Total 451 kB 451 kB ⚠️ +11 B

Server

Middleware
Canary PR Change
middleware-b..fest.js gzip 782 B 776 B
Total 782 B 776 B ✅ -6 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 434 B 433 B
Total 434 B 433 B ✅ -1 B
Build Cache
Canary PR Change
00000001.sst gzip 13.9 MB 14.1 MB 🔴 +195 kB (+1%)
00000002.sst gzip 13 MB 13.3 MB 🔴 +323 kB (+2%)
00000003.sst gzip 12.6 MB 15.7 MB 🔴 +3.08 MB (+24%)
00000004.sst gzip 15.6 MB 12.1 MB 🟢 3.57 MB (-23%)
00000005.sst gzip 2.81 MB 10.2 MB 🔴 +7.41 MB (+264%)
00000006.sst gzip 10.2 MB 2.81 MB 🟢 7.41 MB (-73%)
00000007.sst gzip 59 B 59 B
00000008.meta gzip 89 B 89 B
00000009.meta gzip 298 kB 298 kB
00000010.meta gzip 298 kB 298 kB
00000011.meta gzip 298 kB 298 kB
00000012.sst gzip 50.4 kB 51.2 kB 🔴 +784 B (+2%)
00000013.sst gzip 1.83 MB 1.9 MB 🔴 +67.8 kB (+4%)
00000014.sst gzip 59 B 59 B
00000015.meta gzip 116 B 116 B
00000016.meta gzip 325 kB 325 kB
00000017.meta gzip 404 kB 406 kB
00000018.sst gzip 51 kB 51.9 kB 🔴 +902 B (+2%)
00000019.sst gzip 1.39 MB 1.39 MB 🟢 7.85 kB (-1%)
00000020.sst gzip 59 B 59 B
00000021.meta gzip 116 B 116 B
00000022.meta gzip 325 kB 325 kB
00000023.meta gzip 372 kB 371 kB
00000024.sst gzip 51 kB 52 kB 🔴 +932 B (+2%)
00000025.sst gzip 1.39 MB 1.39 MB 🟢 8.24 kB (-1%)
00000026.sst gzip 59 B 59 B
00000027.meta gzip 116 B 116 B
00000028.meta gzip 325 kB 325 kB
00000029.meta gzip 372 kB 371 kB
00000030.sst gzip 50.5 kB 51.2 kB 🔴 +753 B (+1%)
00000031.sst gzip 1.39 MB 1.39 MB 🟢 8.06 kB (-1%)
00000032.sst gzip 59 B 59 B
00000033.meta gzip 116 B 116 B
00000034.meta gzip 325 kB 325 kB
00000035.meta gzip 372 kB 371 kB
00000036.sst gzip 50.9 kB 51.8 kB 🔴 +936 B (+2%)
00000037.sst gzip 1.39 MB 1.39 MB 🟢 8.18 kB (-1%)
00000038.sst gzip 59 B 59 B
00000039.meta gzip 116 B 116 B
00000040.meta gzip 325 kB 325 kB
00000041.meta gzip 372 kB 371 kB
CURRENT gzip 24 B 24 B
LOG gzip 682 B 666 B 🟢 16 B (-2%)
Total 80.3 MB 80.4 MB ⚠️ +69.5 kB

📦 Webpack

Client

Main Bundles
Canary PR Change
3322-HASH.js gzip 65.7 kB N/A -
4191.HASH.js gzip 169 B N/A -
7920-HASH.js gzip 4.67 kB N/A -
9784-HASH.js gzip 5.63 kB N/A -
b1ad9f4c-HASH.js gzip 63.2 kB N/A -
framework-HASH.js gzip 59.7 kB 59.7 kB
main-app-HASH.js gzip 255 B 254 B
main-HASH.js gzip 40 kB 40 kB
webpack-HASH.js gzip 1.68 kB 1.68 kB
3577.HASH.js gzip N/A 168 B -
578-HASH.js gzip N/A 66.4 kB -
8590-HASH.js gzip N/A 5.6 kB -
9750-HASH.js gzip N/A 4.68 kB -
a8984546-HASH.js gzip N/A 63.2 kB -
Total 241 kB 242 kB ⚠️ +654 B
Polyfills
Canary PR Change
polyfills-HASH.js gzip 39.4 kB 39.4 kB
Total 39.4 kB 39.4 kB
Pages
Canary PR Change
_app-HASH.js gzip 194 B 193 B
_error-HASH.js gzip 181 B 182 B
css-HASH.js gzip 334 B 331 B
dynamic-HASH.js gzip 1.81 kB 1.81 kB
edge-ssr-HASH.js gzip 255 B 253 B
head-HASH.js gzip 349 B 351 B
hooks-HASH.js gzip 382 B 384 B
image-HASH.js gzip 581 B 582 B
index-HASH.js gzip 260 B 259 B
link-HASH.js gzip 2.48 kB 2.48 kB
routerDirect..HASH.js gzip 317 B 318 B
script-HASH.js gzip 384 B 386 B
withRouter-HASH.js gzip 316 B 315 B
1afbb74e6ecf..834.css gzip 106 B 106 B
Total 7.95 kB 7.95 kB ⚠️ +1 B

Server

Edge SSR
Canary PR Change
edge-ssr.js gzip 129 kB 128 kB
page.js gzip 294 kB 295 kB
Total 423 kB 423 kB ⚠️ +585 B
Middleware
Canary PR Change
middleware-b..fest.js gzip 617 B 616 B
middleware-r..fest.js gzip 156 B 156 B
middleware.js gzip 45.6 kB 45.2 kB
edge-runtime..pack.js gzip 842 B 842 B
Total 47.2 kB 46.8 kB ✅ -416 B
Build Details
Build Manifests
Canary PR Change
_buildManifest.js gzip 718 B 718 B
Total 718 B 718 B
Build Cache
Canary PR Change
0.pack gzip 4.8 MB 4.79 MB 🟢 4.87 kB (0%)
index.pack gzip 123 kB 123 kB
index.pack.old gzip 123 kB 122 kB
Total 5.04 MB 5.04 MB ✅ -5.31 kB

🔄 Shared (bundler-independent)

Runtimes
Canary PR Change
app-page-exp...dev.js gzip 375 kB 375 kB
app-page-exp..prod.js gzip 207 kB 207 kB
app-page-tur...dev.js gzip 374 kB 374 kB
app-page-tur..prod.js gzip 207 kB 207 kB
app-page-tur...dev.js gzip 371 kB 371 kB
app-page-tur..prod.js gzip 205 kB 205 kB
app-page.run...dev.js gzip 371 kB 371 kB
app-page.run..prod.js gzip 205 kB 205 kB
app-route-ex...dev.js gzip 83.3 kB 83.3 kB
app-route-ex..prod.js gzip 56.4 kB 56.4 kB
app-route-tu...dev.js gzip 83.3 kB 83.3 kB
app-route-tu..prod.js gzip 56.4 kB 56.4 kB
app-route-tu...dev.js gzip 82.9 kB 82.9 kB
app-route-tu..prod.js gzip 56.2 kB 56.2 kB
app-route.ru...dev.js gzip 82.8 kB 82.8 kB
app-route.ru..prod.js gzip 56.2 kB 56.2 kB
dev-validati...dev.js gzip 133 kB 133 kB
dev-validati...dev.js gzip 133 kB 133 kB
dev-validati...dev.js gzip 131 kB 131 kB
dev-validati...dev.js gzip 131 kB 131 kB
dist_client_...dev.js gzip 324 B 324 B
dist_client_...dev.js gzip 326 B 326 B
dist_client_...dev.js gzip 318 B 318 B
dist_client_...dev.js gzip 317 B 317 B
pages-api-tu...dev.js gzip 46 kB 46 kB
pages-api-tu..prod.js gzip 34.3 kB 34.3 kB
pages-api.ru...dev.js gzip 46 kB 46 kB
pages-api.ru..prod.js gzip 34.3 kB 34.3 kB
pages-turbo....dev.js gzip 54.8 kB 54.8 kB
pages-turbo...prod.js gzip 39.9 kB 39.9 kB
pages.runtim...dev.js gzip 54.8 kB 54.8 kB
pages.runtim..prod.js gzip 39.9 kB 39.9 kB
server.runti..prod.js gzip 67 kB 67 kB
use-cache-pr...dev.js gzip 72.3 kB 72.3 kB
use-cache-pr...dev.js gzip 72.4 kB 72.4 kB
use-cache-pr...dev.js gzip 70.6 kB 70.6 kB
use-cache-pr...dev.js gzip 70.6 kB 70.6 kB
Total 4.1 MB 4.1 MB
📎 Tarball URL
https://vercel-packages.vercel.app/next/commits/92be01168f997a9e47ee436a4ca0a7b3cb74cdaf/next

Commit: 92be011

@eps1lon eps1lon changed the title sebbie/08 07 default deploy e2e tests to repo version Default deploy e2e tests to the repo next version Aug 7, 2026
@eps1lon eps1lon changed the title Default deploy e2e tests to the repo next version [ci] Drop unused 'canary' default for tested version in test_e2e_deploy_release Aug 7, 2026
@eps1lon eps1lon changed the title [ci] Drop unused 'canary' default for tested version in test_e2e_deploy_release [ci] Drop 'canary' default for tested version in test_e2e_deploy_release Aug 7, 2026
eps1lon added 2 commits August 7, 2026 14:17
The setup job now settles which `next` version the deploy e2e tests install: it outputs the `workflow_dispatch` input when one was provided and the version checked into `packages/next/package.json` otherwise. The three deploy test jobs and the adapter results upload gate consume that output directly instead of repeating the `github.event.inputs.nextVersion || needs.setup.outputs.next-version` resolution, and the upload gate now needs the `setup` job to access it. The run name still cannot reference job outputs, so release runs continue to display the release tag; a comment now documents the assumption that the release tag matches the version checked into `packages/next/package.json`.
The setup job now prints the version it settled on in a dedicated step, so the chosen specifier is visible directly in the setup job log instead of only in the generated commands of the individual deploy test jobs.
@eps1lon
eps1lon marked this pull request as ready for review August 7, 2026 12:26
@eps1lon
eps1lon requested review from bgw and ztanner August 7, 2026 12:27
@eps1lon eps1lon changed the title [ci] Drop 'canary' default for tested version in test_e2e_deploy_release [ci] Default deploy e2e tests to the repo next version Aug 7, 2026
NEXT_ENABLE_ADAPTER=0 \
NEXT_EXTERNAL_TESTS_FILTERS="test/deploy-tests-manifest.json" \
NEXT_TEST_VERSION="${{ github.event.inputs.nextVersion || needs.setup.outputs.next-version || 'canary' }}" \
NEXT_TEST_VERSION="${{ needs.setup.outputs.next-version }}" \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm wondering if the signed tarball outputs might be silently masked by GitHub here: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idoutputs

If an output is skipped because it may contain a secret, you will see the following warning message: "Skip output {output.Key} since it may contain secret."

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

checking.

@eps1lon eps1lon Aug 7, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Works.

Between steps: https://github.com/vercel/next.js/actions/runs/31196722639/job/92926623131#step:7:15
Between jobs: https://github.com/vercel/next.js/actions/runs/31196722639/job/92927035198#step:34:8

Though I didn't know about this. "may contain a secret" is quite vague. But reasonable to assume a commit might get flagged due high entropy.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

signed tarball outputs

What do you mean with "signed"? They just have the commit in the URL. We're not signing these.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I just couldn't remember if tarball URLs were signed or not. SGTM if they are not

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

For vercel/next.js they're just public (because the repo is public) and for vercel/next-js-mirror they're on a route requiring authorization.

@eps1lon
eps1lon requested a review from ztanner August 7, 2026 16:19
@eps1lon
eps1lon merged commit 2b11d56 into canary Aug 7, 2026
233 of 269 checks passed
@eps1lon
eps1lon deleted the sebbie/08-07-default_deploy_e2e_tests_to_repo_version branch August 7, 2026 17:26
eps1lon added a commit that referenced this pull request Aug 7, 2026
Backports #96895 to `next-16-3`. The workflow file on this branch is
identical to canary's, so the change applies unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants