Skip to content

Turn on the adapter route collapses by default - #98218

Merged
unstubbable merged 1 commit into
canaryfrom
hl/enable-collapse-adapter-routes
Sep 4, 2026
Merged

Turn on the adapter route collapses by default#98218
unstubbable merged 1 commit into
canaryfrom
hl/enable-collapse-adapter-routes

Conversation

@unstubbable

@unstubbable unstubbable commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

experimental.collapseAdapterRoutes now defaults to true, so a build serves several dynamic routes from one entry in the route table that it passes to an adapter. The default started off in #97774 so that the behavior could reach projects one at a time. We have tested this successfully internally, so the default moves back. The option stays in place, so a build that hits a regression can set it to false and get the table that a build emitted before the collapses.

The four fixtures under test/production/app-dir/adapter-dynamic-routes no longer set the option, because the default now gives them the collapsed table that their snapshots record. The snapshots themselves do not change, since the new default produces what the explicit option produced.

A full deploy test run with the flag on by default was already done as part of #97738.

`experimental.collapseAdapterRoutes` now defaults to `true`, so a build
serves several dynamic routes from one entry in the route table that it
passes to an adapter. The default started off in #97774 so that the
behavior could reach projects one at a time. We have tested this
successfully internally, so the default moves back. The option stays in
place, so a build that hits a regression can set it to `false` and get
the table that a build emitted before the collapses.

The four fixtures under `test/production/app-dir/adapter-dynamic-routes`
no longer set the option, because the default now gives them the
collapsed table that their snapshots record. The snapshots themselves do
not change, since the new default produces what the explicit option
produced.
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: c1edc5e

@unstubbable
unstubbable marked this pull request as ready for review September 3, 2026 18:30
@unstubbable
unstubbable requested a review from mischnic September 3, 2026 18:30
@unstubbable
unstubbable merged commit cc27d89 into canary Sep 4, 2026
228 of 230 checks passed
@unstubbable
unstubbable deleted the hl/enable-collapse-adapter-routes branch September 4, 2026 06:30
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