Skip to content

[next] Remove 404.html prerenders from functions#14754

Merged
mischnic merged 5 commits intomainfrom
mischnic/remove-static-html
Jan 29, 2026
Merged

[next] Remove 404.html prerenders from functions#14754
mischnic merged 5 commits intomainfrom
mischnic/remove-static-html

Conversation

@mischnic
Copy link
Copy Markdown
Member

@mischnic mischnic commented Jan 27, 2026

Closes PACK-6560

They were only there as an optimization, but introduce nondeterminism because the HTML contains the build id and deployment id

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jan 27, 2026

🦋 Changeset detected

Latest commit: 752b413

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

This PR includes changesets to release 2 packages
Name Type
@vercel/next Patch
vercel Patch

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
Copy Markdown
Contributor

github-actions bot commented Jan 27, 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-9ohbuue95.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-9ohbuue95.vercel.sh/tarballs/vercel.tgz"
    }
  }
}

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 27, 2026

🧪 Unit Test Strategy

Comparing: 9d1e38e752b413 (view diff)

Strategy: Affected packages only

✅ Only testing packages that have been modified or depend on modified packages.

Affected packages - 2 (5%)
  1. @vercel/next
  2. vercel
Unaffected packages - 39 (95%)
  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/introspection
  24. @vercel/koa
  25. @vercel/nestjs
  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

Results

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

This comment is automatically generated based on the affected testing strategy

@mischnic mischnic force-pushed the mischnic/remove-static-html branch from 1a49cac to 14ff1d6 Compare January 28, 2026 08:52
@mischnic mischnic changed the base branch from mischnic/dpl-id-headers to main January 28, 2026 08:52
@mischnic mischnic changed the title [next] Remove 404 and 500 prerenders from functions [next] Remove 404.html 500 prerenders from functions Jan 28, 2026
@mischnic mischnic requested a review from ijjk January 28, 2026 12:49
@mischnic mischnic force-pushed the mischnic/remove-static-html branch from 349b079 to 05d7138 Compare January 28, 2026 14:26
@mischnic mischnic force-pushed the mischnic/remove-static-html branch from fc0fcc4 to eb6e735 Compare January 28, 2026 14:35
@mischnic mischnic force-pushed the mischnic/remove-static-html branch from eb6e735 to f9c202e Compare January 28, 2026 16:30
@mischnic mischnic marked this pull request as ready for review January 28, 2026 16:49
@mischnic mischnic requested review from a team, huozhi, timneutkens and ztanner as code owners January 28, 2026 16:50
@mischnic mischnic changed the title [next] Remove 404.html 500 prerenders from functions [next] Remove 404.html prerenders from functions Jan 28, 2026
Copy link
Copy Markdown
Member

@ijjk ijjk left a comment

Choose a reason for hiding this comment

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

Maybe we add a couple assertions in the integrations tests ensuring the 404.html doesn't slip into any lambda's files

@mischnic mischnic merged commit 6c5a2fa into main Jan 29, 2026
120 checks passed
@mischnic mischnic deleted the mischnic/remove-static-html branch January 29, 2026 18:18
ztanner added a commit that referenced this pull request Jan 29, 2026
ztanner added a commit that referenced this pull request Jan 29, 2026
Reverts #14754

e2e tests are failing
([x-ref](https://github.com/vercel/vercel/actions/runs/21491669577/job/61915647732?pr=14792))
so pulling this out of the upcoming release so we can investigate
separately.
mischnic added a commit that referenced this pull request Jan 29, 2026
mischnic added a commit that referenced this pull request Jan 30, 2026
adriancooney pushed a commit that referenced this pull request Jan 30, 2026
Reverts #14754

e2e tests are failing
([x-ref](https://github.com/vercel/vercel/actions/runs/21491669577/job/61915647732?pr=14792))
so pulling this out of the upcoming release so we can investigate
separately.
mischnic added a commit that referenced this pull request Jan 30, 2026
mischnic added a commit that referenced this pull request Feb 3, 2026
mischnic added a commit that referenced this pull request Feb 3, 2026
mischnic added a commit that referenced this pull request Feb 3, 2026
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.

2 participants