MC
acme/web-app · Code migration · npm

next

15.5.416.0.1Held for reviewCI failedMajor versionpackage.json
Requires human review.
  • Migration incomplete: 3 synchronous cookies() reads in app/(account)/layout.tsx.
  • Major version: next 15 → 16.

Evidence trail

Every step Darwin took, from the records it keeps

  1. Found behind latest

    next 15.5.4 is declared in package.json; the registry's latest is 16.0.1.

  2. Compared the release's API

    Next.js 16 renames middleware to proxy and removes synchronous access to cookies(), headers() and params. The migration covered 9 of 12 uses; 3 in app/(account)/layout.tsx need a design decision about streaming.

    CandidateResultReason
    16.0.1Probablemiddleware.ts is renamed proxy.ts; synchronous cookies() and params access are removed (12 uses found)
  3. Vercel: middleware becomes proxy; request APIs are async only

    middleware.ts is renamed proxy.ts, and synchronous access to cookies(), headers(), draftMode() and params is removed.

    − const theme = cookies().get("theme")
    + const theme = (await cookies()).get("theme")

    Evidence: Upgrade guide (docs/app/guides/upgrading/version-16) · Type declarations (next/headers.d.ts: cookies(): Promise<ReadonlyRequestCookies>)

  4. Validation found a regression

    Each check ran on the unmodified repository first; only checks that pass there judge the change. One repair attempt ran after the first failure.

    CheckFromUnmodifiedWith changeTests
    pnpm buildci.yml · buildPassedPassed—
    pnpm testci.yml · unitPassedFailed684

    Already failing before the change, so not counted against it: pnpm test:e2e

  5. Opened #405 as a draft

    Next.js 16: rename middleware to proxy, await request APIs (partial). Your repository's own CI judged it: CI failed

    CheckWorkflowVerdictNote
    unitci.ymlRegressionapp/(account)/layout.test.tsx: cookies() returned a Promise
    e2ee2e.ymlAlready failingalso fails on main (secret PLAYWRIGHT_BASE_URL)
    buildci.ymlPassed3 min
  6. Waiting for a person to merge

    Held for a human: the migration ended manual. A draft PR states what is left.

Summary

Repository
acme/web-app
Present
15.5.4
Latest
16.0.1
Proposed
16.0.1
Kind
Code migration
Checked
Oct 29, 02:12 UTC
Pull request
Draft#405
Reviewers
lee

For agents

The same record, over MCP

dovel_get_update({
  id: "web-app--next"
})