Skip to content

[lts-active] test: remove unsupported deployment ID builder cases - #98821

Merged
eps1lon merged 1 commit into
next-16-3from
sebbie/fix/deterministic-build-cli/16.x
Sep 17, 2026
Merged

eps1lon merged 1 commit into
next-16-3from
sebbie/fix/deterministic-build-cli/16.x

Conversation

@eps1lon

@eps1lon eps1lon commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Backports #98668

...to fix deployment tests.

Test does not exist on lts-maintenance so this is the only necessary backport.

### What?

Removes the legacy Vercel builder rows from the immutable-assets
deployment ID determinism test. Direct `.next` output and Vercel adapter
output remain covered, including both the standard and Cache Components
fixtures.

### Why?

Current `vercel@latest` rejects `_next/static/immutable` output when the
Next.js adapter is disabled. Disabling immutable assets is not a valid
replacement for these cases: it adds the deployment ID to asset URLs,
which intentionally changes content-hashed CSS filenames between builds.

This intentionally removes the two legacy-builder deploy-mode cases
rather than skipping or weakening their determinism assertions. The
current legacy builder no longer supports the immutable-output contract
the test verifies.

### How?

The Build Output API matrix now exercises only adapter mode, and
`NEXT_ENABLE_ADAPTER=1` is applied unconditionally. The shared two-build
comparison and all assertions for the retained direct and adapter cases
are unchanged. Builder-only mode branching and timeout handling are
removed.

### Verification

- `pnpm prettier --with-node-modules --ignore-path .prettierignore
--check test/production/deterministic-build/deployment-id.test.ts`
- `pnpm eslint --config eslint.config.mjs
test/production/deterministic-build/deployment-id.test.ts`
- `pnpm test-start-turbo
test/production/deterministic-build/deployment-id.test.ts` (3 tests
passed)

<!-- NEXT_JS_LLM -->

<!-- fleet 00754f3b-4965-4d6d-bc4c-4dbab7b188e4 -->

Co-authored-by: vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>
Co-authored-by: Tobias Koppers <1365881+sokra@users.noreply.github.com>
@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: 38f0466

@eps1lon
eps1lon requested a review from unstubbable September 17, 2026 14:38
@eps1lon
eps1lon marked this pull request as ready for review September 17, 2026 14:38
@eps1lon
eps1lon enabled auto-merge (squash) September 17, 2026 14:43
@eps1lon
eps1lon merged commit 8c81cbb into next-16-3 Sep 17, 2026
228 of 230 checks passed
@eps1lon
eps1lon deleted the sebbie/fix/deterministic-build-cli/16.x branch September 17, 2026 15:36
@github-actions github-actions Bot added the locked label Oct 2, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants