← Back to Pull requests

docs: fix stale create-next-app flags and use cache timeout details #102745

Merged
icyJoseph merged 3 files (72 lines) on Dec 04, 2026 10:29 UTC
View on GitHub
icyJoseph icyJoseph commented on Dec 02, 2026 22:29 UTC
Author

What?

Fixes docs that no longer match the code:

  • create-next-app reference: removes the --turbopack and --webpack flags, which the CLI does not accept, and adds --rspack. The rest of the table diff is Prettier re-padding the columns.

  • Installation page: adds the Agent feedback default and prompt, matching the create-next-app reference.

  • use cache reference: the prerender timeout is 54 seconds by default (90% of staticPageGenerationTimeout), 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

  • Checked against packages/create-next-app/index.ts, packages/next/src/server/use-cache/use-cache-errors.ts, and getUseCacheFillTimeoutMs in use-cache-wrapper.ts on canary.
  • Diff: 72 lines (+36 / -36) across 3 files Reviewer: aurorascharff Review duration: 2159m
    All Vouch review confidence checks passed
    Residual risk 0.08 = Change Risk (0.32) × (1 − Review Confidence (0.74)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.32 · 72 lines diff across 3 files
    0.32
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.59 · 2 substantive comment(s)
    0.59
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    73%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.257
    Real PR Conversation Timeline
    7 items
    github-actions[bot] github-actions[bot] commented on Dec 02, 2026 22:29 UTC
    Bot

    <!-- __NEXT_TEST_REPORT_COMMENT__ -->

    Tests Passed

    <!-- ## Failing test suites -->
    Commit: 83c7109a105572d75d76a0031fd9f6306f2977db
    View workflow run

    vercel[bot] vercel[bot] commented on Dec 02, 2026 22:33 UTC
    Bot

    <!-- vercel-agent-verified-review-status -->
    <!--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RUwb116MvGOfSV9IMc-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>

  • Unchanged line in use\-cache\.mdx\: it still lists 'retrieving them from shared storage \(Maps\)' as a cause of the timeout\. The head now has a separate UseCacheDeadlockError for a module\-scoped Map dedupe layer \(use\-cache\-errors\.ts\:10\)\. Should that case point readers to the deadlock error instead of the timeout message?
  • </details>

    <details open>
    <summary>Checked (4)</summary>

    <sub> </sub>

    | &nbsp;&nbsp;&nbsp;&nbsp; | 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>

    | &nbsp;&nbsp;&nbsp;&nbsp; | 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>

    vercel[bot] vercel[bot] approved these changes on Dec 02, 2026 22:33 UTC
    Approved Reviewer

    Approved these changes.

    aurorascharff aurorascharff approved these changes on Dec 03, 2026 00:30 UTC
    Approved Reviewer

    Approved these changes.

    vercel[bot] vercel[bot] approved these changes on Dec 03, 2026 00:36 UTC
    Approved Reviewer

    Approved these changes.

    vercel[bot] vercel[bot] approved these changes on Dec 03, 2026 23:06 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    icyJoseph icyJoseph
    Labels
    risk: low confidence: 73.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 31.6% (LOW) · Higher = larger blast radius
    31.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 73.8% · Lower = rushed or shallow review
    73.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 8.3% · Safe to merge
    8.3%
    Repository