mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Fork the set of deployment tests so they run with both turbopack and webpack. Now that turbopack is the default bundler we need this coverage. Because we are now running twice as many tests, decrease concurrency, otherwise we hit rate limits on vercel. There were attempts to improve rate limit recovery in the vercel CLI (https://github.com/vercel/vercel/pull/14443 and https://github.com/vercel/vercel/pull/14407) which helped but did not solve the issue. Also there was an investigation into the API service where we discovered some suspicious but ultimately correct code (https://github.com/vercel/api/pull/55967). The basic issue is that the vercel CLI polls `api-deployments-get` fairly aggressively at the beginning of a deploymnet, and since we start so many deployments in parallel we will always hit the rate limits. The recovery logic in the CLI is good but has (reasonably) a fixed set of retries it will attempt, inevitably some tasks get unlucky. So retrying the test does work, but really we should slow down which is what we do here. 😥 https://github.com/vercel/next.js/actions/runs/20290161194/job/58272593085 Fixes PACK-5613 --------- Co-authored-by: JJ Kasper <[email protected]>