mirror of
https://github.com/mksglu/context-mode.git
synced 2026-11-23 13:11:14 +08:00
One folder per use case (sandbox, retrieval, batch, externalize, continuity, hook redirect, overhead). node bench/run.mjs [scenario] [--runs N] writes raw samples and tables per OS. Offline, no keys, no model calls. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
3433 lines
214 KiB
JSON
3433 lines
214 KiB
JSON
[
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101008",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/101008/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/101008/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/101008/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101008",
|
||
"id": 6139086232,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABMArU9Q",
|
||
"number": 101008,
|
||
"title": "turbo-tasks: add lazy cell reads via LazyReadRef",
|
||
"user": {
|
||
"login": "lukesandberg",
|
||
"id": 210140,
|
||
"node_id": "MDQ6VXNlcjIxMDE0MA==",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/210140?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/lukesandberg",
|
||
"html_url": "https://github.com/lukesandberg",
|
||
"followers_url": "https://api.github.com/users/lukesandberg/followers",
|
||
"following_url": "https://api.github.com/users/lukesandberg/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/lukesandberg/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/lukesandberg/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/lukesandberg/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/lukesandberg/orgs",
|
||
"repos_url": "https://api.github.com/users/lukesandberg/repos",
|
||
"events_url": "https://api.github.com/users/lukesandberg/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/lukesandberg/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-31T19:49:33Z",
|
||
"updated_at": "2026-10-31T20:17:55Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/101008",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101008",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/101008.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/101008.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "### What?\n\nAdds `vc.lazy_reader().await?`, which returns a `LazyReadRef<T>` for any value type. The value is only accessible through an explicit `LazyReadRef::get()`.\n\n- While the ref is alive, the task depends on the whole cell, so invalidations during the execution are not lost.\n- If the ref is dropped without `get()` ever being called, the dependency registered by this read is removed. That proves the task doesn't depend on the cell.\n- If `get()` was called, the dependency is kept and becomes a normal full dependency when the execution completes.\n\nStacked on #100884 and reuses its `CellKey::Keyed(id)` machinery.\n\n### Why?\n\nSome tasks need a cell's value only in rare cases, and only find out in synchronous code. One example is the server actions hash salt (encryption key) in #100950: today that needs an optimistic \"run without it, bail, re-run with it\" strategy. With `lazy_reader()`, the task can read the cell up front, pass the ref into synchronous code, and depend on it only when it is actually used.\n\n### How?\n\n- **One dependency per read:** every `lazy_reader()` call gets its own `CellKey::Keyed(id)` dependency edge, the same per-execution id that `keyed()` uses.\n - Dropping an unaccessed ref calls `convert_keyed_cell_dependency` with no key hashes, which removes only that edge.\n - Full reads (`.await`), hashed/keyed reads (`get`, `contains_key`, `keyed()`), and other `LazyReadRef`s of the same cell keep their own edges. Mixed reads in one execution therefore behave correctly, in any order.\n - An accessed ref leaves its `Keyed` edge in place. The existing completion-time conversion turns it into a normal full dependency.\n- **Lifetime rules:** the same as `KeyedReadRef`, sharing the alive-ref counter. A ref that is leaked or dropped outside the creating execution fails the task with a panic error, and its dependency is kept as a full dependency.\n - In debug builds, a cross-execution `poll`, `get()` or `drop` also panics at the misuse site.\n - In release builds, the conservative full dependency is kept.\n- **Reused race handling:** the missing-content guard in `convert_keyed_cell_dependency` and the `update_cell` handling from #100884 also apply to removal.\n- **Untracked reads:** `vc.untracked().lazy_reader()` stays untracked and never registers a removable edge.\n- **No cost for other tasks:** tasks that use neither `keyed()` nor `lazy_reader()` don't pay anything new. The completion scan and leak check stay gated on the existing per-execution counter.\n- `keyed()` and `lazy_reader()` share one read helper. `keyed()` behaviour is unchanged.\n - The only exception is the leak panic message, which now names both `KeyedReadRef` and `LazyReadRef`.\n- The new rule is documented in `turbopack/AGENTS.md` next to the `keyed()` guidance.\n\nAdopting this in the server actions transform is a separate follow-up.\n\n### Verification\n\n- New `turbopack/crates/turbo-tasks-backend/tests/lazy_read_ref.rs` (17 tests) covers:\n - unaccessed vs accessed reads, and a cell change while the ref is alive;\n - two lazy refs (one or none accessed, both drop orders);\n - an unaccessed lazy read combined with a full read before or while the ref is alive;\n - lazy plus keyed `get()` and lazy plus batched `keyed()` reads;\n - access flipping between executions;\n - drops in a detached future;\n - leaked or cross-thread refs failing the task while keeping the dependency;\n - cross-execution misuse panicking in debug only;\n - untracked lazy reads;\n - `Debug` not counting as an access;\n - reads outside a task.\n- `cargo test -p turbo-tasks -p turbo-tasks-backend` passes, including the existing `keyed_read_ref.rs`.\n- `cargo test --release -p turbo-tasks-backend --test lazy_read_ref --test keyed_read_ref` passes, covering the release-mode fallback paths.\n- Mutation checks, each reverted afterwards:\n - keeping unaccessed dependencies → 5 failures;\n - removing accessed dependencies → 4 failures;\n - removing other full edges of the same cell → 3 failures;\n - ignoring `.untracked()` → 1 failure.\n- `cargo clippy -p turbo-tasks -p turbo-tasks-backend --all-targets -- -D warnings`, `cargo fmt --check`, and `RUSTDOCFLAGS=-Dwarnings cargo doc --no-deps --document-private-items -p turbo-tasks -p turbo-tasks-backend` pass.\n- Not run locally: the workspace-wide `./scripts/check-rustdoc.sh`, and Next.js e2e tests (no consumer is converted in this PR).\n\n<!-- NEXT_JS_LLM -->\n\n\n<!-- fleet 32edbb43-1c4c-4771-9ee6-ee7b7dd5661d -->",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101008/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/101008/timeline",
|
||
"performed_via_github_app": {
|
||
"id": 4636436,
|
||
"client_id": "Iv23liA1aRlnuMeIOiLl",
|
||
"slug": "vercel-fleet-prod",
|
||
"node_id": "A_kwHOBnhMWs4ARr8U",
|
||
"owner": {
|
||
"login": "vercel-labs",
|
||
"id": 108547162,
|
||
"node_id": "O_kgDOBnhMWg",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/108547162?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/vercel-labs",
|
||
"html_url": "https://github.com/vercel-labs",
|
||
"followers_url": "https://api.github.com/users/vercel-labs/followers",
|
||
"following_url": "https://api.github.com/users/vercel-labs/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/vercel-labs/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/vercel-labs/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/vercel-labs/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/vercel-labs/orgs",
|
||
"repos_url": "https://api.github.com/users/vercel-labs/repos",
|
||
"events_url": "https://api.github.com/users/vercel-labs/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/vercel-labs/received_events",
|
||
"type": "Organization",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"name": "vercel-fleet-prod",
|
||
"description": null,
|
||
"external_url": "https://vercel.com/vercel-internal-apps/~/connect/scl_gnSvLTNA7Z81ZoAqt86YA",
|
||
"html_url": "https://github.com/apps/vercel-fleet-prod",
|
||
"created_at": "2026-08-18T14:11:09Z",
|
||
"updated_at": "2026-10-14T17:23:14Z",
|
||
"permissions": {
|
||
"actions": "write",
|
||
"checks": "read",
|
||
"contents": "write",
|
||
"deployments": "read",
|
||
"issues": "write",
|
||
"metadata": "read",
|
||
"pull_requests": "write",
|
||
"statuses": "read",
|
||
"workflows": "write"
|
||
},
|
||
"events": [
|
||
"check_run",
|
||
"check_suite",
|
||
"commit_comment",
|
||
"delete",
|
||
"deployment",
|
||
"deployment_status",
|
||
"issues",
|
||
"issue_comment",
|
||
"issue_dependencies",
|
||
"pull_request",
|
||
"pull_request_review",
|
||
"pull_request_review_comment",
|
||
"pull_request_review_thread",
|
||
"push",
|
||
"status",
|
||
"sub_issues",
|
||
"workflow_job",
|
||
"workflow_run"
|
||
]
|
||
},
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101007",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/101007/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/101007/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/101007/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101007",
|
||
"id": 6138959027,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABMAk22Q",
|
||
"number": 101007,
|
||
"title": "docs: note that og:url is not derived from alternates.canonical",
|
||
"user": {
|
||
"login": "Vladimir-Pirotskiy",
|
||
"id": 38118062,
|
||
"node_id": "MDQ6VXNlcjM4MTE4MDYy",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/38118062?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/Vladimir-Pirotskiy",
|
||
"html_url": "https://github.com/Vladimir-Pirotskiy",
|
||
"followers_url": "https://api.github.com/users/Vladimir-Pirotskiy/followers",
|
||
"following_url": "https://api.github.com/users/Vladimir-Pirotskiy/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/Vladimir-Pirotskiy/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/Vladimir-Pirotskiy/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/Vladimir-Pirotskiy/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/Vladimir-Pirotskiy/orgs",
|
||
"repos_url": "https://api.github.com/users/Vladimir-Pirotskiy/repos",
|
||
"events_url": "https://api.github.com/users/Vladimir-Pirotskiy/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/Vladimir-Pirotskiy/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 3644980154,
|
||
"node_id": "LA_kwDOBC3Cis7ZQfu6",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Documentation",
|
||
"name": "Documentation",
|
||
"color": "C2E0C6",
|
||
"default": false,
|
||
"description": "Related to Next.js' official documentation.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-31T19:36:26Z",
|
||
"updated_at": "2026-10-31T19:39:18Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/101007",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101007",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/101007.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/101007.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "<!-- Thanks for opening a PR! Your contribution is much appreciated.\nTo make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.\nChoose the right checklist for the change(s) that you're making:\n\n## For Contributors\n\nWe encourage you to use AI to assist you in researching, creating, and reviewing changes. However, you must review and deeply understand the contributions you are making. For this reason, **pull request descriptions from external contributors must be written by a human**.\n\n### Improving Documentation\n\n- Run `pnpm prettier-fix` to fix formatting issues before opening the PR.\n- Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide\n\n### Fixing a bug\n\n- Related issues linked using `fixes #number`\n- Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs\n- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md\n\n### Adding a feature\n\n- Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas)\n- Related issues/discussions are linked using `fixes #number`\n- e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)\n- Documentation added\n- Telemetry added. In case of a feature if it's used or not.\n- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md\n\n### Signed commits\n\n- This repository requires verified commit signatures on protected branches.\n- If this pull request is blocked for unsigned commits, re-sign the commits and force-push the branch.\n- A `Signed-off-by` line in the commit message is not enough.\n\n## For Maintainers\n\n- Minimal description (aim for explaining to someone not on the team to understand the PR)\n- When linking to a Slack thread, you might want to share details of the conclusion\n- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues\n- Add review comments if necessary to explain to the reviewer the logic behind a change\n\n### What?\n\n### Why?\n\n### How?\n\nCloses NEXT-\nFixes #\n\n-->\nog:url is not taken from alternates.canonical. The docs didn't say that, so this PR adds it.\n\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101007/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/101007/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101006",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/101006/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/101006/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/101006/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101006",
|
||
"id": 6138955230,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABMAkqUQ",
|
||
"number": 101006,
|
||
"title": "docs: correct the use cache prerender timeout and its error message",
|
||
"user": {
|
||
"login": "Vladimir-Pirotskiy",
|
||
"id": 38118062,
|
||
"node_id": "MDQ6VXNlcjM4MTE4MDYy",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/38118062?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/Vladimir-Pirotskiy",
|
||
"html_url": "https://github.com/Vladimir-Pirotskiy",
|
||
"followers_url": "https://api.github.com/users/Vladimir-Pirotskiy/followers",
|
||
"following_url": "https://api.github.com/users/Vladimir-Pirotskiy/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/Vladimir-Pirotskiy/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/Vladimir-Pirotskiy/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/Vladimir-Pirotskiy/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/Vladimir-Pirotskiy/orgs",
|
||
"repos_url": "https://api.github.com/users/Vladimir-Pirotskiy/repos",
|
||
"events_url": "https://api.github.com/users/Vladimir-Pirotskiy/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/Vladimir-Pirotskiy/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 3644980154,
|
||
"node_id": "LA_kwDOBC3Cis7ZQfu6",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Documentation",
|
||
"name": "Documentation",
|
||
"color": "C2E0C6",
|
||
"default": false,
|
||
"description": "Related to Next.js' official documentation.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-31T19:36:02Z",
|
||
"updated_at": "2026-10-31T19:39:14Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/101006",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101006",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/101006.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/101006.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "<!-- Thanks for opening a PR! Your contribution is much appreciated.\nTo make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.\nChoose the right checklist for the change(s) that you're making:\n\n## For Contributors\n\nWe encourage you to use AI to assist you in researching, creating, and reviewing changes. However, you must review and deeply understand the contributions you are making. For this reason, **pull request descriptions from external contributors must be written by a human**.\n\n### Improving Documentation\n\n- Run `pnpm prettier-fix` to fix formatting issues before opening the PR.\n- Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide\n\n### Fixing a bug\n\n- Related issues linked using `fixes #number`\n- Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs\n- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md\n\n### Adding a feature\n\n- Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas)\n- Related issues/discussions are linked using `fixes #number`\n- e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)\n- Documentation added\n- Telemetry added. In case of a feature if it's used or not.\n- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md\n\n### Signed commits\n\n- This repository requires verified commit signatures on protected branches.\n- If this pull request is blocked for unsigned commits, re-sign the commits and force-push the branch.\n- A `Signed-off-by` line in the commit message is not enough.\n\n## For Maintainers\n\n- Minimal description (aim for explaining to someone not on the team to understand the PR)\n- When linking to a Slack thread, you might want to share details of the conclusion\n- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues\n- Add review comments if necessary to explain to the reviewer the logic behind a change\n\n### What?\n\n### Why?\n\n### How?\n\nCloses NEXT-\nFixes #\n\n-->\nThe docs said the timeout is 50 seconds, but it is actually 54 seconds.\n\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101006/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/101006/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101005",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/101005/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/101005/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/101005/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101005",
|
||
"id": 6138951619,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABMAkefA",
|
||
"number": 101005,
|
||
"title": "docs: say which value wins when cacheLife runs more than once",
|
||
"user": {
|
||
"login": "Vladimir-Pirotskiy",
|
||
"id": 38118062,
|
||
"node_id": "MDQ6VXNlcjM4MTE4MDYy",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/38118062?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/Vladimir-Pirotskiy",
|
||
"html_url": "https://github.com/Vladimir-Pirotskiy",
|
||
"followers_url": "https://api.github.com/users/Vladimir-Pirotskiy/followers",
|
||
"following_url": "https://api.github.com/users/Vladimir-Pirotskiy/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/Vladimir-Pirotskiy/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/Vladimir-Pirotskiy/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/Vladimir-Pirotskiy/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/Vladimir-Pirotskiy/orgs",
|
||
"repos_url": "https://api.github.com/users/Vladimir-Pirotskiy/repos",
|
||
"events_url": "https://api.github.com/users/Vladimir-Pirotskiy/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/Vladimir-Pirotskiy/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 3644980154,
|
||
"node_id": "LA_kwDOBC3Cis7ZQfu6",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Documentation",
|
||
"name": "Documentation",
|
||
"color": "C2E0C6",
|
||
"default": false,
|
||
"description": "Related to Next.js' official documentation.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-31T19:35:39Z",
|
||
"updated_at": "2026-10-31T19:39:10Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/101005",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101005",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/101005.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/101005.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "<!-- Thanks for opening a PR! Your contribution is much appreciated.\nTo make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.\nChoose the right checklist for the change(s) that you're making:\n\n## For Contributors\n\nWe encourage you to use AI to assist you in researching, creating, and reviewing changes. However, you must review and deeply understand the contributions you are making. For this reason, **pull request descriptions from external contributors must be written by a human**.\n\n### Improving Documentation\n\n- Run `pnpm prettier-fix` to fix formatting issues before opening the PR.\n- Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide\n\n### Fixing a bug\n\n- Related issues linked using `fixes #number`\n- Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs\n- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md\n\n### Adding a feature\n\n- Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas)\n- Related issues/discussions are linked using `fixes #number`\n- e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)\n- Documentation added\n- Telemetry added. In case of a feature if it's used or not.\n- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md\n\n### Signed commits\n\n- This repository requires verified commit signatures on protected branches.\n- If this pull request is blocked for unsigned commits, re-sign the commits and force-push the branch.\n- A `Signed-off-by` line in the commit message is not enough.\n\n## For Maintainers\n\n- Minimal description (aim for explaining to someone not on the team to understand the PR)\n- When linking to a Slack thread, you might want to share details of the conclusion\n- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues\n- Add review comments if necessary to explain to the reviewer the logic behind a change\n\n### What?\n\n### Why?\n\n### How?\n\nCloses NEXT-\nFixes #\n\n--> \nThe docs didn't say what happens when cacheLife is called more than once. In that case the shortest value is used, so this PR adds that.\n\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101005/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/101005/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101004",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/101004/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/101004/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/101004/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101004",
|
||
"id": 6136655660,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL-y2aA",
|
||
"number": 101004,
|
||
"title": "fix: exclude non-prefetchable cache entries from RDC",
|
||
"user": {
|
||
"login": "ahmedgabrrr",
|
||
"id": 92212872,
|
||
"node_id": "U_kgDOBX8OiA",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/92212872?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/ahmedgabrrr",
|
||
"html_url": "https://github.com/ahmedgabrrr",
|
||
"followers_url": "https://api.github.com/users/ahmedgabrrr/followers",
|
||
"following_url": "https://api.github.com/users/ahmedgabrrr/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/ahmedgabrrr/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/ahmedgabrrr/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/ahmedgabrrr/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/ahmedgabrrr/orgs",
|
||
"repos_url": "https://api.github.com/users/ahmedgabrrr/repos",
|
||
"events_url": "https://api.github.com/users/ahmedgabrrr/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/ahmedgabrrr/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 1965625097,
|
||
"node_id": "MDU6TGFiZWwxOTY1NjI1MDk3",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/type:%20next",
|
||
"name": "type: next",
|
||
"color": "f6aff7",
|
||
"default": false,
|
||
"description": "",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-31T15:38:56Z",
|
||
"updated_at": "2026-10-31T15:56:45Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/101004",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101004",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/101004.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/101004.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "This PR fixes an issue where non-prefetchable cache entries were still being included in the Resume Data Cache (RDC), even though they were already excluded from the prerendered result.\r\n\r\nThe issue happened because the RDC serializer wasn't checking the stale value against MIN_PREFETCHABLE_STALE.\r\n\r\nI've updated the serializer to exclude these entries as well, keeping its behavior consistent with the prerendering logic.\r\n\r\nTesting\r\n\r\n- Added an E2E regression test for non-prefetchable cache entries.\r\n\r\n- Verified that the test fails without the fix and passes after applying it.\r\n\r\n- Ran the use-cache E2E test suite in start mode (59 tests passed).\r\n\r\nFixes #100982",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101004/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/101004/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101003",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/101003/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/101003/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/101003/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101003",
|
||
"id": 6135053134,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL9jSzQ",
|
||
"number": 101003,
|
||
"title": "[no-unsafe-inline] Test streaming without framework JavaScript",
|
||
"user": {
|
||
"login": "eps1lon",
|
||
"id": 12292047,
|
||
"node_id": "MDQ6VXNlcjEyMjkyMDQ3",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/12292047?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/eps1lon",
|
||
"html_url": "https://github.com/eps1lon",
|
||
"followers_url": "https://api.github.com/users/eps1lon/followers",
|
||
"following_url": "https://api.github.com/users/eps1lon/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/eps1lon/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/eps1lon/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/eps1lon/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/eps1lon/orgs",
|
||
"repos_url": "https://api.github.com/users/eps1lon/repos",
|
||
"events_url": "https://api.github.com/users/eps1lon/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/eps1lon/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 3129153557,
|
||
"node_id": "MDU6TGFiZWwzMTI5MTUzNTU3",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Next.js%20team",
|
||
"name": "created-by: Next.js team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Next.js team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-31T12:58:01Z",
|
||
"updated_at": "2026-10-31T13:44:00Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "MEMBER",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/101003",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101003",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/101003.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/101003.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "## Summary\n\nAdd production coverage proving that React's external streaming runtime can reveal content independently of framework loading and hydration.\n\nThe fixture has a static shell, a large boundary outlined during prerendering, and a boundary filled at request time. The test holds all scripts and checks that only the shell and fallbacks are visible. It then releases only the external runtime and checks that both boundaries reveal while the shell's `useEffect` hydration marker remains false. Finally, it releases the remaining scripts and checks that the marker becomes true and the content remains visible.\n\n## Verification\n\n- Passed the new production test with webpack and Turbopack.\n- TypeScript, ESLint, and Prettier checks passed.\n\n<!-- NEXT_JS_LLM -->\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101003/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/101003/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101001",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/101001/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/101001/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/101001/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101001",
|
||
"id": 6134164701,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL84BiA",
|
||
"number": 101001,
|
||
"title": "feat(turbopack): Add EmitOption trait for extensible chunking context configuration",
|
||
"user": {
|
||
"login": "sokra",
|
||
"id": 1365881,
|
||
"node_id": "MDQ6VXNlcjEzNjU4ODE=",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/1365881?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/sokra",
|
||
"html_url": "https://github.com/sokra",
|
||
"followers_url": "https://api.github.com/users/sokra/followers",
|
||
"following_url": "https://api.github.com/users/sokra/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/sokra/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/sokra/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/sokra/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/sokra/orgs",
|
||
"repos_url": "https://api.github.com/users/sokra/repos",
|
||
"events_url": "https://api.github.com/users/sokra/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/sokra/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-31T11:13:37Z",
|
||
"updated_at": "2026-10-31T11:41:47Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "MEMBER",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/101001",
|
||
"html_url": "https://github.com/vercel/next.js/pull/101001",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/101001.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/101001.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "Recreates #92807 (by @sokra) on top of current `canary`, which it no longer merges into cleanly. Supersedes #92807.\n\n### What?\n\nReplaces the `MinifyType` / `MangleType` enums and `ChunkingContext::minify_type()` with an extensible `EmitOption` marker-trait system. Each crate now defines its own emit options: `EcmascriptEmitOptions` (full SWC `MinifyOptions`, `indent`, `merged_module_comments`) and `CssEmitOptions` (`minify`, `chunk_item_comments`). Chunking contexts store a heterogeneous `Vec<ResolvedVc<Box<dyn EmitOption>>>`. Consumers look up their option type and fall back to defaults when it's missing.\n\n### Why?\n\n`MinifyType` ties `turbopack-core` to specific minification strategies. Passing full SWC minify options through it would mean adding `swc_core` as a dependency of `turbopack-core`. With `EmitOption`, each crate owns its own options without that coupling.\n\n### How?\n\nThis is the design from #92807. The changes below adapt it to current canary and address the outstanding review comments.\n\n**Review comments from #92807 addressed**\n- `ChunkingContext::emit_options()` no longer has a default impl. All implementors (`BrowserChunkingContext`, `NodeJsChunkingContext`, `UseCacheContentHashChunkingContext`) implement it explicitly.\n- `process_parse_result` takes `&EcmascriptEmitOptions` instead of the `indent` / `merged_module_comments` booleans.\n\n**Adapted to canary**\n- The chunk version is now the shared `turbopack-ecmascript/src/hmr/version.rs` (browser + node). It stores `ReadRef<EcmascriptEmitOptions>` and hashes it with `deterministic_hash()`.\n- The xxh3 `std::hash::Hasher` adapter normalizes integer writes to fixed-width little-endian. That keeps the input bytes for the standard presets independent of the build host's byte order and pointer width.\n- Migrated callers that appeared after #92807: `UseCacheContentHashChunkingContext` (next-api), the service worker chunking context, and the browser runtime chunk.\n- Migrated six newer snapshot fixtures from `minifyType` to `minifyMode`.\n- Updated `turbo_tasks` attributes to current syntax (`serialization = \"skip\"`, `unsafe_ignore`).\n\nEmitted output is unchanged: presets keep 2 compress passes, the reserved `AbortSignal`, deterministic mangling for SSR/edge, and preserved names when mangling is off.\n\n### Verification\n\n- `cargo test -p turbopack-tests --test snapshot`: 134 passed, no snapshot output changes\n- `cargo test -p turbopack-tests --test execution`: 322 passed\n- `cargo test -p turbopack-ecmascript --lib emit_options`: new test, preset hashes are distinct and reproducible\n- `cargo check --workspace --tests`, `cargo clippy` on the touched crates, `cargo fmt --check`\n- Not verified: cross-architecture hash equality for arbitrary custom SWC options. SWC's `GlobalDefs` hashes internally with `FxHasher`. The standard presets don't set it.\n\n<!-- NEXT_JS_LLM_PR -->\n\n\n<!-- fleet 1d0f21ce-2814-4e7e-a962-4673f5c1935c -->",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/101001/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/101001/timeline",
|
||
"performed_via_github_app": {
|
||
"id": 4636436,
|
||
"client_id": "Iv23liA1aRlnuMeIOiLl",
|
||
"slug": "vercel-fleet-prod",
|
||
"node_id": "A_kwHOBnhMWs4ARr8U",
|
||
"owner": {
|
||
"login": "vercel-labs",
|
||
"id": 108547162,
|
||
"node_id": "O_kgDOBnhMWg",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/108547162?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/vercel-labs",
|
||
"html_url": "https://github.com/vercel-labs",
|
||
"followers_url": "https://api.github.com/users/vercel-labs/followers",
|
||
"following_url": "https://api.github.com/users/vercel-labs/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/vercel-labs/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/vercel-labs/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/vercel-labs/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/vercel-labs/orgs",
|
||
"repos_url": "https://api.github.com/users/vercel-labs/repos",
|
||
"events_url": "https://api.github.com/users/vercel-labs/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/vercel-labs/received_events",
|
||
"type": "Organization",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"name": "vercel-fleet-prod",
|
||
"description": null,
|
||
"external_url": "https://vercel.com/vercel-internal-apps/~/connect/scl_gnSvLTNA7Z81ZoAqt86YA",
|
||
"html_url": "https://github.com/apps/vercel-fleet-prod",
|
||
"created_at": "2026-08-18T14:11:09Z",
|
||
"updated_at": "2026-10-14T17:23:14Z",
|
||
"permissions": {
|
||
"actions": "write",
|
||
"checks": "read",
|
||
"contents": "write",
|
||
"deployments": "read",
|
||
"issues": "write",
|
||
"metadata": "read",
|
||
"pull_requests": "write",
|
||
"statuses": "read",
|
||
"workflows": "write"
|
||
},
|
||
"events": [
|
||
"check_run",
|
||
"check_suite",
|
||
"commit_comment",
|
||
"delete",
|
||
"deployment",
|
||
"deployment_status",
|
||
"issues",
|
||
"issue_comment",
|
||
"issue_dependencies",
|
||
"pull_request",
|
||
"pull_request_review",
|
||
"pull_request_review_comment",
|
||
"pull_request_review_thread",
|
||
"push",
|
||
"status",
|
||
"sub_issues",
|
||
"workflow_job",
|
||
"workflow_run"
|
||
]
|
||
},
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100997",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100997/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100997/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100997/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100997",
|
||
"id": 6132650556,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL7tA-g",
|
||
"number": 100997,
|
||
"title": "[ci] Use latest Node.js in future compatibility mode",
|
||
"user": {
|
||
"login": "eps1lon",
|
||
"id": 12292047,
|
||
"node_id": "MDQ6VXNlcjEyMjkyMDQ3",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/12292047?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/eps1lon",
|
||
"html_url": "https://github.com/eps1lon",
|
||
"followers_url": "https://api.github.com/users/eps1lon/followers",
|
||
"following_url": "https://api.github.com/users/eps1lon/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/eps1lon/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/eps1lon/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/eps1lon/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/eps1lon/orgs",
|
||
"repos_url": "https://api.github.com/users/eps1lon/repos",
|
||
"events_url": "https://api.github.com/users/eps1lon/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/eps1lon/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 3129153557,
|
||
"node_id": "MDU6TGFiZWwzMTI5MTUzNTU3",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Next.js%20team",
|
||
"name": "created-by: Next.js team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Next.js team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-31T08:01:20Z",
|
||
"updated_at": "2026-10-31T11:54:09Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "MEMBER",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100997",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100997",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100997.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100997.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "## Summary\n\nExtend the future-compatibility mode from the preceding frame to test the latest released Node.js on GitHub runners and the newest Node.js version supported by Vercel. This catches upcoming runtime incompatibilities without changing the versions used by normal CI runs.\n\n- Resolve and install latest Node.js through fnm in reusable build jobs and setup-node in standalone jobs. Collapse Node-version matrix entries to one latest entry in future mode.\n- Install Corepack explicitly where latest Node.js may no longer bundle it.\n- Use an open-ended `engines.node` range for future-mode deployments so Vercel selects its newest supported major. Keep explicit fixture engine requirements and existing deployment URLs unchanged.\n\n## Verification\n\n- All 51 deployment lifecycle tests passed, including normal and future-mode engine selection, explicit fixture precedence, and existing-deployment no-mutation cases.\n- Locally checked normal/latest workflow selectors and all four Node-version matrix axes.\n- Exercised the fnm shell selection with a stub covering ordinary versions, LTS annotations, Windows-style line endings, and Corepack handling.\n- Not run: actual latest-Node installation on CI, Windows execution, or a live Vercel deployment.\n\n<!-- NEXT_JS_LLM -->",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100997/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100997/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100996",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100996/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100996/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100996/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100996",
|
||
"id": 6132649881,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL7s-xg",
|
||
"number": 100996,
|
||
"title": "[ci] Add scheduled future compatibility checks for deprecations",
|
||
"user": {
|
||
"login": "eps1lon",
|
||
"id": 12292047,
|
||
"node_id": "MDQ6VXNlcjEyMjkyMDQ3",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/12292047?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/eps1lon",
|
||
"html_url": "https://github.com/eps1lon",
|
||
"followers_url": "https://api.github.com/users/eps1lon/followers",
|
||
"following_url": "https://api.github.com/users/eps1lon/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/eps1lon/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/eps1lon/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/eps1lon/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/eps1lon/orgs",
|
||
"repos_url": "https://api.github.com/users/eps1lon/repos",
|
||
"events_url": "https://api.github.com/users/eps1lon/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/eps1lon/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 3129153557,
|
||
"node_id": "MDU6TGFiZWwzMTI5MTUzNTU3",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Next.js%20team",
|
||
"name": "created-by: Next.js team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Next.js team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-31T08:01:15Z",
|
||
"updated_at": "2026-10-31T12:15:24Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "MEMBER",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100996",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100996",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100996.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100996.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "\r\nAdd an opt-in `futureCompat` mode to build-and-test and deploy-release so Node.js deprecations surface as failures before they become breaking changes. This frame keeps the existing Node.js versions. The next frame selects latest Node.js.\r\n\r\n- Enable the mode automatically on Sundays at 07:17 UTC for build-and-test and 10:17 UTC for deploy-release. Scheduled deployments resolve one exact `next@canary` version for all shards.\r\n- Enforce `--throw-deprecation` through the test harness, including fixture and per-call Node options, custom commands, and deployment builds and functions. Preserve the existing child-only pending-deprecation behavior.\r\n- Disable build and passed-test result cache reuse in future mode so checks actually execute. Manual and scheduled runs use full-suite semantics rather than changed-test detection.\r\n- Retry scheduled build-and-test failures twice and deploy-release failures once. After retries are exhausted, send schedule-only Slack notifications from the `bot-autonomous` environment using `FUTURE_COMPAT_SLACK_WEBHOOK_URL`. Non-scheduled runs receive an empty webhook URL and do not send Slack notifications. Manual future-compat runs do not automatically retry.\r\n\r\nThe Slack workflow webhook accepts `commit_title`, `commit_url`, `workflow_run_url`, and `workflow_branch`. The schedules and workflow-run listeners take effect after landing on the default branch.\r\n\r\n## test plan\r\n\r\n- [ ] future compat runs green: [build_and_test](https://github.com/vercel/next.js/actions/runs/41199376914), [e2e_deploy_release]()\r\n ```\r\n $ gh workflow run build_and_test.yml \\\r\n --repo vercel/next.js \\\r\n --ref sebbie/future-compat/deprecations \\\r\n --field futureCompat=true\r\n $ gh workflow run test_e2e_deploy_release.yml \\\r\n --repo vercel/next.js \\\r\n --ref sebbie/future-compat/deprecations \\\r\n --field futureCompat=true \\\r\n --field nextVersion=canary\r\n ````\r\n\r\n<!-- NEXT_JS_LLM -->",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100996/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100996/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100995",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100995/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100995/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100995/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100995",
|
||
"id": 6132433539,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL7iJuQ",
|
||
"number": 100995,
|
||
"title": "turbopack: share module source map tails across module factories",
|
||
"user": {
|
||
"login": "lukesandberg",
|
||
"id": 210140,
|
||
"node_id": "MDQ6VXNlcjIxMDE0MA==",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/210140?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/lukesandberg",
|
||
"html_url": "https://github.com/lukesandberg",
|
||
"followers_url": "https://api.github.com/users/lukesandberg/followers",
|
||
"following_url": "https://api.github.com/users/lukesandberg/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/lukesandberg/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/lukesandberg/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/lukesandberg/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/lukesandberg/orgs",
|
||
"repos_url": "https://api.github.com/users/lukesandberg/repos",
|
||
"events_url": "https://api.github.com/users/lukesandberg/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/lukesandberg/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-31T07:32:14Z",
|
||
"updated_at": "2026-10-31T07:56:17Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100995",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100995",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100995.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100995.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "Stacked on #99969.\n\n### What?\n\nModule source maps are now stored once per module, rather than once per module factory.\n\nA module's map is split into:\n\n- a small **head**: `version`, `file` and `sources`\n- a **tail** `Rope` cell owned by the module-content task, holding every byte after `sources`\n\nEach module factory rewrites only the head's `sources`. Its section-map cell is a `CellRope` made of that rewritten head inline, followed by a reference to the module's tail cell. Chunk source maps nest these factory map ropes. Maps that aren't split (raw maps, minified-factory maps, maps built elsewhere) are stored inline in the `CellRope`, with the same bytes as before.\n\n`.js` and `.js.map` output are unchanged, and the JSON field order of the maps is unchanged.\n\n### Why?\n\n`sources` is the only part of a module's map that differs between that module's factories (one factory per chunking context and async variant). The bytes after it are identical across factories, and they are most of the map: `sourcesContent`, `names` and `mappings`.\n\nBefore this change, every factory persisted a full flattened copy of the module's map. The module content also kept the full map inline, so the same bytes were persisted roughly once per factory plus once more.\n\n### How?\n\n- **`StructuredSourceMap`:**\n - `to_rope` is now split into head and tail writers, so `split()` returns the head plus the serialized tail.\n - `head_to_rope()` followed by the tail reproduces `to_rope()` exactly.\n - The tail also completes a head whose `sources` were rewritten: rewriting never changes which head fields are present, so the separating comma stays correct.\n- **`SplitSourceMap`:** a head plus a tail `ResolvedVc<Rope>`. It is used by `EcmascriptModuleContent` and `EcmascriptChunkItemContent`.\n- **`SectionMap::Split`:** this is how a factory's `Code` carries its map. `Code` is hash-only, so the in-memory value also keeps the tail bytes for code that reads the map synchronously. `Code::resolved_code_cells` persists only the inline head plus the tail reference.\n- **`CodeCells`:** section maps are `CellRope` cells. Reading a factory's code back (`CodeCells::to_code`) reads them, and `CodeComposition::generate_source_map` references them as nested ropes.\n- **Minimal adaptations:**\n - the raw module and CSS runtime chunk items split their maps;\n - `StaticEcmascriptCode` reassembles its module's map.\n\n### Results\n\nOn `bench/nested-deps-app-router-many-pages`, comparing #99969's head (`662113726a`) against this change. Both binaries were release builds without LTO, with `print_cache_item_size_with_compressed`.\n\n**Output equivalence.** Every emitted file is byte-identical between base and change:\n\n| Mode | Steps compared | Files per step |\n|---|---|---:|\n| dev | cold, no edit, second no edit, leaf edit, page edit | 167 |\n| prod, `turbopackMinifyBeforeChunking: true` | the same five steps | 2,652 |\n| prod, whole-chunk minification | cold | 2,652 |\n\n**Dev cold session, persisted task data.** Both runs persisted 61,335 module factory tasks and 9,752 `EcmascriptModuleContent::new` tasks.\n\n| Task | Base raw | Change raw | Base lz4 | Change lz4 |\n|---|---:|---:|---:|---:|\n| `module_factory_with_code_generation_issue` | 344.5 MiB | 219.0 MiB | 129.8 MiB | 79.4 MiB |\n| `EcmascriptModuleContent::new` | 47.7 MiB | 47.6 MiB | 20.6 MiB | 20.1 MiB |\n\nFactory task data drops by about 36% raw and 39% lz4. Module content tasks stay the same size: their tail moves into a cell of the same task, so nothing is persisted twice.\n\nThe cache directory after the cold session went from 275.0 MB to 254.5 MB. That's one run per arm, and the base wrote two snapshots while the change wrote one, so I don't compare whole-session totals. Two other base cold sessions didn't snapshot at all and are excluded (see the follow-up below).\n\n**Prod build, per-item minification on.** Two interleaved runs per binary:\n\n| | Base | Change |\n|---|---|---|\n| Peak RSS | 1,480 / 1,451 MiB | 1,474 / 1,404 MiB |\n| Wall time | 24.0 / 24.2 s | 23.0 / 24.3 s |\n| Persistent cache | 167.0 / 167.0 MB | 165.9 / 165.8 MB |\n\nThe prod effect is small, as expected. Minified factories have their own maps, with rewritten `names` and `mappings`, and those are still stored inline. Peak RSS is the largest single child process, and two runs aren't enough for a memory claim.\n\n### Tests\n\n- **`turbopack-core` unit tests:**\n - head + tail reassembly is byte-identical to `to_rope()`, before and after `sources` rewriting, for swc maps with and without `sourcesContent`, raw and undecodable input maps, maps without `sources`, an empty head, a head-only map and an index map;\n - factory map cells reference the module tail and read as the old flat map, and unsplit structured and raw maps stay inline;\n - a tail-only edit updates the composed map without re-running the composition or changing factory map values.\n- **`turbopack-core` persistence test:** tail edits after restores, including one after the final restore, keep the composition and factory map cells stable and write the new map bytes.\n- **Existing suites:** Turbopack snapshot (136) and execution (325) tests pass without updating any snapshots.\n\n### Follow-ups\n\n- **Minification and persistence:** persisting reference-only per-item minification values, and sharing `sourcesContent` in minified factory maps.\n- **Dev snapshots:** cold dev sessions sometimes never write a snapshot.\n\n<!-- NEXT_JS_LLM -->\n\n\n<!-- fleet f0961053-7ba9-483f-a687-c98399d2ed19 -->",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100995/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100995/timeline",
|
||
"performed_via_github_app": {
|
||
"id": 4636436,
|
||
"client_id": "Iv23liA1aRlnuMeIOiLl",
|
||
"slug": "vercel-fleet-prod",
|
||
"node_id": "A_kwHOBnhMWs4ARr8U",
|
||
"owner": {
|
||
"login": "vercel-labs",
|
||
"id": 108547162,
|
||
"node_id": "O_kgDOBnhMWg",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/108547162?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/vercel-labs",
|
||
"html_url": "https://github.com/vercel-labs",
|
||
"followers_url": "https://api.github.com/users/vercel-labs/followers",
|
||
"following_url": "https://api.github.com/users/vercel-labs/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/vercel-labs/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/vercel-labs/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/vercel-labs/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/vercel-labs/orgs",
|
||
"repos_url": "https://api.github.com/users/vercel-labs/repos",
|
||
"events_url": "https://api.github.com/users/vercel-labs/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/vercel-labs/received_events",
|
||
"type": "Organization",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"name": "vercel-fleet-prod",
|
||
"description": null,
|
||
"external_url": "https://vercel.com/vercel-internal-apps/~/connect/scl_gnSvLTNA7Z81ZoAqt86YA",
|
||
"html_url": "https://github.com/apps/vercel-fleet-prod",
|
||
"created_at": "2026-08-18T14:11:09Z",
|
||
"updated_at": "2026-10-14T17:23:14Z",
|
||
"permissions": {
|
||
"actions": "write",
|
||
"checks": "read",
|
||
"contents": "write",
|
||
"deployments": "read",
|
||
"issues": "write",
|
||
"metadata": "read",
|
||
"pull_requests": "write",
|
||
"statuses": "read",
|
||
"workflows": "write"
|
||
},
|
||
"events": [
|
||
"check_run",
|
||
"check_suite",
|
||
"commit_comment",
|
||
"delete",
|
||
"deployment",
|
||
"deployment_status",
|
||
"issues",
|
||
"issue_comment",
|
||
"issue_dependencies",
|
||
"pull_request",
|
||
"pull_request_review",
|
||
"pull_request_review_comment",
|
||
"pull_request_review_thread",
|
||
"push",
|
||
"status",
|
||
"sub_issues",
|
||
"workflow_job",
|
||
"workflow_run"
|
||
]
|
||
},
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100994",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100994/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100994/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100994/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100994",
|
||
"id": 6132203719,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL7Wweg",
|
||
"number": 100994,
|
||
"title": "Update Rspack development test manifest",
|
||
"user": {
|
||
"login": "next-js-bot[bot]",
|
||
"id": 279046576,
|
||
"node_id": "BOT_kgDOEKHpsA",
|
||
"avatar_url": "https://avatars.githubusercontent.com/in/3491438?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/next-js-bot%5Bbot%5D",
|
||
"html_url": "https://github.com/apps/next-js-bot",
|
||
"followers_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/followers",
|
||
"following_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/orgs",
|
||
"repos_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/repos",
|
||
"events_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/received_events",
|
||
"type": "Bot",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 7550461988,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABwgroJA",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/run-react-18-tests",
|
||
"name": "run-react-18-tests",
|
||
"color": "c2e0c6",
|
||
"default": false,
|
||
"description": "",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-31T07:01:28Z",
|
||
"updated_at": "2026-10-31T07:23:56Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100994",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100994",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100994.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100994.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "This auto-generated PR updates the development integration test manifest used when testing Rspack.",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100994/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100994/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100993",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100993/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100993/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100993/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100993",
|
||
"id": 6132203520,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL7Wv0Q",
|
||
"number": 100993,
|
||
"title": "Update Rspack production test manifest",
|
||
"user": {
|
||
"login": "next-js-bot[bot]",
|
||
"id": 279046576,
|
||
"node_id": "BOT_kgDOEKHpsA",
|
||
"avatar_url": "https://avatars.githubusercontent.com/in/3491438?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/next-js-bot%5Bbot%5D",
|
||
"html_url": "https://github.com/apps/next-js-bot",
|
||
"followers_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/followers",
|
||
"following_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/orgs",
|
||
"repos_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/repos",
|
||
"events_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/received_events",
|
||
"type": "Bot",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 7550461988,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABwgroJA",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/run-react-18-tests",
|
||
"name": "run-react-18-tests",
|
||
"color": "c2e0c6",
|
||
"default": false,
|
||
"description": "",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-31T07:01:26Z",
|
||
"updated_at": "2026-10-31T07:22:55Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100993",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100993",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100993.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100993.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "This auto-generated PR updates the production integration test manifest used when testing Rspack.",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100993/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100993/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100990",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100990/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100990/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100990/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100990",
|
||
"id": 6130844392,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL6SOyA",
|
||
"number": 100990,
|
||
"title": "Don't let a navigation wait on an in-flight loading-boundary prefetch",
|
||
"user": {
|
||
"login": "andriidrok1",
|
||
"id": 221949592,
|
||
"node_id": "U_kgDODTqumA",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/221949592?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/andriidrok1",
|
||
"html_url": "https://github.com/andriidrok1",
|
||
"followers_url": "https://api.github.com/users/andriidrok1/followers",
|
||
"following_url": "https://api.github.com/users/andriidrok1/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/andriidrok1/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/andriidrok1/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/andriidrok1/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/andriidrok1/orgs",
|
||
"repos_url": "https://api.github.com/users/andriidrok1/repos",
|
||
"events_url": "https://api.github.com/users/andriidrok1/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/andriidrok1/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 1965625097,
|
||
"node_id": "MDU6TGFiZWwxOTY1NjI1MDk3",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/type:%20next",
|
||
"name": "type: next",
|
||
"color": "f6aff7",
|
||
"default": false,
|
||
"description": "",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-31T03:54:10Z",
|
||
"updated_at": "2026-10-31T03:54:32Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100990",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100990",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100990.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100990.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "Fixes #100968\n\n### What\n\nA navigation that starts while the target's default prefetch (up to the loading boundary) is still in flight can't commit until that prefetch lands, even if its own response started arriving long before. The URL doesn't change and `loading.js` isn't shown until then.\n\n### Why\n\nIn `createRenderTreeForSegment`, a `Pending` segment cache entry is adopted as the segment's data. If the entry is expected to come back `FullyComplete`, the segment is also left out of the navigation request, so the only thing that can fill it is the prefetch. The segment that owns the loading boundary and the head render outside any Suspense boundary, so the whole transition suspends on the prefetch promise.\n\nHow this came to bite the default link:\n\n- Since 16.3.1-canary.16 (#96788) the non-PPR tree prefetch response no longer carries the head and the segments up to the loading boundary; they come from the separate legacy prefetch request, which the reporter's harness delays. The head is spawned there as a full prefetch, whose pending entry is marked complete and skipped from the navigation request. That's what the reporter saw on 16.4.3: the head alone blocks.\n- #99706 replaced `fetchStrategy` with `stage` + `completeness`, and the loading-boundary prefetch now spawns its segment entries as `Navigation`/`FullyComplete` as well (before, they were `LoadingBoundary`, i.e. partial). On canary the `target` segment blocks the same way as the head.\n\n### How\n\nPending entries spawned by a loading-boundary prefetch get `isLoadingBoundaryPrefetch`, and the navigation treats them as partial: it requests those segments and the head itself, and renders the prefetched data only if it lands first (`prefetchRsc`). This is the path every partial pending entry already takes.\n\nA legacy full prefetch (`prefetch={true}` or `prefetch=\"navigation\"`) keeps the existing behaviour: the navigation waits for it instead of requesting the same segments again (`force-stale` has a test for that). I first tried treating every pending entry as partial; that broke that test, hence the flag.\n\nWhy a flag rather than spawning those entries as `CacheComplete` (which is what the pre-#99706 `isPartial` amounted to): the head is pinged as `Navigation`/`FullyComplete` on both legacy paths, so a `CacheComplete` pending head would fail `doesEntrySatisfyPrefetch` for the next task and spawn a duplicate head revalidation, and `isExistingSegmentEntryPreferred` would rank it below any fulfilled entry. The flag leaves the cache's own bookkeeping alone and only changes what the navigation does with an in-flight entry. A per-task property doesn't work because `createRenderTreeForSegment` only sees the entry.\n\nThe commit itself comes from React's deferred lane: the transition render still suspends on the prefetch promise (`prefetchRsc`), and the deferred render of `rsc` commits once the navigation response arrives. So `loading.js` appears at the first navigation chunk, not at click.\n\nTradeoffs:\n\n- A click that lands during an in-flight loading-boundary prefetch of the same route requests the segments above the boundary and the head again, which the pre-#99706 code did for the segments. For the head that's new: when everything else is cached, the navigation sends a metadata-only request where before it sent nothing, so `generateMetadata` can run twice for that click.\n- With `optimisticRouting` (default) a pending head takes the existing \"render an empty head until the response arrives\" path instead of blocking, so title and meta are blank for the transition window.\n- A pending loading-boundary prefetch that gets rejected (404, rendered-search mismatch) used to suspend that segment until the router re-rendered; now the navigation response fills it.\n- Not covered: under Cache Components a static per-segment prefetch of a fully static route is also `Pending`/`FullyComplete` and awaited, so a slow one still holds a click the same way. Likewise `experimental.dynamicOnHover` upgrades a default link to a full prefetch on hover, so a click in that window waits for it. Both are the same \"wait for a full prefetch\" convention and I left them alone.\n\nThe commit follows the first chunk of the navigation response rather than the prefetch. It doesn't restore the reporter's 16.3.8 numbers, where the head and boundary segments were already fulfilled from the tree response.\n\n### Test\n\nA third case in `test/e2e/app-dir/segment-cache/loading-boundary-prefetch-in-flight`: reveals the link to `/shared/destination`, holds the prefetch response with `router-act`, clicks the link, lets the navigation response through, and asserts the navigation committed (content, pathname, title) while the prefetch is still held. On canary the assertion times out; the navigation commits only when the prefetch is released. `router-act` holds whole responses, so the test can't observe `loading.js` before the page content.\n\nThe reporter's repro (`measure.mjs 5`, `PREFETCH_DELAY_MS=3000`, `next start`, headless Chromium), same machine:\n\n| `next` | URL change (median) | `loading.js` shown | content (median) |\n| --- | --- | --- | --- |\n| 16.5.0-canary.34 | 2720 ms | 0/5 | 2720 ms |\n| this branch | 104 ms | 5/5 | 1304 ms |\n\nRan locally in `next start` (Turbopack and webpack, with and without Cache Components): `segment-cache/{force-stale,loading-boundary-prefetch-in-flight,basic,prefetch-scheduling,metadata,staleness,cached-navigations,no-prefetch,prefetch-auto,prefetch-partial-rsc,prefetch-inlining,prefetch-inlining-no-cache-components,max-prefetch-inlining,dynamic-on-hover,revalidation}`.\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100990/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100990/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100987",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100987/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100987/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100987/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100987",
|
||
"id": 6128983986,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL4zi0g",
|
||
"number": 100987,
|
||
"title": "Update font data",
|
||
"user": {
|
||
"login": "next-js-bot[bot]",
|
||
"id": 279046576,
|
||
"node_id": "BOT_kgDOEKHpsA",
|
||
"avatar_url": "https://avatars.githubusercontent.com/in/3491438?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/next-js-bot%5Bbot%5D",
|
||
"html_url": "https://github.com/apps/next-js-bot",
|
||
"followers_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/followers",
|
||
"following_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/orgs",
|
||
"repos_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/repos",
|
||
"events_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/next-js-bot%5Bbot%5D/received_events",
|
||
"type": "Bot",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 1965625097,
|
||
"node_id": "MDU6TGFiZWwxOTY1NjI1MDk3",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/type:%20next",
|
||
"name": "type: next",
|
||
"color": "f6aff7",
|
||
"default": false,
|
||
"description": "",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 3555423777,
|
||
"node_id": "LA_kwDOBC3Cis7T63Yh",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Font%20(next/font)",
|
||
"name": "Font (next/font)",
|
||
"color": "0D3A54",
|
||
"default": false,
|
||
"description": "Related to Next.js Font Optimization.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 7550461988,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABwgroJA",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/run-react-18-tests",
|
||
"name": "run-react-18-tests",
|
||
"color": "c2e0c6",
|
||
"default": false,
|
||
"description": "",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-31T00:12:30Z",
|
||
"updated_at": "2026-10-31T00:45:49Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100987",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100987",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100987.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100987.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "This auto-generated PR updates font data with latest available",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100987/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100987/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100986",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100986/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100986/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100986/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100986",
|
||
"id": 6128006658,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL4BlKQ",
|
||
"number": 100986,
|
||
"title": "docs: add turbo_tasks consistency guidance for agents",
|
||
"user": {
|
||
"login": "mischnic",
|
||
"id": 4586894,
|
||
"node_id": "MDQ6VXNlcjQ1ODY4OTQ=",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/4586894?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/mischnic",
|
||
"html_url": "https://github.com/mischnic",
|
||
"followers_url": "https://api.github.com/users/mischnic/followers",
|
||
"following_url": "https://api.github.com/users/mischnic/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/mischnic/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/mischnic/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/mischnic/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/mischnic/orgs",
|
||
"repos_url": "https://api.github.com/users/mischnic/repos",
|
||
"events_url": "https://api.github.com/users/mischnic/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/mischnic/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-30T22:35:07Z",
|
||
"updated_at": "2026-10-30T22:53:46Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "MEMBER",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100986",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100986",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100986.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100986.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "### What?\n\nAdd turbo_tasks agent guidance for eventual consistency and cell equality.\n\n### Why?\n\n#100928 showed that separately published cells can be read from different executions during recomputation, causing cross-cell index lookups to panic. #100935 showed a distinct, persistent mismatch: order-insensitive equality can retain an old collection ordering while related indices change.\n\n### How?\n\nDocument safe handling of mixed-generation reads, the distinction between bounds guards and coherent snapshots, and the need for equality to capture observable ordering. Keep the guidance in the existing shared turbo_tasks section of `turbopack/AGENTS.md`, already referenced by `crates/AGENTS.md`, without duplicating instructions.\n\n### Verification\n\n- Reviewed both source PR descriptions and complete diffs, plus the current cell-comparison and lookup APIs.\n- Confirmed existing guidance is unchanged and only `turbopack/AGENTS.md` is modified.\n- Formatting checked manually; workspace Prettier is unavailable. No runtime tests were run for this instructions-only change.\n\n<!-- NEXT_JS_LLM -->\n\n\n<!-- fleet 0c8ecb28-308d-4b94-b67e-439012814b85 -->",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100986/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100986/timeline",
|
||
"performed_via_github_app": {
|
||
"id": 4636436,
|
||
"client_id": "Iv23liA1aRlnuMeIOiLl",
|
||
"slug": "vercel-fleet-prod",
|
||
"node_id": "A_kwHOBnhMWs4ARr8U",
|
||
"owner": {
|
||
"login": "vercel-labs",
|
||
"id": 108547162,
|
||
"node_id": "O_kgDOBnhMWg",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/108547162?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/vercel-labs",
|
||
"html_url": "https://github.com/vercel-labs",
|
||
"followers_url": "https://api.github.com/users/vercel-labs/followers",
|
||
"following_url": "https://api.github.com/users/vercel-labs/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/vercel-labs/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/vercel-labs/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/vercel-labs/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/vercel-labs/orgs",
|
||
"repos_url": "https://api.github.com/users/vercel-labs/repos",
|
||
"events_url": "https://api.github.com/users/vercel-labs/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/vercel-labs/received_events",
|
||
"type": "Organization",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"name": "vercel-fleet-prod",
|
||
"description": null,
|
||
"external_url": "https://vercel.com/vercel-internal-apps/~/connect/scl_gnSvLTNA7Z81ZoAqt86YA",
|
||
"html_url": "https://github.com/apps/vercel-fleet-prod",
|
||
"created_at": "2026-08-18T14:11:09Z",
|
||
"updated_at": "2026-10-14T17:23:14Z",
|
||
"permissions": {
|
||
"actions": "write",
|
||
"checks": "read",
|
||
"contents": "write",
|
||
"deployments": "read",
|
||
"issues": "write",
|
||
"metadata": "read",
|
||
"pull_requests": "write",
|
||
"statuses": "read",
|
||
"workflows": "write"
|
||
},
|
||
"events": [
|
||
"check_run",
|
||
"check_suite",
|
||
"commit_comment",
|
||
"delete",
|
||
"deployment",
|
||
"deployment_status",
|
||
"issues",
|
||
"issue_comment",
|
||
"issue_dependencies",
|
||
"pull_request",
|
||
"pull_request_review",
|
||
"pull_request_review_comment",
|
||
"pull_request_review_thread",
|
||
"push",
|
||
"status",
|
||
"sub_issues",
|
||
"workflow_job",
|
||
"workflow_run"
|
||
]
|
||
},
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100982",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100982/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100982/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100982/events",
|
||
"html_url": "https://github.com/vercel/next.js/issues/100982",
|
||
"id": 6127512177,
|
||
"node_id": "I_kwDOBC3Cis8AAAABbTpqcQ",
|
||
"number": 100982,
|
||
"title": "use cache with cacheLife stale < 30 and expire >= 300 is baked into the build and never revalidates",
|
||
"user": {
|
||
"login": "evanalulu",
|
||
"id": 77488474,
|
||
"node_id": "MDQ6VXNlcjc3NDg4NDc0",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/77488474?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/evanalulu",
|
||
"html_url": "https://github.com/evanalulu",
|
||
"followers_url": "https://api.github.com/users/evanalulu/followers",
|
||
"following_url": "https://api.github.com/users/evanalulu/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/evanalulu/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/evanalulu/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/evanalulu/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/evanalulu/orgs",
|
||
"repos_url": "https://api.github.com/users/evanalulu/repos",
|
||
"events_url": "https://api.github.com/users/evanalulu/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/evanalulu/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-30T21:51:31Z",
|
||
"updated_at": "2026-10-30T21:51:31Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": {
|
||
"id": 1930995,
|
||
"node_id": "IT_kwDOAOSnPM4AHXbz",
|
||
"name": "Bug",
|
||
"description": "An unexpected problem or behavior",
|
||
"color": "red",
|
||
"created_at": "2024-01-25T15:36:35Z",
|
||
"updated_at": "2024-07-26T10:33:22Z",
|
||
"is_enabled": true
|
||
},
|
||
"active_lock_reason": null,
|
||
"sub_issues_summary": {
|
||
"total": 0,
|
||
"completed": 0,
|
||
"percent_completed": 0
|
||
},
|
||
"issue_dependencies_summary": {
|
||
"blocked_by": 0,
|
||
"total_blocked_by": 0,
|
||
"blocking": 0,
|
||
"total_blocking": 0
|
||
},
|
||
"body": "### Link to the code that reproduces this issue\n\nhttps://github.com/evanalulu/next-cachelife-stale-freeze\n\n### To Reproduce\n\n## Steps\n\n```bash\nnpm ci\nnpm run build\nnpm start\n```\n\n`next build` lists no Revalidate or Expire for `/frozen`, and `15s 5m` for `/ok`.\n\nIn a second terminal:\n\n```bash\n# 1. Note the value\ncurl -s localhost:3000/frozen | grep -o 'data-v=\"[^\"]*\"'\n\n# 2. revalidateTag(\"frozen\", \"max\"); the first request after it starts the refresh\ncurl -s -X POST 'localhost:3000/api/revalidate?tag=frozen'\ncurl -s localhost:3000/frozen > /dev/null; sleep 1\ncurl -s localhost:3000/frozen | grep -o 'data-v=\"[^\"]*\"'\n\n# 3. Wait past revalidate (15s); the first request after it starts the refresh\nsleep 20\ncurl -s localhost:3000/frozen > /dev/null; sleep 1\ncurl -s localhost:3000/frozen | grep -o 'data-v=\"[^\"]*\"'\n```\n\n`/frozen` prints the same value all three times.\n\nThen repeat steps 1 to 3 with every `frozen` replaced by `ok`, including\n`tag=frozen`. `/ok` prints a new value after step 2 and again after step 3.\n\n```bash\n# 4. revalidatePath(\"/frozen\") does replace it\ncurl -s -X POST 'localhost:3000/api/revalidate?path=/frozen'\ncurl -s localhost:3000/frozen > /dev/null; sleep 1\ncurl -s localhost:3000/frozen | grep -o 'data-v=\"[^\"]*\"'\n```\n\n`/frozen` prints a new value. Steps 2 and 3 then leave that one unchanged too.\n\nIf port 3000 is taken, use `npm start -- -p <port>` and change the URLs to match.\n\nFurther details\nhttps://github.com/evanalulu/next-cachelife-stale-freeze/blob/main/README.md\n\n### Current vs. Expected behavior\n\n### Current behavior (notes):\n\n- /frozen uses { stale: 0, revalidate: 15, expire: 300 } and keeps the value from next build forever.\n- These don’t change it:\n- revalidateTag('frozen', 'max')\n- revalidateTag('frozen', { expire: 0 })\n- waiting past revalidate (15s)\n- waiting past expire (5 min)\n- restarting next start\n- Only revalidatePath('/frozen') changes it, and then the new value gets stuck the same way.\n- The build’s route table shows no Revalidate or Expire for /frozen.\n- Nothing is logged.\n- /ok is identical except stale: 30, and it refreshes normally.\n\n### Expected behavior (notes):\n\n- Next’s cacheLife docs say “stale under 30 seconds: excluded from prerenders”. So the value should be computed at request time, or at least follow its revalidate, expire and tag like /ok does.\n- The docs also say stale only controls the client-side cache, so it shouldn’t change what the server serves at all.\n\n### Provide environment information\n\n```bash\nOperating System:\n Platform: darwin\n Arch: arm64\n Version: Darwin Kernel Version 27.0.0: Tue Aug 11 21:06:24 PDT 2026; root:xnu-13432.1.9~1/RELEASE_ARM64_T6030\n Available memory (MB): 36864\n Available CPU cores: 12\nBinaries:\n Node: 24.13.1\n npm: 11.8.0\n Yarn: 4.18.0\n pnpm: 10.33.0\nRelevant Packages:\n next: 16.5.0-canary.34 // Latest available version is detected (16.5.0-canary.34).\n eslint-config-next: N/A\n react: 19.3.1\n react-dom: 19.3.1\n typescript: 5.9.3\nNext.js Config:\n output: N/A\n```\n\n### Which area(s) are affected? (Select all that apply)\n\nUse Cache, cacheComponents, Partial Prerendering (PPR)\n\n### Which stage(s) are affected? (Select all that apply)\n\nnext dev (local), next start (local)\n\n### Additional context\n\n_No response_",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100982/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100982/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null,
|
||
"pinned_comment": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100981",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100981/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100981/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100981/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100981",
|
||
"id": 6127068694,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL3RbKA",
|
||
"number": 100981,
|
||
"title": "next-core: read tsconfig compiler options through one typed projection",
|
||
"user": {
|
||
"login": "lukesandberg",
|
||
"id": 210140,
|
||
"node_id": "MDQ6VXNlcjIxMDE0MA==",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/210140?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/lukesandberg",
|
||
"html_url": "https://github.com/lukesandberg",
|
||
"followers_url": "https://api.github.com/users/lukesandberg/followers",
|
||
"following_url": "https://api.github.com/users/lukesandberg/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/lukesandberg/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/lukesandberg/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/lukesandberg/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/lukesandberg/orgs",
|
||
"repos_url": "https://api.github.com/users/lukesandberg/repos",
|
||
"events_url": "https://api.github.com/users/lukesandberg/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/lukesandberg/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-30T21:15:38Z",
|
||
"updated_at": "2026-10-31T07:04:42Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100981",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100981",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100981.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100981.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "## Summary\n\nThe TypeScript, decorators and JSX transform options each walked the tsconfig `extends` chain over raw JSON, one accessor per option. They now read one typed `TsConfigCompilerOptions` cell instead. It holds the options they use (`useDefineForClassFields`, `verbatimModuleSyntax`, `experimentalDecorators`, `emitDecoratorMetadata`, `jsxImportSource`), each taken from the nearest config in the chain that sets it, as TypeScript does.\n\nThis fixes `jsxImportSource` being ignored when it comes from an extended tsconfig. Its accessor returned `Some` for the first config whether or not it set the option, so the chain was never walked for it.\n\nIt also changes one edge case: an empty tsconfig made the JSX options fall back to `JsxTransformOptions::default()`, dropping the runtime and refresh settings. The computed options are now kept.\n\n## Verification\n\n- New test `test_compiler_options_from_extended_tsconfig`: a `jsxImportSource` inherited through `extends` is used, the nearest config wins when both set an option, and an option set in neither stays unset. With the previous accessor it fails (`None` instead of `@emotion/react`).\n- `cargo test -p turbopack-tests --test execution -- resolving`: 33 passed, including the `tsconfig_*` tests\n- `cargo check --workspace --tests`, `cargo clippy -p next-core --tests`: clean\n- `cargo test -p next-core --lib`: pass\n\n<!-- NEXT_JS_LLM -->\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100981/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100981/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100980",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100980/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100980/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100980/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100980",
|
||
"id": 6127067657,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL3RX3g",
|
||
"number": 100980,
|
||
"title": "Turbopack: read package.json main and alias fields through typed projections",
|
||
"user": {
|
||
"login": "lukesandberg",
|
||
"id": 210140,
|
||
"node_id": "MDQ6VXNlcjIxMDE0MA==",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/210140?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/lukesandberg",
|
||
"html_url": "https://github.com/lukesandberg",
|
||
"followers_url": "https://api.github.com/users/lukesandberg/followers",
|
||
"following_url": "https://api.github.com/users/lukesandberg/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/lukesandberg/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/lukesandberg/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/lukesandberg/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/lukesandberg/orgs",
|
||
"repos_url": "https://api.github.com/users/lukesandberg/repos",
|
||
"events_url": "https://api.github.com/users/lukesandberg/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/lukesandberg/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-30T21:15:32Z",
|
||
"updated_at": "2026-10-31T07:15:36Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100980",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100980",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100980.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100980.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "## Summary\n\nWhen resolving into a package, the main fields (`main`, `module`, ...) and the alias field (`browser`) were read straight from the parsed `package.json`. Any edit to that file, such as to `scripts` or `dependencies`, therefore invalidated those resolutions.\n\nThey now go through per-field tasks, like the `exports` and `imports` fields already do:\n- `package_json_string_field(path, field)` returns the field's string\n- `package_json_alias_field(path, field)` returns the alias entries as typed values: `false` means ignore, a string is a request to resolve instead, and anything else is kept as JSON text for the existing error\n\nResolution now depends only on these small cells, so an edit to an unrelated field stops at them. Behavior is unchanged, including the \"invalid alias field value\" issue.\n\n## Verification\n\n- New test `test_package_json_string_field_invalidation`: an edit to `scripts` doesn't re-run a reader of `main`, and a change to `main` does\n- `cargo test -p turbopack-tests --test execution -- resolving`: 33 passed, including `alias_field`, `self_reference` and `exports_field_pattern`\n- `cargo check --workspace --tests`, `cargo clippy -p turbopack-core --tests`: clean\n- `cargo test -p turbopack-core --lib`: the 25 `resolve::` temp-dir tests that fail on macOS fail identically on the base branch; everything else passes\n\n<!-- NEXT_JS_LLM -->\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100980/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100980/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100979",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100979/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100979/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100979/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100979",
|
||
"id": 6125500885,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL2AwyA",
|
||
"number": 100979,
|
||
"title": "test: add sitemap revalidation e2e coverage",
|
||
"user": {
|
||
"login": "mischnic",
|
||
"id": 4586894,
|
||
"node_id": "MDQ6VXNlcjQ1ODY4OTQ=",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/4586894?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/mischnic",
|
||
"html_url": "https://github.com/mischnic",
|
||
"followers_url": "https://api.github.com/users/mischnic/followers",
|
||
"following_url": "https://api.github.com/users/mischnic/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/mischnic/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/mischnic/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/mischnic/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/mischnic/orgs",
|
||
"repos_url": "https://api.github.com/users/mischnic/repos",
|
||
"events_url": "https://api.github.com/users/mischnic/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/mischnic/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-30T19:15:46Z",
|
||
"updated_at": "2026-10-30T20:54:13Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "MEMBER",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100979",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100979",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100979.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100979.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "### What?\n\nAdd general e2e coverage for sitemap regeneration after a time-based revalidation interval, `revalidateTag`, and `revalidatePath`.\n\n### Why?\n\nExisting metadata tests check response shape, prerender settings, and build outputs, but do not verify that a deployed sitemap actually refreshes. These tests cover the stale-sitemap behavior reported in https://github.com/nextjs/adapter-vercel/issues/150 without introducing adapter-specific setup or assertions.\n\n### How?\n\nUse the standard deployment-enabled e2e harness and assert that valid sitemap XML eventually contains a new `lastModified` timestamp. The timed sitemap has a regular route-handler control with the same interval. A separate tagged sitemap has no time-based expiry, so its timestamp changes only after explicit invalidation.\n\nPolling accommodates stale-while-revalidate behavior without depending on provider cache headers. Cache keys, tags, and invalidation paths are suite-specific. ISR assertions run in production and deployment modes; development checks only the generated sitemap response.\n\nThe fixture intentionally uses route segment `revalidate` exports, which are incompatible with Cache Components. The suite is excluded from Cache Components test variants via the existing manifest, while ordinary dev, production, and deployment runs remain enabled.\n\n### Verification\n\n- Focused suite passes with Webpack and Turbopack in production mode.\n- Development response check, TypeScript, ESLint, and Prettier pass.\n- The manifest filter excludes the suite from Cache Components dev, production, and deployment selection and includes it in ordinary selection.\n- Negative controls confirm the timed and tag assertions fail when content stays stale.\n- Ordinary deployment execution is verified by CI; it was not run locally.\n\n<!-- NEXT_JS_LLM -->\n\n\n<!-- fleet 4db6027c-e757-44ea-b0f4-050165cf23cc -->",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100979/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100979/timeline",
|
||
"performed_via_github_app": {
|
||
"id": 4636436,
|
||
"client_id": "Iv23liA1aRlnuMeIOiLl",
|
||
"slug": "vercel-fleet-prod",
|
||
"node_id": "A_kwHOBnhMWs4ARr8U",
|
||
"owner": {
|
||
"login": "vercel-labs",
|
||
"id": 108547162,
|
||
"node_id": "O_kgDOBnhMWg",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/108547162?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/vercel-labs",
|
||
"html_url": "https://github.com/vercel-labs",
|
||
"followers_url": "https://api.github.com/users/vercel-labs/followers",
|
||
"following_url": "https://api.github.com/users/vercel-labs/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/vercel-labs/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/vercel-labs/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/vercel-labs/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/vercel-labs/orgs",
|
||
"repos_url": "https://api.github.com/users/vercel-labs/repos",
|
||
"events_url": "https://api.github.com/users/vercel-labs/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/vercel-labs/received_events",
|
||
"type": "Organization",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"name": "vercel-fleet-prod",
|
||
"description": null,
|
||
"external_url": "https://vercel.com/vercel-internal-apps/~/connect/scl_gnSvLTNA7Z81ZoAqt86YA",
|
||
"html_url": "https://github.com/apps/vercel-fleet-prod",
|
||
"created_at": "2026-08-18T14:11:09Z",
|
||
"updated_at": "2026-10-14T17:23:14Z",
|
||
"permissions": {
|
||
"actions": "write",
|
||
"checks": "read",
|
||
"contents": "write",
|
||
"deployments": "read",
|
||
"issues": "write",
|
||
"metadata": "read",
|
||
"pull_requests": "write",
|
||
"statuses": "read",
|
||
"workflows": "write"
|
||
},
|
||
"events": [
|
||
"check_run",
|
||
"check_suite",
|
||
"commit_comment",
|
||
"delete",
|
||
"deployment",
|
||
"deployment_status",
|
||
"issues",
|
||
"issue_comment",
|
||
"issue_dependencies",
|
||
"pull_request",
|
||
"pull_request_review",
|
||
"pull_request_review_comment",
|
||
"pull_request_review_thread",
|
||
"push",
|
||
"status",
|
||
"sub_issues",
|
||
"workflow_job",
|
||
"workflow_run"
|
||
]
|
||
},
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100978",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100978/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100978/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100978/events",
|
||
"html_url": "https://github.com/vercel/next.js/issues/100978",
|
||
"id": 6125499982,
|
||
"node_id": "I_kwDOBC3Cis8AAAABbRu2Tg",
|
||
"number": 100978,
|
||
"title": "next.config.ts: backport #99743 to 15.5.x — relative imports resolve against process.cwd()",
|
||
"user": {
|
||
"login": "dxdc",
|
||
"id": 7200365,
|
||
"node_id": "MDQ6VXNlcjcyMDAzNjU=",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/7200365?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/dxdc",
|
||
"html_url": "https://github.com/dxdc",
|
||
"followers_url": "https://api.github.com/users/dxdc/followers",
|
||
"following_url": "https://api.github.com/users/dxdc/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/dxdc/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/dxdc/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/dxdc/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/dxdc/orgs",
|
||
"repos_url": "https://api.github.com/users/dxdc/repos",
|
||
"events_url": "https://api.github.com/users/dxdc/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/dxdc/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-30T19:15:42Z",
|
||
"updated_at": "2026-10-30T19:15:42Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"sub_issues_summary": {
|
||
"total": 0,
|
||
"completed": 0,
|
||
"percent_completed": 0
|
||
},
|
||
"issue_dependencies_summary": {
|
||
"blocked_by": 0,
|
||
"total_blocked_by": 0,
|
||
"blocking": 0,
|
||
"total_blocking": 0
|
||
},
|
||
"body": "### Summary\n\nPlease backport #99743 (\"Resolve relative imports in `next.config.ts` from the config directory\", `c632caf`, merged to `canary` on 2026-10-13) to the maintained **15.5.x** line. It fixes #99742.\n\n- **What it fixes:** with the default SWC loader, `next.config.ts` is compiled in memory by `requireFromString`, which never sets the module's `filename`. Relative imports in the config therefore resolve against `process.cwd()` instead of the config's directory, so loading the config from any other directory fails, or silently loads a different file if one exists at the cwd-relative path.\n- **Where the fix is today:** it is in `16.5.0-canary.28`. It is not in `15.5.28` (the current `backport` tag) or `16.4.3`, and I found no backport PR.\n\n### Link to the code that reproduces this issue\n\nhttps://github.com/dxdc/next-config-ts-cwd-repro\n\n### To Reproduce\n\n1. Clone the reproduction into a directory named `app` and install it: `git clone <repo> app && npm --prefix app ci`\n2. From the directory above `app`, build it: `node app/node_modules/next/dist/bin/next build app`\n3. The build fails while loading `next.config.ts`: `Error: Cannot find module './src/headers'`\n4. Build from inside the app instead (`cd app && npx next build`): it succeeds.\n\n### Current vs. Expected behavior\n\n**Current (15.5.28):** a build started from outside the project resolves the relative imports in `next.config.ts` against the working directory, and the config fails to load with `Cannot find module './src/headers'`. We hit this with `firebase deploy`, which loads the config from the repository root of a monorepo: the config's import of `./src/config/securityHeaders` fails, and the Firebase CLI reports only \"An unexpected error has occurred.\"\n\n**Expected:** relative imports in `next.config.ts` resolve from the config file's directory regardless of the working directory, as they do on canary with #99743.\n\n### Provide environment information\n\n```bash\nOperating System:\n Platform: linux\n Arch: x64\n Version: #1 SMP PREEMPT_DYNAMIC @0\n Available memory (MB): 16092\n Available CPU cores: 4\nBinaries:\n Node: 22.22.0\n npm: 10.9.4\n Yarn: 1.22.22\n pnpm: 10.28.0\nRelevant Packages:\n next: 15.5.28\n eslint-config-next: N/A\n react: 19.2.8\n react-dom: 19.2.8\n typescript: 6.0.3\nNext.js Config:\n output: N/A\n```\n\n### Which area(s) are affected?\n\nModule Resolution, TypeScript\n\n### Which stage(s) are affected?\n\nnext build (local), Other (Deployed)\n\n### Additional context\n\n- **The fix is one line** in `packages/next/src/build/next-config-ts/require-hook.ts`, and `requireFromString` is unchanged in 15.5.28, so #99743 should cherry-pick cleanly:\n\n ```diff\n const m = new Module(filename, module.parent!)\n m.paths = paths\n + m.filename = filename\n m._compile(code, filename)\n ```\n\n- **Why a backport rather than an upgrade:** 15.5.x still gets patch releases (15.5.28 shipped on 2026-10-14 under the `backport` tag), and the fix is not in any stable release yet, 16.4.3 included. Moving to 16.x is a major upgrade for us.\n- We are carrying the same one-line change as a patch-package patch on 15.5.28 in the meantime. I am happy to open the cherry-pick PR against the 15.5 branch, or to test a backport build.\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100978/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100978/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null,
|
||
"pinned_comment": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100973",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100973/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100973/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100973/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100973",
|
||
"id": 6124950579,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL1kRLQ",
|
||
"number": 100973,
|
||
"title": "Turbopack: use simd-utf16-len for source position column counting",
|
||
"user": {
|
||
"login": "lukesandberg",
|
||
"id": 210140,
|
||
"node_id": "MDQ6VXNlcjIxMDE0MA==",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/210140?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/lukesandberg",
|
||
"html_url": "https://github.com/lukesandberg",
|
||
"followers_url": "https://api.github.com/users/lukesandberg/followers",
|
||
"following_url": "https://api.github.com/users/lukesandberg/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/lukesandberg/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/lukesandberg/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/lukesandberg/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/lukesandberg/orgs",
|
||
"repos_url": "https://api.github.com/users/lukesandberg/repos",
|
||
"events_url": "https://api.github.com/users/lukesandberg/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/lukesandberg/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-30T18:38:08Z",
|
||
"updated_at": "2026-10-30T21:16:44Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100973",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100973",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100973.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100973.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "## Summary\n\nFollow-up to #100919. `SourcePos::update` uses the local `utf16_len` helper to count the UTF-16 length of the last line segment. This PR backs that helper with the SIMD kernels of [`simd-utf16-len`](https://github.com/SyMind/simd-utf16-len) 0.3.1. The new crate computes the same per-byte formula. Continuation bytes count 0, 4-byte leaders count 2, and every other byte counts 1. The gain matters most on long lines such as minified code. In an earlier synthetic micro-benchmark, a minified one-liner scanned roughly 7–8× faster than with the plain byte loop.\n\nThe crate currently only accepts `&str`, while rope chunks are `&[u8]`. The helper therefore converts with `from_utf8_unchecked`, in an `unsafe` block with this justification:\n\n- `utf16_len` doesn't depend on UTF-8 validity for memory safety. All of its loads are bounded by the slice length, and byte values only affect the count. The crate's internal `# Safety` comments say that UTF-8 is required for safety, but that isn't true; it is only needed for correctness. The crate's maintainer [describes valid UTF-8 as needed \"to produce a meaningful UTF-16 length\"](https://github.com/SyMind/simd-utf16-len/pull/22#issuecomment-6514541196).\n- On targets without SIMD, the crate falls back to `str::encode_utf16().count()`. std specializes `EncodeUtf16::count` as a byte-wise fold that doesn't decode chars, so the same reasoning holds there.\n- This was checked against `simd-utf16-len` 0.3.1 (pinned in `Cargo.lock`) and the pinned toolchain. Re-check before upgrading either.\n\nA TODO tracks switching to the crate's byte-slice API once https://github.com/SyMind/simd-utf16-len/pull/22 lands, which removes the `unsafe`.\n\nThe helper's own unit tests are dropped. The `SourcePos` tests still cover the column semantics.\n\n## Verification\n\n- `cargo test -p turbopack-core --lib`\n- Reviewed the crate's x86_64, aarch64 and wasm32 kernels, its ASCII-prefix helpers and its scalar fallback for loads that depend on byte values. There are none outside tests.\n- Ran the crate under Miri (x86_64) on malformed inputs of 1–320 bytes at several offsets, comparing against the per-byte formula and `encode_utf16().count()`.\n\n<!-- NEXT_JS_LLM -->\n\n\n<!-- fleet 8a1a11e5-9ce4-4f06-b7cb-50485f329e62 -->",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100973/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100973/timeline",
|
||
"performed_via_github_app": {
|
||
"id": 4636436,
|
||
"client_id": "Iv23liA1aRlnuMeIOiLl",
|
||
"slug": "vercel-fleet-prod",
|
||
"node_id": "A_kwHOBnhMWs4ARr8U",
|
||
"owner": {
|
||
"login": "vercel-labs",
|
||
"id": 108547162,
|
||
"node_id": "O_kgDOBnhMWg",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/108547162?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/vercel-labs",
|
||
"html_url": "https://github.com/vercel-labs",
|
||
"followers_url": "https://api.github.com/users/vercel-labs/followers",
|
||
"following_url": "https://api.github.com/users/vercel-labs/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/vercel-labs/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/vercel-labs/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/vercel-labs/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/vercel-labs/orgs",
|
||
"repos_url": "https://api.github.com/users/vercel-labs/repos",
|
||
"events_url": "https://api.github.com/users/vercel-labs/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/vercel-labs/received_events",
|
||
"type": "Organization",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"name": "vercel-fleet-prod",
|
||
"description": null,
|
||
"external_url": "https://vercel.com/vercel-internal-apps/~/connect/scl_gnSvLTNA7Z81ZoAqt86YA",
|
||
"html_url": "https://github.com/apps/vercel-fleet-prod",
|
||
"created_at": "2026-08-18T14:11:09Z",
|
||
"updated_at": "2026-10-14T17:23:14Z",
|
||
"permissions": {
|
||
"actions": "write",
|
||
"checks": "read",
|
||
"contents": "write",
|
||
"deployments": "read",
|
||
"issues": "write",
|
||
"metadata": "read",
|
||
"pull_requests": "write",
|
||
"statuses": "read",
|
||
"workflows": "write"
|
||
},
|
||
"events": [
|
||
"check_run",
|
||
"check_suite",
|
||
"commit_comment",
|
||
"delete",
|
||
"deployment",
|
||
"deployment_status",
|
||
"issues",
|
||
"issue_comment",
|
||
"issue_dependencies",
|
||
"pull_request",
|
||
"pull_request_review",
|
||
"pull_request_review_comment",
|
||
"pull_request_review_thread",
|
||
"push",
|
||
"status",
|
||
"sub_issues",
|
||
"workflow_job",
|
||
"workflow_run"
|
||
]
|
||
},
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100971",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100971/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100971/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100971/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100971",
|
||
"id": 6124479261,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL1Loqg",
|
||
"number": 100971,
|
||
"title": "next-core: deserialize next.config env and output file tracing globs into typed maps",
|
||
"user": {
|
||
"login": "lukesandberg",
|
||
"id": 210140,
|
||
"node_id": "MDQ6VXNlcjIxMDE0MA==",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/210140?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/lukesandberg",
|
||
"html_url": "https://github.com/lukesandberg",
|
||
"followers_url": "https://api.github.com/users/lukesandberg/followers",
|
||
"following_url": "https://api.github.com/users/lukesandberg/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/lukesandberg/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/lukesandberg/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/lukesandberg/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/lukesandberg/orgs",
|
||
"repos_url": "https://api.github.com/users/lukesandberg/repos",
|
||
"events_url": "https://api.github.com/users/lukesandberg/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/lukesandberg/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-30T18:07:39Z",
|
||
"updated_at": "2026-10-31T07:00:04Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100971",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100971",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100971.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100971.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "## Summary\n\n`next.config` `env` and `outputFileTracingIncludes`/`Excludes` were kept as JSON in `NextConfig` and only interpreted when read. The config schema already says what they are:\n- `env`: `Record<string, string>`\n- `outputFileTracingIncludes` / `outputFileTracingExcludes`: `Record<string, string[]>`\n\nThey are now deserialized into `OrderedIndexMap<RcStr, RcStr>` and `OrderedIndexMap<RcStr, Vec<RcStr>>`. `NextConfig` holds typed data with meaningful, order-sensitive equality, which builds on the ordered collections from #100940 and #100964. `NextConfig::env()` and `OutputFileTracingIncludesExcludes::parse` no longer walk JSON.\n\nThe config schema only warns about values of the wrong shape, so the deserializers keep the previous behavior:\n- `env`: string values are kept, and other values are stringified, as the JS side does\n- tracing: a value that isn't an object counts as absent, and globs that aren't strings in an array are skipped\n\n## Verification\n\n- New unit test `test_env_and_output_file_tracing_deserialization`: key order is preserved, non-string `env` values are stringified, and malformed tracing entries are tolerated\n- `cargo check --workspace --tests`, `cargo clippy -p next-core --tests`: clean\n- `cargo test -p next-core --lib`: pass\n- Not run: the `outputFileTracingIncludes` e2e tests\n\n<!-- NEXT_JS_LLM -->\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100971/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100971/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100970",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100970/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100970/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100970/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100970",
|
||
"id": 6124351468,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL1E_EA",
|
||
"number": 100970,
|
||
"title": "Fix Turbopack, ISR Link header duplication, and Safari history sync issues",
|
||
"user": {
|
||
"login": "muaaziqbalvip",
|
||
"id": 246672383,
|
||
"node_id": "U_kgDODrPr_w",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/246672383?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/muaaziqbalvip",
|
||
"html_url": "https://github.com/muaaziqbalvip",
|
||
"followers_url": "https://api.github.com/users/muaaziqbalvip/followers",
|
||
"following_url": "https://api.github.com/users/muaaziqbalvip/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/muaaziqbalvip/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/muaaziqbalvip/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/muaaziqbalvip/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/muaaziqbalvip/orgs",
|
||
"repos_url": "https://api.github.com/users/muaaziqbalvip/repos",
|
||
"events_url": "https://api.github.com/users/muaaziqbalvip/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/muaaziqbalvip/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 1965625097,
|
||
"node_id": "MDU6TGFiZWwxOTY1NjI1MDk3",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/type:%20next",
|
||
"name": "type: next",
|
||
"color": "f6aff7",
|
||
"default": false,
|
||
"description": "",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-30T17:59:34Z",
|
||
"updated_at": "2026-10-30T18:04:34Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100970",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100970",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100970.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100970.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "<!-- Thanks for opening a PR! Your contribution is much appreciated.\nTo make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.\nChoose the right checklist for the change(s) that you're making:\n\n## For Contributors\n\nWe encourage you to use AI to assist you in researching, creating, and reviewing changes. However, you must review and deeply understand the contributions you are making. For this reason, **pull request descriptions from external contributors must be written by a human**.\n\n### Improving Documentation\n\n- Run `pnpm prettier-fix` to fix formatting issues before opening the PR.\n- Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide\n\n### Fixing a bug\n\n- Related issues linked using `fixes #number`\n- Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs\n- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md\n\n### Adding a feature\n\n- Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas)\n- Related issues/discussions are linked using `fixes #number`\n- e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)\n- Documentation added\n- Telemetry added. In case of a feature if it's used or not.\n- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md\n\n### Signed commits\n\n- This repository requires verified commit signatures on protected branches.\n- If this pull request is blocked for unsigned commits, re-sign the commits and force-push the branch.\n- A `Signed-off-by` line in the commit message is not enough.\n\n## For Maintainers\n\n- Minimal description (aim for explaining to someone not on the team to understand the PR)\n- When linking to a Slack thread, you might want to share details of the conclusion\n- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues\n- Add review comments if necessary to explain to the reviewer the logic behind a change\n\n### What?\n\n### Why?\n\n### How?\n\nCloses NEXT-\nFixes #\n\n-->\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100970/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100970/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100968",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100968/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100968/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100968/events",
|
||
"html_url": "https://github.com/vercel/next.js/issues/100968",
|
||
"id": 6123390941,
|
||
"node_id": "I_kwDOBC3Cis8AAAABbPuH3Q",
|
||
"number": 100968,
|
||
"title": "Soft navigation waits for the target's in-flight segment prefetch (page head) instead of showing loading.js (regression in 16.3.1-canary.16, still in 16.4.3)",
|
||
"user": {
|
||
"login": "timson-js",
|
||
"id": 32876800,
|
||
"node_id": "MDQ6VXNlcjMyODc2ODAw",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/32876800?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/timson-js",
|
||
"html_url": "https://github.com/timson-js",
|
||
"followers_url": "https://api.github.com/users/timson-js/followers",
|
||
"following_url": "https://api.github.com/users/timson-js/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/timson-js/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/timson-js/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/timson-js/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/timson-js/orgs",
|
||
"repos_url": "https://api.github.com/users/timson-js/repos",
|
||
"events_url": "https://api.github.com/users/timson-js/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/timson-js/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 3502592891,
|
||
"node_id": "LA_kwDOBC3Cis7QxVN7",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Linking%20and%20Navigating",
|
||
"name": "Linking and Navigating",
|
||
"color": "EFE07C",
|
||
"default": false,
|
||
"description": "Related to Next.js linking (e.g., <Link>) and navigation.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 3555293326,
|
||
"node_id": "LA_kwDOBC3Cis7T6XiO",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Metadata",
|
||
"name": "Metadata",
|
||
"color": "CEC038",
|
||
"default": false,
|
||
"description": "Related to Next.js' Metadata API.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 8068727225,
|
||
"node_id": "LA_kwDOBC3Cis8AAAAB4O8BuQ",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Loading%20UI%20and%20Streaming",
|
||
"name": "Loading UI and Streaming",
|
||
"color": "0e8a16",
|
||
"default": false,
|
||
"description": "Related to loading UI (loading.tsx) and streaming.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-30T16:56:28Z",
|
||
"updated_at": "2026-10-30T16:56:47Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"sub_issues_summary": {
|
||
"total": 0,
|
||
"completed": 0,
|
||
"percent_completed": 0
|
||
},
|
||
"issue_dependencies_summary": {
|
||
"blocked_by": 0,
|
||
"total_blocked_by": 0,
|
||
"blocking": 0,
|
||
"total_blocking": 0
|
||
},
|
||
"body": "### Link to the code that reproduces this issue\n\nhttps://github.com/timson-js/next-head-blocks-navigation-repro\n\n### To Reproduce\n\n1. `npm install`, then `npm run build && npm start` (serves on `http://localhost:3100`).\n2. In another terminal, run `node measure.mjs 5` (Playwright, Chromium).\n - The script opens `/`, which has a single `<Link href=\"/target\">` with the default prefetch.\n - It waits until the `/_tree` prefetch for `/target` has arrived, then clicks the link while\n the segment-data prefetch for `/target` is still in flight.\n - To make that window deterministic, it delays only non-`/_tree` prefetch requests by 3 s,\n standing in for a slow network or a busy prefetch queue. The navigation request is not delayed.\n3. The script prints, per click, the time until the URL changes, until `app/target/loading.js`\n is shown, and until the page content is shown.\n\n`/target` is dynamic (`await connection()` plus a 1.2 s delay) and has its own `loading.js`.\nThe root layout exports a static `metadata`. There is no other config.\n\n### Current vs. Expected behavior\n\n**Expected** (and what 16.3.8 does): the click commits right away. The URL changes and\n`loading.js` is shown within about 70 ms, then the page replaces it once the navigation\nresponse arrives, about 1.2 s later.\n\n**Current** (16.3.1-canary.16 through 16.4.3 and 16.5.0-canary.34): nothing happens on screen\nuntil the delayed **prefetch** resolves. The URL stays on `/`, `loading.js` is never shown,\nand the page appears only when the prefetch finishes, even though the navigation response\narrived after about 1.2 s.\n\nFive runs each, `PREFETCH_DELAY_MS=3000`:\n\n| `next` | URL change (median) | `loading.js` shown | content (median) |\n| ---------------- | ------------------- | ------------------ | ---------------- |\n| 16.3.8 | 71 ms | 5/5 | 1242 ms |\n| 16.4.3 | 2748 ms | 0/5 | 2748 ms |\n| 16.5.0-canary.34 | 2741 ms | 0/5 | 2741 ms |\n\nWith a 6 s prefetch delay, 16.4.3 commits after about 5.75 s. The wait follows the prefetch,\nnot the navigation response.\n\n### Provide environment information\n\n```bash\nOperating System:\n Platform: darwin\n Arch: arm64\n Version: Darwin Kernel Version 27.0.0\n Available memory (MB): 16384\n Available CPU cores: 12\nBinaries:\n Node: 22.18.0\n npm: 11.7.0\n Yarn: 1.22.19\n pnpm: 8.15.9\nRelevant Packages:\n next: 16.4.3 // Latest available version is detected (16.4.3).\n eslint-config-next: N/A\n react: 19.3.1\n react-dom: 19.3.1\n typescript: N/A\nNext.js Config:\n output: N/A\n```\n\n### Which area(s) are affected? (Select all that apply)\n\nLinking and Navigating, Loading UI and Streaming, Metadata\n\n### Which stage(s) are affected? (Select all that apply)\n\nnext start (local), Other (Deployed)\n\n### Additional context\n\n**Bisect** (two runs per version):\n\n| `next` | result |\n| ---------------- | -------------------------- |\n| 16.3.1-canary.15 | good: 102 ms, loading shown |\n| 16.3.1-canary.16 | bad: 2739 ms |\n\nThe first bad release is `16.3.1-canary.16`. Its changelog contains the client cache refactors\n#96788, #96876, #96877 and #96878 (tree and per-segment prefetches converted to\n`NavigationFlightResponse`, unified cache writes) and a React upgrade (#97249).\n\n**Where it waits.** With logging added in `next/dist`, the router takes the soft-navigation\npath immediately: the route tree is cached, so it runs `navigateUsingPrefetchedRouteTree` →\n`completeSoftNavigation` within a few ms of the click. The commit is then held by the page\nhead. The head is a separate segment-cache entry that is still `Pending`, because it travels\nwith the delayed segment prefetch. `Head` in `client/components/app-router.js` returns\n`useDeferredValue(head, prefetchHead)`, which here is a pending promise rendered outside any\nSuspense boundary, so React suspends the whole transition until the prefetch resolves.\n\nAs a control experiment, I patched `Head` to return `null` while its promise is pending. The\nsame scenario on 16.4.3 then commits in 72 ms (3/3) and shows `loading.js`.\n\n**Impact.** In a real app with many links per page (dozens of prefetches, 4 at a time), a click\nin the first seconds after load routinely lands in this window. The link appears to do nothing\nuntil the target's prefetch completes. It reproduces on a fast local machine; it does not need\nCPU contention.\n\n**Related:** #100436 (\"Link click never commits when the navigation starts during the target's\nmetadata-only prefetch\", 16.2.6). Similar trigger, a click while the target's metadata is\nstill being prefetched. There the navigation never commits; here it commits only when the\nprefetch finishes.\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100968/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100968/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null,
|
||
"pinned_comment": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100966",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100966/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100966/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100966/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100966",
|
||
"id": 6123248065,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABL0L2QQ",
|
||
"number": 100966,
|
||
"title": "Turbopack: treat a directory that cannot be read as not found",
|
||
"user": {
|
||
"login": "muaaziqbalvip",
|
||
"id": 246672383,
|
||
"node_id": "U_kgDODrPr_w",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/246672383?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/muaaziqbalvip",
|
||
"html_url": "https://github.com/muaaziqbalvip",
|
||
"followers_url": "https://api.github.com/users/muaaziqbalvip/followers",
|
||
"following_url": "https://api.github.com/users/muaaziqbalvip/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/muaaziqbalvip/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/muaaziqbalvip/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/muaaziqbalvip/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/muaaziqbalvip/orgs",
|
||
"repos_url": "https://api.github.com/users/muaaziqbalvip/repos",
|
||
"events_url": "https://api.github.com/users/muaaziqbalvip/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/muaaziqbalvip/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 1965625097,
|
||
"node_id": "MDU6TGFiZWwxOTY1NjI1MDk3",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/type:%20next",
|
||
"name": "type: next",
|
||
"color": "f6aff7",
|
||
"default": false,
|
||
"description": "",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-30T16:47:21Z",
|
||
"updated_at": "2026-10-30T17:54:38Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100966",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100966",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100966.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100966.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "Fixes vercel/next.js#100870. In disk.rs, raw_read_dir now maps PermissionDenied to NotFound (like NotFound/NotADirectory/ InvalidFilename), so pattern/glob walks (e.g. tracing path.join(dir, \"out\")) skip unreadable folders instead of failing the whole build. Reading an unreadable file directly still errors.\n\nAdds permission_denied_tests in turbo-tasks-fs, a read_matches test in turbopack-core, and a production test app-dir/unreadable-directory.\n\nUpstream: vercel/next.js#100874\n\n<!-- Thanks for opening a PR! Your contribution is much appreciated.\nTo make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below.\nChoose the right checklist for the change(s) that you're making:\n\n## For Contributors\n\nWe encourage you to use AI to assist you in researching, creating, and reviewing changes. However, you must review and deeply understand the contributions you are making. For this reason, **pull request descriptions from external contributors must be written by a human**.\n\n### Improving Documentation\n\n- Run `pnpm prettier-fix` to fix formatting issues before opening the PR.\n- Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide\n\n### Fixing a bug\n\n- Related issues linked using `fixes #number`\n- Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs\n- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md\n\n### Adding a feature\n\n- Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas)\n- Related issues/discussions are linked using `fixes #number`\n- e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)\n- Documentation added\n- Telemetry added. In case of a feature if it's used or not.\n- Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md\n\n### Signed commits\n\n- This repository requires verified commit signatures on protected branches.\n- If this pull request is blocked for unsigned commits, re-sign the commits and force-push the branch.\n- A `Signed-off-by` line in the commit message is not enough.\n\n## For Maintainers\n\n- Minimal description (aim for explaining to someone not on the team to understand the PR)\n- When linking to a Slack thread, you might want to share details of the conclusion\n- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues\n- Add review comments if necessary to explain to the reviewer the logic behind a change\n\n### What?\n\n### Why?\n\n### How?\n\nCloses NEXT-\nFixes #\n\n-->\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100966/reactions",
|
||
"total_count": 1,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 1,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100966/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100964",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100964/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100964/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100964/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100964",
|
||
"id": 6122673550,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABLzuFrg",
|
||
"number": 100964,
|
||
"title": "turbo-tasks: add OrderedJsonValue/OrderedJsonMap with key-order-sensitive equality",
|
||
"user": {
|
||
"login": "lukesandberg",
|
||
"id": 210140,
|
||
"node_id": "MDQ6VXNlcjIxMDE0MA==",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/210140?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/lukesandberg",
|
||
"html_url": "https://github.com/lukesandberg",
|
||
"followers_url": "https://api.github.com/users/lukesandberg/followers",
|
||
"following_url": "https://api.github.com/users/lukesandberg/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/lukesandberg/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/lukesandberg/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/lukesandberg/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/lukesandberg/orgs",
|
||
"repos_url": "https://api.github.com/users/lukesandberg/repos",
|
||
"events_url": "https://api.github.com/users/lukesandberg/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/lukesandberg/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-30T16:12:00Z",
|
||
"updated_at": "2026-10-31T06:50:33Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100964",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100964",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100964.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100964.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "## Summary\n\nAdds `turbo_tasks::OrderedJsonValue` and `turbo_tasks::OrderedJsonMap`. These are the JSON counterparts of the ordered index collections from #100940: wrappers around `serde_json::Value`/`Map` whose `PartialEq`/`Eq` and `Hash` follow object key order. It also moves the JSON values whose consumers read key order onto them.\n\n**Why:** `serde_json` compares and hashes objects ignoring key order. With `preserve_order`, which our build enables through feature unification, `Map`'s `Hash` sorts the entries first. That is consistent with \"JSON objects are unordered\", but some of our consumers read the order:\n- `package.json` `exports`/`imports` conditions are matched in key order, first match wins. Reordering them compared equal, so the cell kept the old content and resolution kept the old priority until the cache was cleared.\n- Loader and plugin options are passed to JavaScript, where key order is observable (a PostCSS `plugins` object is applied in key order, for example).\n\nThe webpack-loader and swc-plugin option types also hashed `serde_json::to_string(...)`, which follows order, while deriving the order-insensitive `Eq`. They now derive `Hash` from the ordered wrapper, so `Hash` and `Eq` agree.\n\nThe wrappers:\n- `Deref` to the inner `Value`/`Map`, so readers don't change\n- pass serde through, and bincode through `turbo_bincode::serde_self_describing` (key order survives persistence)\n- implement `ShrinkToFit`\n- are registered as `NonLocalValue`/`OperationValue`, and `OrderedJsonValue` is also a primitive cell type next to `serde_json::Value`\n\nMigrated:\n- `FileJsonContent::Content`, plus `FileJsonContent::content()`, which now returns `Vc<OrderedJsonValue>`. That cell was the same hazard one step downstream, and the PostCSS config loader reads it.\n- `WebpackLoaderItem.options`, `ResolvedWebpackLoaderItem.options`, and the swc-plugin `JsonValue`\n- `NextConfig.output_file_tracing_includes` / `excludes`\n\n`turbo-tasks` now enables `serde_json/preserve_order` itself. It was already on in every real build; without it, objects are sorted by key and the order carries no information.\n\n## Verification\n\n- New tests:\n - unit tests: reordered (also nested) objects compare and hash differently, and a bincode round trip keeps the order\n - `turbopack-core` `test_exports_conditions_reorder`: rewrites `package.json` with the `exports` conditions reordered within one session and checks that `exports_field` returns the new order. With order-insensitive equality it fails (`[\"import\", \"default\"]` instead of `[\"default\", \"import\"]`).\n- `cargo check --workspace --tests`, and `cargo clippy --tests` for `turbo-tasks`, `turbo-tasks-fs`, `turbopack-core`, `turbopack-ecmascript`, `turbopack-node`, `next-core`: clean\n- Lib tests:\n - `turbo-tasks`, `next-core`: pass\n - `turbo-tasks-fs`: 11 symlink and denied-path tests fail on macOS, and the same 11 fail on the base branch\n - `turbopack-core`: the 25 `resolve::` temp-dir tests fail identically on the base branch; everything else passes\n- Not run: Next.js integration tests\n\n<!-- NEXT_JS_LLM -->\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100964/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100964/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100962",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100962/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100962/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100962/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100962",
|
||
"id": 6121856701,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABLzD_mA",
|
||
"number": 100962,
|
||
"title": "eval: measure Next Dev Loop on Pokédex",
|
||
"user": {
|
||
"login": "aurorascharff",
|
||
"id": 66901228,
|
||
"node_id": "MDQ6VXNlcjY2OTAxMjI4",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/66901228?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/aurorascharff",
|
||
"html_url": "https://github.com/aurorascharff",
|
||
"followers_url": "https://api.github.com/users/aurorascharff/followers",
|
||
"following_url": "https://api.github.com/users/aurorascharff/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/aurorascharff/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/aurorascharff/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/aurorascharff/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/aurorascharff/orgs",
|
||
"repos_url": "https://api.github.com/users/aurorascharff/repos",
|
||
"events_url": "https://api.github.com/users/aurorascharff/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/aurorascharff/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-30T15:21:33Z",
|
||
"updated_at": "2026-10-31T00:29:26Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "CONTRIBUTOR",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100962",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100962",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100962.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100962.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "## Summary\n\nAdd a normal Skill eval, `agent-062-pokedex-dev-loop`, to compare building a Pokédex with and without Next Dev Loop. It uses the existing `PROMPT.md`, `EVAL.ts`, and fixture-setup workflow and is registered with `publish: false`. Merging it adds a runnable eval, not leaderboard results.\n\nThe task pins [Nolan's specification, data, and tests](https://github.com/nolanlawson/agent-framework-benchmark/tree/b95ada03930ca3670c8ff6377c3af815df0ac040) and uses Next.js 16.4.2 with Cache Components and Partial Prefetching enabled. Both conditions receive the same docs pointer, tools, and prompt. Only the treatment installs Next Dev Loop; baseline browser use is optional.\n\nEach attempt returns one pass/fail result. All 54 browser assertions and the required framework settings must pass. The optional metrics comparison reuses the same task and reports tokens, time, model cost, and production page measurements alongside that result. Upstream assets are downloaded at the pinned revision, rather than committed here.\n\nThe PR also fixes observed dev/test port collisions, React-tree JSON output, page-state checks after locator timeouts, and a sorting-test timing issue. Historical run results retain their original setup and remain separate below.\n\nRun the normal comparison with `pnpm eval agent-062-pokedex-dev-loop --variant baseline --variant skills`. [Additional metrics instructions](https://github.com/vercel/next.js/blob/codex/eval-next-dev-loop-ux/evals/studies/next-dev-loop-ux/README.md).\n\n## Results with GPT-6 Sol\n\nGPT-6 Sol (high), Next.js 16.4.2, Cache Components and Partial Prefetching enabled. One 30-minute attempt per condition, using the corrected dev/test isolation and the small Skill fixes.\n\n**Dev Loop used 144% more input tokens, 57% more agent time, and 101% more estimated model cost.** Its app had lower measured main-thread blocking on all six pages, but more JavaScript and layout shift. LCP was lower on one page and higher on five, including one difference below 1%. This pair does not show a clear overall quality gain.\n\nBoth agents finished with 54/54 in their own test runs. Independent verification needs the qualification below; the baseline's success is not stable across checks.\n\n### What the traces show\n\n- Neither run hit the earlier port collision. Dev Loop's React-tree commands returned readable JSON.\n- The baseline used three test commands; Dev Loop used six and also checked runtime errors, browser interactions, and layout. Its runtime-error checks were clear. The extra effort includes debugging and visual adjustments, not just verification.\n\n### Verification note\n\nThe first independent check passed the baseline 54/54 and Dev Loop 53/54. The failed sorting trace showed the upstream helper counting buttons before the streamed header appeared, then clicking the header instead. This PR adds a shared wait for the header, without changing assertions or generated apps.\n\nRechecking both saved apps with that fix gives **baseline 53/54 and Dev Loop 54/54**. The baseline failed the typing/search check after previously passing it; that instability still needs review. The original reports and failed sorting trace are retained. There were exactly two model attempts; verification and regrading made no model calls.\n\n### Agent effort\n\n| Metric | Without Dev Loop | With Dev Loop | Change with Dev Loop |\n| --- | ---: | ---: | --- |\n| App result | Needs review: initially passed, typing check failed on recheck | Passed | Baseline typing check unstable |\n| Input tokens ↓ | 2,545,579 | 6,217,786 | 🔴 +144% |\n| Output tokens ↓ | 19,562 | 27,892 | 🔴 +43% |\n| Agent time ↓ | 5m16s | 8m17s | 🔴 +57% |\n| Estimated model cost ↓ | $0.9054 | $1.8190 | 🔴 +101% |\n\nInput includes cached reads: 2,458,309 / 6,088,822. Agent time includes its own tests and browser checks, excluding setup and independent verification. Cost uses recorded Gateway base rates, including cache pricing; per-request pricing tiers and Sandbox costs are excluded.\n\n### App quality\n\nMedians of three mobile Lighthouse samples per page. ↓ lower is better; ↑ higher is better. Colors describe measured differences, not statistical significance.\n\n| Page | LCP without | LCP with | LCP change | TBT without | TBT with | TBT change |\n| --- | ---: | ---: | --- | ---: | ---: | --- |\n| home | 992 ms | 1,373 ms | 🔴 +38% | 496 ms | 157 ms | 🟢 -68% |\n| home-filtered | 1,268 ms | 1,321 ms | 🔴 +4% | 121 ms | 108 ms | 🟢 -10% |\n| pokemon | 2,046 ms | 2,272 ms | 🔴 +11% | 355 ms | 128 ms | 🟢 -64% |\n| move | 1,313 ms | 1,319 ms | +0.5% (small) | 174 ms | 162 ms | 🟢 -7% |\n| ability | 1,340 ms | 1,449 ms | 🔴 +8% | 126 ms | 108 ms | 🟢 -15% |\n| type | 1,287 ms | 1,017 ms | 🟢 -21% | 148 ms | 116 ms | 🟢 -22% |\n\n| Page | CLS without / with ↓ | JS kB without / with ↓ | Total kB without / with ↓ | Transfer change | Accessibility without / with ↑ |\n| --- | ---: | ---: | ---: | --- | ---: |\n| home | 0.111 / 0.130 | 141.4 / 168.7 | 185.0 / 211.7 | 🔴 +14% | 100 / 100 |\n| home-filtered | 0.111 / 0.130 | 141.4 / 168.7 | 168.3 / 194.9 | 🔴 +16% | 100 / 100 |\n| pokemon | 0.111 / 0.130 | 141.4 / 168.7 | 276.1 / 303.2 | 🔴 +10% | 100 / 100 |\n| move | 0.111 / 0.130 | 141.4 / 168.7 | 201.8 / 224.3 | 🔴 +11% | 100 / 100 |\n| ability | 0.111 / 0.130 | 141.4 / 168.7 | 171.9 / 198.7 | 🔴 +16% | 100 / 100 |\n| type | 0.111 / 0.130 | 141.4 / 168.7 | 204.1 / 221.9 | 🔴 +9% | 100 / 100 |\n\nProduction apps run behind HTTPS and compression with warmed server caches. These are lab page-load measurements, not field Core Web Vitals or a complete human UX review.\n\n\nThe earlier Luna measurements used the previous harness and Skill revision. Compare each pair internally; differences between Luna and Sol also include those setup changes.\n\n<details>\n<summary>Earlier Luna comparisons</summary>\n\n## Earlier Luna results with Cache Components\n\nThese measurements predate the port isolation and Skill changes above. The saved results are unchanged; they do not measure the revised Skill.\n\nGPT-6 Luna (high), Next.js 16.4.2, one attempt per condition, 30-minute coding limit. **Acceptance: without Dev Loop 54/54 (passed); with Dev Loop 54/54 (passed).**\n\nBoth apps pass. In this pair, Dev Loop used **41% more input tokens, 39% more agent time, and 36% more estimated model cost**. Page quality was mixed: LCP was lower on two pages and higher on four. The move page had much higher blocking time and transferred data; the Pokémon page's accessibility score fell from 100 to 96.\n\n↓ lower is better; ↑ higher is better. 🟢 lower measured value, 🔴 higher measured value. Small differences can be noise; one pair does not establish the Skill's average effect.\n\n### Transcript review\n\n- Dev Loop caught a real Cache Components error through `get_errors`: a detail route read `params` outside Suspense. The agent repaired the route boundaries and the follow-up runtime check was clear.\n- Both agents used acceptance failures to drive most later fixes. The baseline also used browser probes and optimized homepage fetching after its tests passed. Dev Loop's final checks made no further code changes.\n- Both hit a dev/test port collision. The treatment also needed more test-and-fix rounds and repeated some React-tree and locator probes. The total time difference therefore includes implementation and harness problems, not just extra verification.\n\nThe saved transcripts support targeted runtime checks, but do not establish an overall quality benefit or isolate the Skill's cost. Full visual review is still pending.\n\n### Agent effort\n\n| Metric | Without Dev Loop | With Dev Loop | Change with Dev Loop |\n| --- | ---: | ---: | --- |\n| Input tokens ↓ | 11,275,590 | 15,900,728 | 🔴 +41% |\n| Output tokens ↓ | 64,717 | 73,711 | 🔴 +14% |\n| Agent time ↓ | 18m23s | 25m38s | 🔴 +39% |\n| Estimated model cost ↓ | $0.1633 | $0.2225 | 🔴 +36% |\n\nCached reads are included in input tokens: 11,117,156 / 15,669,144. Agent time includes its own tests and browser checks, even after the tests pass. Setup and independent verification are excluded. Model costs are estimates from recorded Gateway base rates, including cache pricing; the CLI stream does not preserve per-request pricing tiers. Sandbox costs are excluded.\n\n### App quality\n\nMedians of three mobile Lighthouse samples per page. Lower LCP means the main content appears sooner; lower TBT means less main-thread blocking.\n\n| Page | LCP without | LCP with | LCP change | TBT without | TBT with | TBT change |\n| --- | ---: | ---: | --- | ---: | ---: | --- |\n| home | 1,601 ms | 1,262 ms | 🟢 -21% | 220 ms | 471 ms | 🔴 +115% |\n| home-filtered | 1,367 ms | 1,565 ms | 🔴 +14% | 269 ms | 217 ms | 🟢 -19% |\n| pokemon | 2,172 ms | 2,387 ms | 🔴 +10% | 108 ms | 172 ms | 🔴 +59% |\n| move | 1,271 ms | 1,487 ms | 🔴 +17% | 194 ms | 1,825 ms | 🔴 +838% |\n| ability | 1,057 ms | 1,539 ms | 🔴 +46% | 154 ms | 256 ms | 🔴 +67% |\n| type | 1,394 ms | 1,090 ms | 🟢 -22% | 220 ms | 324 ms | 🔴 +48% |\n\n| Page | CLS without / with ↓ | JS kB without / with ↓ | Total kB without / with ↓ | Transfer change | Accessibility without / with ↑ |\n| --- | ---: | ---: | ---: | --- | ---: |\n| home | 0.092 / 0.087 | 141.9 / 142.4 | 226.2 / 206.6 | 🟢 -9% | 100 / 100 |\n| home-filtered | 0.092 / 0.087 | 141.9 / 142.4 | 209.3 / 180.3 | 🟢 -14% | 100 / 100 |\n| pokemon | 0.092 / 0.087 | 140.8 / 140.8 | 281.2 / 277.5 | 🟢 -1% | 100 / 96 |\n| move | 0.092 / 0.087 | 140.8 / 140.8 | 209.5 / 438.4 | 🔴 +109% | 100 / 100 |\n| ability | 0.092 / 0.087 | 140.8 / 140.8 | 173.0 / 171.6 | -0.8% (small) | 100 / 100 |\n| type | 0.092 / 0.087 | 140.9 / 140.8 | 204.5 / 274.6 | 🔴 +34% | 100 / 100 |\n\nProduction apps run behind HTTPS and compression with warmed server caches. These are lab page-load measurements, not field Core Web Vitals or a complete human UX review.\n\n<details>\n<summary>Earlier results with Cache Components disabled</summary>\n\n### Earlier pair: Cache Components disabled\n\nGPT-6 Luna (high), Next.js 16.4.2, one attempt per condition. Both receive the same specification, docs pointer, browser tools, and 30-minute coding limit. Only the treatment installs Next Dev Loop and asks the agent to follow it. Both prompts require the agent to work until `npm test` passes. Browser use is optional for the baseline; it chose to check desktop and mobile views.\n\n**Result:** Both pass 54/54. Dev Loop takes **86% more agent time** and costs **132% more**. App performance is mixed across pages.\n\n**Reading the tables:** ↓ lower is better; ↑ higher is better. 🟢 improved, 🔴 worsened, = unchanged. These labels describe the measured values; small timing differences can be noise.\n\n### Agent effort\n\n| Metric | Without Dev Loop | With Dev Loop | Change with Dev Loop |\n| --- | ---: | ---: | --- |\n| Checks passed ↑ | 54/54 | 54/54 | = Same |\n| Input tokens ↓ | 4,182,109 | 12,188,644 | 🔴 +191% |\n| Output tokens ↓ | 45,561 | 70,707 | 🔴 +55% |\n| Agent time ↓ | 9m14s | 17m13s | 🔴 +86% |\n| Estimated model cost ↓ | $0.0776 | $0.1800 | 🔴 +132% |\n\nCached reads: **4,069,098 / 11,990,780**, included in input tokens.\n\nCache writes were 112,858 / 197,588 tokens, also included in input and priced separately. Agent time captures coding time, including the agent’s own testing and browser checks; setup and independent grading are excluded. Costs are estimated from recorded Gateway base rates. The transcript aggregates API requests, so per-request pricing tiers and billed cost are unavailable. Sandbox costs are excluded.\n\n### App quality\n\nMedians of three mobile Lighthouse samples per page. **Lower LCP means the main content appears sooner; lower TBT means less main-thread blocking.** Both are lower-is-better measurements.\n\n| Page | LCP without | LCP with | LCP change | TBT without | TBT with | TBT change |\n| --- | ---: | ---: | --- | ---: | ---: | --- |\n| home | 2,159 ms | 1,968 ms | 🟢 -9% | 187 ms | 494 ms | 🔴 +164% |\n| home-filtered | 2,067 ms | 2,228 ms | 🔴 +8% | 116 ms | 358 ms | 🔴 +209% |\n| pokemon | 2,437 ms | 2,441 ms | +0.2% (small) | 147 ms | 340 ms | 🔴 +131% |\n| move | 1,055 ms | 2,080 ms | 🔴 +97% | 476 ms | 306 ms | 🟢 -36% |\n| ability | 1,370 ms | 1,286 ms | 🟢 -6% | 91 ms | 214 ms | 🔴 +135% |\n| type | 870 ms | 1,905 ms | 🔴 +119% | 172 ms | 410 ms | 🔴 +139% |\n\nBoth apps have **zero measured layout shift** and **100/100 automated accessibility** on every page. JavaScript transfer differs by less than 1%. Total transfer varies more, as shown below.\n\n<details>\n<summary>JavaScript and total transfer by page</summary>\n\nLower transferred bytes are better when functionality is preserved.\n\n| Page | JS without | JS with | JS change | Total without | Total with | Total change |\n| --- | ---: | ---: | --- | ---: | ---: | --- |\n| home | 140.5 kB | 140.4 kB | -0.1% (small) | 211.6 kB | 266.3 kB | 🔴 +26% |\n| home-filtered | 140.4 kB | 140.4 kB | -0.1% (small) | 185.0 kB | 248.5 kB | 🔴 +34% |\n| pokemon | 140.4 kB | 140.2 kB | -0.2% (small) | 278.2 kB | 277.8 kB | -0.2% (small) |\n| move | 138.7 kB | 138.7 kB | +0.0% (small) | 433.4 kB | 194.5 kB | 🟢 -55% |\n| ability | 138.7 kB | 138.7 kB | +0.0% (small) | 168.9 kB | 165.9 kB | 🟢 -2% |\n| type | 138.6 kB | 138.6 kB | +0.0% (small) | 273.2 kB | 196.6 kB | 🟢 -28% |\n\n\n</details>\n\nProduction apps run behind HTTPS and compression with warmed server caches. These are lab samples; a full human UX review is still pending.\n\nThe checks run on each saved app in a fresh Sandbox using the original tests and data. The reference app passes 54/54. The collector uses upstream Lighthouse 13.5.0, Playwright 1.64.1, Caddy 2.11.7, and 2-vCPU / 4-GB Sandboxes. This compares guidance within Next.js; it does not reproduce the article’s cross-framework rankings.\n\nThe Dev Loop attempt continued checking runtime behavior and visual layouts after its tests passed. That work is included in its effort totals. Both full transcripts and generated apps are retained for review. One pair does not establish the Skill’s average effect.\n\n\n</details>\n\n\n</details>\n\n## Validation\n\nThe normal runner preview selects `baseline` and `skills`. In Vercel Sandbox, the new `EVAL.ts` passes the saved Sol app (all 54 browser checks), rejects the untouched scaffold, and rejects disabled Cache Components. The standard build validation also passes. No model calls were made for these checks. The shared prompt, docs pointer, and starting app are byte-identical to the saved comparison.\n\nBoth saved Sol apps were independently checked against all 54 assertions and measured with three mobile Lighthouse samples on each of six pages. The sorting-helper fix passes its affected check in both apps; the baseline's separate typing failure remains recorded. Formatting and lint pass.\n\nA live Vercel Sandbox check passed all 54 acceptance tests while the dev app and API kept running. The production build used separate output and preserved dev's files. `agent-browser react tree --json` returned a readable component tree. This reused a saved app and made no model calls.\n\nThe preparation check confirms the pinned template and starting flags, excludes the reference app from the agent workspace, and rejects an incorrect source checksum. The verifier rejects the saved earlier app with Cache Components disabled. Formatting and lint pass. Historical report output is unchanged.\n\n<!-- NEXT_JS_LLM -->\n\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100962/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100962/timeline",
|
||
"performed_via_github_app": {
|
||
"id": 1144995,
|
||
"client_id": "Iv23liVemv8A9if9v0F2",
|
||
"slug": "chatgpt-codex-connector",
|
||
"node_id": "A_kwHOAOQ6Gs4AEXij",
|
||
"owner": {
|
||
"login": "openai",
|
||
"id": 14957082,
|
||
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE0OTU3MDgy",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/14957082?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/openai",
|
||
"html_url": "https://github.com/openai",
|
||
"followers_url": "https://api.github.com/users/openai/followers",
|
||
"following_url": "https://api.github.com/users/openai/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/openai/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/openai/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/openai/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/openai/orgs",
|
||
"repos_url": "https://api.github.com/users/openai/repos",
|
||
"events_url": "https://api.github.com/users/openai/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/openai/received_events",
|
||
"type": "Organization",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"name": "ChatGPT Codex Connector",
|
||
"description": "Bring ChatGPT and Codex to your GitHub repositories.",
|
||
"external_url": "https://www.chatgpt.com",
|
||
"html_url": "https://github.com/apps/chatgpt-codex-connector",
|
||
"created_at": "2025-02-14T01:37:05Z",
|
||
"updated_at": "2026-09-23T18:52:59Z",
|
||
"permissions": {
|
||
"actions": "write",
|
||
"checks": "read",
|
||
"contents": "write",
|
||
"emails": "read",
|
||
"issues": "write",
|
||
"metadata": "read",
|
||
"pull_requests": "write",
|
||
"statuses": "read",
|
||
"workflows": "write"
|
||
},
|
||
"events": [
|
||
"check_run",
|
||
"check_suite",
|
||
"commit_comment",
|
||
"issues",
|
||
"issue_comment",
|
||
"pull_request",
|
||
"pull_request_review",
|
||
"pull_request_review_comment",
|
||
"pull_request_review_thread",
|
||
"repository",
|
||
"status",
|
||
"sub_issues"
|
||
]
|
||
},
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100960",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100960/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100960/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100960/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100960",
|
||
"id": 6120719431,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABLyJ1NA",
|
||
"number": 100960,
|
||
"title": "fix(app-render): stop prerendered Link headers from accumulating on revalidation",
|
||
"user": {
|
||
"login": "linyiru",
|
||
"id": 8616,
|
||
"node_id": "MDQ6VXNlcjg2MTY=",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/8616?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/linyiru",
|
||
"html_url": "https://github.com/linyiru",
|
||
"followers_url": "https://api.github.com/users/linyiru/followers",
|
||
"following_url": "https://api.github.com/users/linyiru/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/linyiru/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/linyiru/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/linyiru/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/linyiru/orgs",
|
||
"repos_url": "https://api.github.com/users/linyiru/repos",
|
||
"events_url": "https://api.github.com/users/linyiru/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/linyiru/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 1965625097,
|
||
"node_id": "MDU6TGFiZWwxOTY1NjI1MDk3",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/type:%20next",
|
||
"name": "type: next",
|
||
"color": "f6aff7",
|
||
"default": false,
|
||
"description": "",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 6835761499,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABl3FxWw",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/tests",
|
||
"name": "tests",
|
||
"color": "ededed",
|
||
"default": false,
|
||
"description": null,
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-30T14:12:12Z",
|
||
"updated_at": "2026-10-30T14:12:34Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": false,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100960",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100960",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100960.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100960.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "### What?\n\nWith `cacheComponents: true`, a `Link` header set in `next.config.js` `headers()` (or by middleware) is duplicated on ISR pages that also emit a React preload `Link` (e.g. an `<img fetchPriority=\"high\">`), and gains one more copy on every background revalidation:\n\n```\nreq 3 Link: </llms.txt>; rel=\"llms-txt\"\n Link: </llms.txt>; rel=\"llms-txt\",</llms.txt>; rel=\"llms-txt\",</hero.png>; rel=preload; as=\"image\"; fetchpriority=\"high\"\nreq 4 Link: </llms.txt>; rel=\"llms-txt\"\n Link: </llms.txt>; rel=\"llms-txt\",</llms.txt>; rel=\"llms-txt\",</llms.txt>; rel=\"llms-txt\",</hero.png>; rel=preload; ...\n...\n```\n\nAn on-demand render (cache `MISS`) of a page not prerendered at build time also returns both the config `Link` and the preload `Link` twice.\n\n### Why?\n\n`prerenderToStream` handles React's `onHeaders` by appending each value to the live response and then storing `res.getHeader(name)` in `metadata.headers`, which becomes the APP_PAGE cache entry's `headers`. That snapshot includes values the render did not produce:\n\n- the `Link` from `headers()` in next.config.js, already on the response before rendering;\n- during a background revalidation, the `Link` values the serving path replayed from the previous cache entry onto the same response.\n\n`app-page-runtime` appends the cache entry's headers to every response after the config headers are set, so each regeneration stores, and later serves, one more copy. On a `MISS` the render has already written the headers to the response, and the same values are appended again from `metadata.headers`.\n\n### How?\n\n`prerenderToStream` now records only the values it produces (React's `onHeaders` output and the redirect `location`) in `metadata.headers`, and no longer writes them to the response. Every consumer of a prerender result already applies `metadata.headers` to the response (`app-page-runtime` for fresh renders and cache hits, the export worker at build time), so the headers reach the client exactly once. A `Link` from middleware or next.config.js is still merged with React's preload `Link` (#73431), because the cached value is appended to the response, not set over it.\n\n`renderToStream` (the dynamic path) is unchanged. It writes `onHeaders` output to the response only and never stores it in `metadata.headers`, so it has no cache entry to accumulate into.\n\nAdded `test/production/app-dir/cache-components-link-header`, which configures a `Link` in `headers()`, renders a `'use cache'` page with a 1s `revalidate` and a high-priority image, and checks the config `Link` and the preload `Link` appear exactly once on every response across four revalidations, for a build-time prerendered page, a prerendered dynamic param, and an on-demand dynamic param. Without the change it fails on webpack (the config `Link` count climbs 1, 2, 3, 4, 5, and the `MISS` response has 2 of each). With the change it passes on both webpack and Turbopack.\n\nOne behavioural difference: the segment-prefetch cache branch returns before the cached headers are replayed, so an RSC segment-prefetch response that happens to trigger a fresh render no longer carries the preload `Link`. Such responses have no use for a preload.\n\nStandalone reproduction: https://github.com/linyiru/next-cache-components-link-header-repro\n\nFixes #100959\n\n<!-- NEXT_JS_LLM -->\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100960/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100960/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100959",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100959/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100959/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100959/events",
|
||
"html_url": "https://github.com/vercel/next.js/issues/100959",
|
||
"id": 6120263378,
|
||
"node_id": "I_kwDOBC3Cis8AAAABbMvO0g",
|
||
"number": 100959,
|
||
"title": "cacheComponents: Link header from next.config headers() is duplicated and grows on every ISR regeneration",
|
||
"user": {
|
||
"login": "linyiru",
|
||
"id": 8616,
|
||
"node_id": "MDQ6VXNlcjg2MTY=",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/8616?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/linyiru",
|
||
"html_url": "https://github.com/linyiru",
|
||
"followers_url": "https://api.github.com/users/linyiru/followers",
|
||
"following_url": "https://api.github.com/users/linyiru/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/linyiru/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/linyiru/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/linyiru/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/linyiru/orgs",
|
||
"repos_url": "https://api.github.com/users/linyiru/repos",
|
||
"events_url": "https://api.github.com/users/linyiru/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/linyiru/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 8259487517,
|
||
"node_id": "LA_kwDOBC3Cis8AAAAB7E3HHQ",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Headers",
|
||
"name": "Headers",
|
||
"color": "0052cc",
|
||
"default": false,
|
||
"description": "Related to the async headers() function.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 0,
|
||
"created_at": "2026-10-30T13:46:40Z",
|
||
"updated_at": "2026-10-30T13:46:56Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "NONE",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"sub_issues_summary": {
|
||
"total": 0,
|
||
"completed": 0,
|
||
"percent_completed": 0
|
||
},
|
||
"issue_dependencies_summary": {
|
||
"blocked_by": 0,
|
||
"total_blocked_by": 0,
|
||
"blocking": 0,
|
||
"total_blocking": 0
|
||
},
|
||
"body": "### Link to the code that reproduces this issue\n\nhttps://github.com/linyiru/next-cache-components-link-header-repro\n\n### To Reproduce\n\n1. `git clone https://github.com/linyiru/next-cache-components-link-header-repro && cd next-cache-components-link-header-repro`\n2. `npm install && npm run build && npm start`\n3. In another terminal, run `./scripts/probe.sh`. It requests `/` every 3s and counts the copies of the `Link` value set in `next.config.js` `headers()`.\n\nThe app has `cacheComponents: true`, a `Link` header on `/` from `headers()`, and a `'use cache'` page with `cacheLife({ stale: 300, revalidate: 2, expire: 3600 })` that renders one `<img fetchPriority=\"high\">`.\n\n### Current vs. Expected behavior\n\n**Expected:** every response carries the configured `Link` value once.\n\n**Current:** the configured value is duplicated, and gains one more copy on every background regeneration, with no upper bound:\n\n```\nrequest 1: llms-txt copies=1 x-nextjs-cache: HIT\nrequest 2: llms-txt copies=1 x-nextjs-cache: STALE\nrequest 3: llms-txt copies=2 x-nextjs-cache: STALE\nrequest 4: llms-txt copies=3 x-nextjs-cache: STALE\n...\nrequest 8: llms-txt copies=7 x-nextjs-cache: STALE\n\nLink: </llms.txt>; rel=\"llms-txt\"\nLink: </llms.txt>; rel=\"llms-txt\",</llms.txt>; rel=\"llms-txt\",…(×7),<https://example.com/hero.webp>; rel=preload; as=\"image\"; fetchpriority=\"high\"\n```\n\nIn production, one of our storefront pages had reached 28 copies (12 KB of response headers) a few hours after a deploy. It would keep growing until a proxy or browser header-size limit rejects the response.\n\nThe bug needs all of these:\n\n- `cacheComponents: true`. Without it, a plain `export const revalidate = 2` page stays at 1 copy.\n- A `Link` header from `next.config.js` `headers()`.\n- React emitting a resource-hint `Link` header (here, from a high-priority image).\n- A background regeneration (ISR).\n\n**Cause.** In `packages/next/src/server/app-render/app-render.tsx`, the headers that end up in the APP_PAGE cache entry are recorded like this:\n\n```js\nconst setMetadataHeader = (name) => {\n metadata.headers ??= {}\n metadata.headers[name] = res.getHeader(name)\n}\n```\n\n`appendHeader` and `setHeader` call it after writing to `res`. React's `onHeaders` (passed through `createOnHeadersCallback(appendHeader)` in the `cacheComponents` prerender path) appends its preload `Link`. At that point `res.getHeader('link')` returns the **whole** value on the response: the copy from `next.config.js` `headers()`, plus, during a background revalidation, the copies the serving path already replayed from the stale entry. All of that is stored in the new entry. The serving path in `app-page.ts` then `appendHeader`s `cachedData.headers` after the config headers, so each regeneration adds one more copy.\n\n**Workaround:** `reactMaxHeadersLength: 0` (commented out in the repro's `next.config.js`). React then emits no `Link` header and the count stays at 1. The preload hints still ship as `<link rel=\"preload\">` in `<head>`.\n\n**Suggested fix:** record only the values the render itself set or appended, instead of reading back `res.getHeader(name)`.\n\n### Provide environment information\n\n```bash\nOperating System:\n Platform: darwin\n Arch: arm64\n Version: Darwin Kernel Version 25.6.0\n Available memory (MB): 32768\n Available CPU cores: 12\nBinaries:\n Node: 22.23.4\n npm: 10.9.9\n Yarn: 1.22.22\n pnpm: 12.11.2\nRelevant Packages:\n next: 16.4.3 // Latest available version is detected (16.4.3).\n eslint-config-next: N/A\n react: 19.2.9\n react-dom: 19.2.9\n typescript: N/A\nNext.js Config:\n output: N/A\n```\n\n### Which area(s) are affected? (Select all that apply)\n\ncacheComponents, Headers, Use Cache\n\n### Which stage(s) are affected? (Select all that apply)\n\nnext start (local), Other (Deployed)\n\n### Additional context\n\n- Also reproduces on `16.5.0-canary.34`. Its `app-render.js` contains the same `setMetadataHeader`.\n- Seen first on 16.4.2 in production: self-hosted `next start` with a custom `cacheHandler`. The handler stores entries verbatim, and the repro uses the default handler.\n- A fix PR with an e2e test will follow and link here.\n",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100959/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100959/timeline",
|
||
"performed_via_github_app": null,
|
||
"state_reason": null,
|
||
"pinned_comment": null
|
||
},
|
||
{
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100958",
|
||
"repository_url": "https://api.github.com/repos/vercel/next.js",
|
||
"labels_url": "https://api.github.com/repos/vercel/next.js/issues/100958/labels{/name}",
|
||
"comments_url": "https://api.github.com/repos/vercel/next.js/issues/100958/comments",
|
||
"events_url": "https://api.github.com/repos/vercel/next.js/issues/100958/events",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100958",
|
||
"id": 6119947605,
|
||
"node_id": "PR_kwDOBC3Cis8AAAABLxhg6Q",
|
||
"number": 100958,
|
||
"title": "fix(next): read server HMR pull from one coherent operation",
|
||
"user": {
|
||
"login": "sokra",
|
||
"id": 1365881,
|
||
"node_id": "MDQ6VXNlcjEzNjU4ODE=",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/1365881?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/sokra",
|
||
"html_url": "https://github.com/sokra",
|
||
"followers_url": "https://api.github.com/users/sokra/followers",
|
||
"following_url": "https://api.github.com/users/sokra/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/sokra/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/sokra/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/sokra/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/sokra/orgs",
|
||
"repos_url": "https://api.github.com/users/sokra/repos",
|
||
"events_url": "https://api.github.com/users/sokra/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/sokra/received_events",
|
||
"type": "User",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"labels": [
|
||
{
|
||
"id": 4771244046,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABHGNoDg",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/Turbopack",
|
||
"name": "Turbopack",
|
||
"color": "FF1E56",
|
||
"default": false,
|
||
"description": "Related to Turbopack with Next.js.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
},
|
||
{
|
||
"id": 4863306216,
|
||
"node_id": "LA_kwDOBC3Cis8AAAABIeAp6A",
|
||
"url": "https://api.github.com/repos/vercel/next.js/labels/created-by:%20Turbopack%20team",
|
||
"name": "created-by: Turbopack team",
|
||
"color": "000000",
|
||
"default": false,
|
||
"description": "PRs by the Turbopack team.",
|
||
"archived_at": null,
|
||
"archived_by": null
|
||
}
|
||
],
|
||
"state": "open",
|
||
"locked": false,
|
||
"assignees": [
|
||
|
||
],
|
||
"milestone": null,
|
||
"comments": 1,
|
||
"created_at": "2026-10-30T13:27:23Z",
|
||
"updated_at": "2026-10-30T15:59:09Z",
|
||
"closed_at": null,
|
||
"assignee": null,
|
||
"author_association": "MEMBER",
|
||
"issue_field_values": [
|
||
|
||
],
|
||
"type": null,
|
||
"active_lock_reason": null,
|
||
"draft": true,
|
||
"pull_request": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/pulls/100958",
|
||
"html_url": "https://github.com/vercel/next.js/pull/100958",
|
||
"diff_url": "https://github.com/vercel/next.js/pull/100958.diff",
|
||
"patch_url": "https://github.com/vercel/next.js/pull/100958.patch",
|
||
"merged_at": null
|
||
},
|
||
"body": "### What?\n\nServer HMR pulls in Turbopack dev now take the snapshot, the output file writes, the per-chunk-list diff and the next baseline from **one** strongly consistent operation, instead of two separate `turbo_tasks.run`s.\n\n### Why?\n\n`project_get_server_hmr_update` used to work in two steps:\n1. Read `server_hmr_snapshot_with_effects_operation` (chunk lists, version `to`, issues, effects) and apply its effects.\n2. In a second run, diff each chunk list through its own root operation, `compute_update_from_version_operation(content, from)`.\n\nThe diff operations only *read* the chunk-list content cells. Their producers weren't part of the diff's call tree. Strong consistency only covers an operation's own call tree, so during lazy activation a diff could read transient content while a producer was still settling. The two runs could also see different states, so a diff might not match the files the first run wrote. JS then stored the snapshot's `to` as the new baseline.\n\nWith `turbopackLazyDynamicImports` and `turbopackLazyDynamicImportsSSR` enabled, this shows up as an SSR `ChunkLoadError` for a lazy-compilation proxy chunk that was never written. After that, every page falls back to client rendering. It's timing dependent and appears mainly under CPU load.\n\n### How?\n\n- New `server_hmr_update_with_effects_operation(project, entry_paths, from: TransientInstance<Option<ServerHmrPullBaseline>>)`:\n - it connects the existing (shared, cached) snapshot-with-effects operation and diffs with plain child task calls;\n - so everything the diff reads is in the call tree of the operation that is read strongly consistently;\n - the pull reads it once with `read_strongly_consistent_and_apply_effects`, so the effects, `to`, issues and update all come from the same settled execution.\n- `ServerHmrPullBaseline` is built once per pull outside Turbo Tasks. It holds one `TransientInstance` per chunk-list version, so the diff task keys stay stable while the pull settles and are never shared between pulls.\n - Once the pull's top-level task finishes, old baselines are not diffed again.\n- A pull **without** a baseline (e.g. the first pull after a restart) has nothing to diff. It reads the shared snapshot operation directly, once, strongly consistently, and returns `NoRuntimeUpdate { to }`. So it doesn't create a per-pull task, and the warm-restart task statistics are unchanged.\n- The snapshot operation stays keyed by `(project, entry_paths)` and shared across pulls.\n- `compute_update_from_version_operation` is removed; it is no longer used.\n- Classification, error propagation and the JS API (`getServerHmrUpdate(from, entryPaths)` and its result) are unchanged.\n\n### Verification\n\n- **Static checks:** `cargo fmt --check`, `cargo check` and `cargo clippy -D warnings` (`next-api`, `next-napi-bindings`, `turbopack-nodejs`) pass. Warnings-denied rustdoc with `--document-private-items` passes. The existing unit tests in `next-api` and `turbopack-nodejs` pass (24).\n- **Existing e2e (dev, Turbopack, locally built native binary):**\n - `test/development/app-dir/server-hmr` passes 19/19. It needs a native build with debug assertions, because the diff events it asserts on only exist there; plain release builds of canary and of this branch fail that one assertion the same way.\n - `lazy-dynamic-imports` 19/19, `lazy-dynamic-chunk-list-collision` 1/1, `lazy-dynamic-nested-imports` 3/3.\n - `test/e2e/filesystem-cache/warm-restart-task-stats.test.ts` passes unchanged in dev, experimental dev and start. (A first version of this PR created a per-pull operation even without a baseline, which this test caught.)\n- **Reproduction:**\n - Setup: 10 `'use client'` pages with nested `React.lazy` imports, a module shared by several lazy paths, and server-only pages with nested async server components. Both lazy flags on. Request the first page, request the server pages, then browse 5 pages. 8 CPU-burning processes on 8 cores; arms alternate.\n - Results:\n\n | Binary (same base) | Sessions | With `ChunkLoadError` | Fully clean |\n |---|---|---|---|\n | canary `00161ce1a` | 14 | 8 | 6 |\n | this PR | 14 | **0** | 14 |\n\n - \"Fully clean\" means all SSR markers present in both SSR responses, RSC 200, and no browser errors, other server errors or panics.\n - After the no-baseline change, another 8 sessions of the final branch under the same load were all fully clean.\n- **Lifetime check (temporary logging, not committed):**\n - Each diff task execution ran inside its own pull.\n - After entry A's pull, a module shared by A and B was edited and only B was pulled. A's old baseline was never diffed again (4 runs).\n- **Cost (temporary task-statistics probe, 3 runs per arm, same fixture and edits):**\n - A settled pull with two chunk lists now creates 3 new tasks instead of 4: 2 diffs plus 1 pull operation, instead of 2 diffs plus 2 per-list root operations.\n - Pulls after an edit also create one task fewer; cache hits are unchanged.\n - Median pull wall time (3 timing runs per arm) is unchanged within noise:\n\n | Pull | canary | this PR |\n |---|---|---|\n | First pull, no baseline | 34.2 ms | 36.2 ms |\n | Settled pull with baseline | 11.0 ms | 11.5 ms |\n | Pull after an edit | 28.25 ms | 28.35 ms |\n | Quick edit cycles | 4.8 ms | 4.9 ms |\n\n- **No new regression test.** The failure depends on the scheduler. A deterministic test of this boundary would need to pause a real Project asset producer partway through its execution, and there's no way to do that without test-only hooks in production code. I didn't add a load-dependent test to CI.\n\n<!-- NEXT_JS_LLM -->\n\n\n<!-- fleet 6fa58661-32d6-42db-a4b1-1a6ded1755f2 -->",
|
||
"closed_by": null,
|
||
"reactions": {
|
||
"url": "https://api.github.com/repos/vercel/next.js/issues/100958/reactions",
|
||
"total_count": 0,
|
||
"+1": 0,
|
||
"-1": 0,
|
||
"laugh": 0,
|
||
"hooray": 0,
|
||
"confused": 0,
|
||
"heart": 0,
|
||
"rocket": 0,
|
||
"eyes": 0
|
||
},
|
||
"timeline_url": "https://api.github.com/repos/vercel/next.js/issues/100958/timeline",
|
||
"performed_via_github_app": {
|
||
"id": 4636436,
|
||
"client_id": "Iv23liA1aRlnuMeIOiLl",
|
||
"slug": "vercel-fleet-prod",
|
||
"node_id": "A_kwHOBnhMWs4ARr8U",
|
||
"owner": {
|
||
"login": "vercel-labs",
|
||
"id": 108547162,
|
||
"node_id": "O_kgDOBnhMWg",
|
||
"avatar_url": "https://avatars.githubusercontent.com/u/108547162?v=4",
|
||
"gravatar_id": "",
|
||
"url": "https://api.github.com/users/vercel-labs",
|
||
"html_url": "https://github.com/vercel-labs",
|
||
"followers_url": "https://api.github.com/users/vercel-labs/followers",
|
||
"following_url": "https://api.github.com/users/vercel-labs/following{/other_user}",
|
||
"gists_url": "https://api.github.com/users/vercel-labs/gists{/gist_id}",
|
||
"starred_url": "https://api.github.com/users/vercel-labs/starred{/owner}{/repo}",
|
||
"subscriptions_url": "https://api.github.com/users/vercel-labs/subscriptions",
|
||
"organizations_url": "https://api.github.com/users/vercel-labs/orgs",
|
||
"repos_url": "https://api.github.com/users/vercel-labs/repos",
|
||
"events_url": "https://api.github.com/users/vercel-labs/events{/privacy}",
|
||
"received_events_url": "https://api.github.com/users/vercel-labs/received_events",
|
||
"type": "Organization",
|
||
"user_view_type": "public",
|
||
"site_admin": false
|
||
},
|
||
"name": "vercel-fleet-prod",
|
||
"description": null,
|
||
"external_url": "https://vercel.com/vercel-internal-apps/~/connect/scl_gnSvLTNA7Z81ZoAqt86YA",
|
||
"html_url": "https://github.com/apps/vercel-fleet-prod",
|
||
"created_at": "2026-08-18T14:11:09Z",
|
||
"updated_at": "2026-10-14T17:23:14Z",
|
||
"permissions": {
|
||
"actions": "write",
|
||
"checks": "read",
|
||
"contents": "write",
|
||
"deployments": "read",
|
||
"issues": "write",
|
||
"metadata": "read",
|
||
"pull_requests": "write",
|
||
"statuses": "read",
|
||
"workflows": "write"
|
||
},
|
||
"events": [
|
||
"check_run",
|
||
"check_suite",
|
||
"commit_comment",
|
||
"delete",
|
||
"deployment",
|
||
"deployment_status",
|
||
"issues",
|
||
"issue_comment",
|
||
"issue_dependencies",
|
||
"pull_request",
|
||
"pull_request_review",
|
||
"pull_request_review_comment",
|
||
"pull_request_review_thread",
|
||
"push",
|
||
"status",
|
||
"sub_issues",
|
||
"workflow_job",
|
||
"workflow_run"
|
||
]
|
||
},
|
||
"state_reason": null
|
||
}
|
||
]
|