Commit Graph

9 Commits

Author SHA1 Message Date
Sebastian "Sebbie" Silbermann 76a0bdbdf4 [scripts] Move scripts (and benchmarks) off of node-fetch (#98347)
We're using Node.js versions with a built-in `fetch` implementation in
all of these scripts.
2026-09-10 13:50:35 +02:00
Sebastian "Sebbie" Silbermann d470d18941 [ci] Reset the turbopack deploy test project in the weekly cron (#96822)
The weekly `test-e2e-project-reset-cron` workflow never defined
`VERCEL_TURBOPACK_TEST_TEAM` or `VERCEL_TURBOPACK_TEST_TOKEN`, even
though `run-e2e-test-project-reset.mjs` iterates over all three deploy
test teams. Because `resetProject` defaulted `teamId` and `token` to the
base team, and a destructuring default fires on an explicit `undefined`,
the turbopack iteration silently resolved to `vtest314-next-e2e-tests`.

The cron has therefore been deleting and recreating the base team's
project twice per run while never resetting the turbopack team's
project, and reporting success throughout. This dates back to #89458,
which wired the env pair into `build_reusable.yml` and
`test_e2e_deploy_release.yml` but missed the cron.

This drops the defaults in favor of explicitly passing the team.
2026-08-07 11:57:11 +02:00
JJ Kasper a0b5d9ad8b Fix reset-project script for E2E deploy tests (#89693)
Our reset script was failing from invalid body shape: 

```sh
Error: Create project failed. Got status: 400, {"error":{"code":"bad_request","message":"Invalid request: should NOT have additional property `env`."}}
```

x-ref:
https://github.com/vercel/next.js/actions/runs/21793009770/job/62875798461
x-ref:
https://github.com/vercel/next.js/actions/runs/21807482052/attempts/1
2026-02-09 09:28:05 +01:00
JJ Kasper 0d15dd58bb Add separate E2E deploy env for turbopack tests (#89458)
x-ref: [slack
thread](https://vercel.slack.com/archives/C04KC8A53T7/p1770151130656569?thread_ts=1770107873.440639&cid=C04KC8A53T7)
2026-02-03 21:13:12 +00:00
Niklas Mischkulnig 345a36c96f Don't upload build cache for deployment tests (#89432)
We use `vc deploy -f`, so the build cache is never read anyway.
2026-02-03 12:43:10 -08:00
JJ Kasper 1104c45f25 Add full adapters E2E tests to workflow (#89125)
This updates to run the entire E2E deploy tests same as we do currently
but with adapters enabled to catch regressions there. These run on a
separate test team to isolate from existing test team and avoid rate
limits.

Test run of the workflow done here
https://github.com/vercel/next.js/actions/runs/21418745794
2026-01-28 14:16:20 -08:00
JJ Kasper d224a56201 Fix reset deploy project script (#89001)
This script has been quietly failing on cron occasionally, this updates
to ensure it shows as failing when the inner requests fail and also adds
back-off logic for re-creating the project after deleting the previous.

x-ref:
https://github.com/vercel/next.js/actions/runs/21327384008/job/61386921911#step:6:12
2026-01-26 15:18:41 -08:00
Zack Tanner 0cb1c40400 ci: disable deployment protection for e2e test project (#58830)
Since we reset the test project on every e2e CI run, deployment protection is automatically enabled by default.

This adds an option to the reset project workflow to disable deployment protection. Our test runners need to be able to hit these pages from an unauthenticated browser in order for the tests to work. 

Verified tests are running properly in [this run](https://github.com/vercel/next.js/actions/runs/6971348806/job/18971225559) (fixing any failing tests themselves are out of scope for this PR; will evaluate once the run finishes)

Closes NEXT-1732
2023-11-23 09:41:34 -08:00
Zack Tanner cbcd59889c ci: unify reset project script (#58829)
We have identical `resetProject` code used in `bench/vercel` and our e2e workflow action -- this updates the `resetProject` script to side-effects free (hence removing the env var) and shared between bench & e2e

Closes NEXT-1731
2023-11-23 09:40:48 -08:00