docs: fix stale create-next-app flags and use cache timeout details #102745
<!-- __NEXT_TEST_REPORT_COMMENT__ -->
Tests Passed
<!-- ## Failing test suites -->
Commit: 83c7109a105572d75d76a0031fd9f6306f2977db
View workflow run
<!-- vercel-agent-verified-review-status -->
<!-- vercel-agent-review-parts:1Vjbbhs5Ev2VAoOFL2ipW5KtG2QNAifjBKssBo5ngB3TgKlmSc11N9nDYks2giz2aX9hsN-zfzJfsiC7W75MJuN52M3mTU0Vi4esU6eK_MAspqhKx6aX7FxomFnMhVMb7DhVIEjh0P844ayf9IedXr-TDC76g2kynB4l3f5k-CNn84usiiAZwCtMwZtBawBn7y5m8SOXcxaxo0m3Tyxil4eH5ygkuAwhNRLB4kbhFiyWxjr45Z8_Hx5e7WfOlTSN4w3aFPNuaormZ_z3WKxRO_-pVioVThlNcdJ7N_6x_-bir6en5-_Pz968GSdH3569PD798wG7ilhpcSVSZNPLq4hRVRTC3rEpe2VS4rxjdH4HaSb0Gjnvwltdg7MoHHLe0XjrOO-IsoRVLtbgxDJHUA6kNSXBdafjKrs0pUhvrkFo6Ue2uLz_FlIGM0thLKzh6lG_0Eu_H1ghyqVIb0DiSlS5CzNLa4rSgTPBUGlyIs_DlqEUa4yCUVX6iNW-ritCSEWa4TUsK5VLzkMETOWAMA0zG2_HR_RorbDnyloPBq01FgokEs2ZQJpheoMScIO2PS0JaS5UAWItPLbgIkMh9wjIVDbF4HhlKi1BG5cpvYatNXrtXV5kaBG2gkCbmgnOgK10BGT8kENyBFtvZCvNeZdF7KcKKQScTT-wXGkkz-EOfK9bQH4QlIaKfOjCSXDeLeQt51MfM3IqzyFX3veeRWcVbjwsl2EBK2sKoExYlEDOWLFG4Hz_nSiJ84M9EAQCUuHP2KzCbpuzbfYTNg_abCELpoSlsMIhfE946qG8QiFzk968Due7MhYEFEZWuQdLqSlRwjtRgkRZlQi5uEPrETzaTSdEhzjvOuJ82ks4P_AA3memyn0chYNUEEJplHZgUUi01IZdNhCaGPu4edCP99OG_hufPKmpt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j32PfPaVu8lnqvjIaHxL3nqTvhZZLc-tLIFTl49Ot2d0bdI-oJffnU_B_A7mmb53RU-i1raq_uH0K_-Co2_u_wn-OpTXk4YLRu2vsLrGW_ja1nxxEsFJaKr0mWFvhJWI_OfhkgLqj-_1dRUwb116MvGOfSV9IMc-DD5QRiDyH8tf6eXj4Q1iweZb4ITyzoIR64uEhzKgqd-5ePnzDCRdsH5dGZ9Rqdf-y4M2EDU8BKjR1_ihhWa0pvIZIg6R_-ce_XB0EG67_YaYoS29BsEErVeqg2Xi9SFnlOVgMDwN-mqAbCv1B_SBAXc7m33idKuftRA9I0aOZ_m3Bc1Z5Mlw2UvQc6aonPVu8DtjH_wA -->
<img src="https://agents-vade-review.vercel.sh/review-status-approved.svg" width="16" valign="middle" title="Reviewed, all passed" alt=""> Vercel Agent Verified Review <sup title="A code review: it reads the diff and the code around it to find bugs. It doesn’t run or test the app. Its verdict approves the pull request or asks for changes.">?</sup> approved this pull request.
<sub>83c7109 • Ran <relative-time datetime="2026-12-03T23:06:40.296Z">Thu, 03 Dec 2026 23:06:40 GMT</relative-time> • 49.2s • Read the code review report ↗</sub>
<details>
<summary>Summary</summary>
<sub> </sub>
Docs\-only change\. In the create\-next\-app flag table it drops --turbopack and --webpack and adds --rspack\. It adds the Agent feedback default and prompt to the installation page, and updates the use cache build\-timeout section to the 54s default and the current error message\. I checked every changed claim against the head's source and found nothing wrong\. There was no code to run, so no tests were run\.
</details>
<details>
<summary>Questions for the author (1)</summary>
<sub> </sub>
</details>
<details open>
<summary>Checked (4)</summary>
<sub> </sub>
| | Check | Location |
| :-: | :-- | :-- |
| <img src="https://agents-vade-review.vercel.sh/review-status-approved.svg" width="16" valign="middle" title="Passed" alt=""> <samp>Passed</samp> | create\-next\-app defines --rspack with the documented description and has no --turbopack or --webpack option\.<br><sub><i>Read the commander .option chain\. Line 59 is --rspack with 'Enable Rspack as the bundler\.', and no turbopack or webpack option appears\.</i></sub> | index.ts:50 |
| <img src="https://agents-vade-review.vercel.sh/review-status-approved.svg" width="16" valign="middle" title="Passed" alt=""> <samp>Passed</samp> | The 54s default is 90% of the default 60s staticPageGenerationTimeout, and prerender is clamped to it\.<br><sub><i>config\.ts\:1888\-1890 defaults useCacheTimeout to 0\.9 × staticPageGenerationTimeout, config\-shared\.ts\:2513 sets that to 60, and prerender takes the min\.</i></sub> | use-cache-wrapper.ts:981 |
| <img src="https://agents-vade-review.vercel.sh/review-status-approved.svg" width="16" valign="middle" title="Passed" alt=""> <samp>Passed</samp> | The quoted timeout error matches UseCacheTimeoutError word for word, with an example route and without the trailing Learn more link\.<br><sub><i>Compared the doc quote against the constructor string\.</i></sub> | use-cache-errors.ts:1 |
| <img src="https://agents-vade-review.vercel.sh/review-status-approved.svg" width="16" valign="middle" title="Passed" alt=""> <samp>Passed</samp> | The 'Agent feedback' label in the recommended defaults and the new prompt text match the CLI, in the order the doc shows\.<br><sub><i>Line 313 has the 'Agent feedback' label, it's the last entry in displayConfig, and the prompt message at line 703 matches the doc\. It's asked right after the AGENTS\.md prompt \(line 676\)\.</i></sub> | index.ts:693 |
</details>
<details>
<summary>Review steps</summary>
<sub> </sub>
| | Step | Time |
| :-: | :-- | --: |
| <img src="https://vercel.com/static/status/ready.svg" width="10" valign="middle" title="Done" alt=""> | Sandbox set up | <samp>13.4s</samp> |
| <img src="https://vercel.com/static/status/ready.svg" width="10" valign="middle" title="Done" alt=""> | Agent review: 1 command run | <samp>34.1s</samp> |
| <img src="https://vercel.com/static/status/ready.svg" width="10" valign="middle" title="Done" alt=""> | Repros run on the head and the base (0), findings graded (0) | <samp>1.7s</samp> |
</details>
Approved these changes.
Approved these changes.
Approved these changes.
Approved these changes.
aurorascharff
icyJoseph
What?
Fixes docs that no longer match the code:
create-next-appreference: removes the--turbopackand--webpackflags, which the CLI does not accept, and adds--rspack. The rest of the table diff is Prettier re-padding the columns.create-next-appreference.use cachereference: the prerender timeout is 54 seconds by default (90% ofstaticPageGenerationTimeout), and the quoted timeout error matches the current message.Why?
Found in a docs audit after the 16.5 release. These predate 16.5.
Verification
packages/create-next-app/index.ts,packages/next/src/server/use-cache/use-cache-errors.ts, andgetUseCacheFillTimeoutMsinuse-cache-wrapper.tson canary.