Skip to content

[next] Fix e2e tests with hardcoded build id#14886

Merged
ijjk merged 2 commits intomainfrom
mischnic/fix-next-e2e
Feb 5, 2026
Merged

[next] Fix e2e tests with hardcoded build id#14886
ijjk merged 2 commits intomainfrom
mischnic/fix-next-e2e

Conversation

@mischnic
Copy link
Member

@mischnic mischnic commented Feb 5, 2026

Since vercel/next.js#89325, the build id is overridden to a hardcoded string build-TfctsWXpff2fKS when skew protection is enabled.

https://github.com/vercel/next.js/blob/2521b8adc73957cf7dfc358bea3c461b04bcfa16/packages/next/src/build/index.ts#L906-L910

Update the e2e tests to use that instead.

@mischnic mischnic requested review from a team, huozhi, ijjk, timneutkens and ztanner as code owners February 5, 2026 18:49
@mischnic mischnic changed the title [next] Fix e2e test with hardcoded build id [next] Fix e2e tests with hardcoded build id Feb 5, 2026
@changeset-bot
Copy link

changeset-bot bot commented Feb 5, 2026

🦋 Changeset detected

Latest commit: 08a9e42

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

📦 CLI Tarball Ready

The Vercel CLI tarball for this PR is now available!

Quick Test

You can test this PR's CLI directly by running:

npx https://vercel-mdsmf0o7a.vercel.sh/tarballs/vercel.tgz --help

Use in vercel.json

To use this CLI version in your project builds, add to your vercel.json:

{
  "build": {
    "env": {
      "VERCEL_CLI_VERSION": "vercel@https://vercel-mdsmf0o7a.vercel.sh/tarballs/vercel.tgz"
    }
  }
}

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

🧪 Unit Test Strategy

Comparing: 798e90e08a9e42 (view diff)

Strategy: Code changed outside of a package - running all unit tests

⚠️ All unit tests will run because global code changes could impact all packages.

Affected packages - 40 (100%)
  1. @vercel-internals/get-package-json
  2. @vercel/backends
  3. @vercel/build-utils
  4. @vercel/cervel
  5. @vercel/cli-auth
  6. @vercel/client
  7. @vercel/config
  8. @vercel/detect-agent
  9. @vercel/edge
  10. @vercel/elysia
  11. @vercel/error-utils
  12. @vercel/express
  13. @vercel/fastify
  14. @vercel/firewall
  15. @vercel/frameworks
  16. @vercel/fs-detectors
  17. @vercel/functions
  18. @vercel/gatsby-plugin-vercel-builder
  19. @vercel/go
  20. @vercel/h3
  21. @vercel/hono
  22. @vercel/hydrogen
  23. @vercel/koa
  24. @vercel/nestjs
  25. @vercel/next
  26. @vercel/node
  27. @vercel/oidc
  28. @vercel/oidc-aws-credentials-provider
  29. @vercel/python
  30. @vercel/python-analysis
  31. @vercel/redwood
  32. @vercel/related-projects
  33. @vercel/remix-builder
  34. @vercel/routing-utils
  35. @vercel/ruby
  36. @vercel/rust
  37. @vercel/static-build
  38. @vercel/static-config
  39. examples
  40. vercel

Results

  • Unit tests: All affected packages will run unit tests
  • E2E tests: Handled separately (Version Packages PRs or run-e2e-tests label)
  • Type checks: All affected packages will run type checks

This comment is automatically generated based on the affected testing strategy

@ijjk ijjk enabled auto-merge (squash) February 5, 2026 19:45
@ijjk ijjk merged commit d564b3c into main Feb 5, 2026
533 of 541 checks passed
@ijjk ijjk deleted the mischnic/fix-next-e2e branch February 5, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants