avyvar commited on
Commit
6a59bc4
·
verified ·
1 Parent(s): ddc98bc

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. nextjs-95738-assets-hash-salt/.selfbench-manifest.json +10 -0
  2. nextjs-95738-assets-hash-salt/instruction.md +1 -0
  3. nextjs-95738-assets-hash-salt/task.toml +49 -0
  4. nextjs-95799-async-route-init-errors/.selfbench-manifest.json +14 -0
  5. nextjs-95799-async-route-init-errors/instruction.md +1 -0
  6. nextjs-95799-async-route-init-errors/task.toml +49 -0
  7. nextjs-95946-file-sourcemaps/.selfbench-manifest.json +10 -0
  8. nextjs-95946-file-sourcemaps/instruction.md +1 -0
  9. nextjs-95946-file-sourcemaps/task.toml +49 -0
  10. nextjs-95967-single-learn-more-links/.selfbench-manifest.json +14 -0
  11. nextjs-95967-single-learn-more-links/instruction.md +1 -0
  12. nextjs-95967-single-learn-more-links/task.toml +49 -0
  13. nextjs-96173-compression-disconnect/.selfbench-manifest.json +10 -0
  14. nextjs-96173-compression-disconnect/instruction.md +1 -0
  15. nextjs-96173-compression-disconnect/task.toml +49 -0
  16. nextjs-back-before-hydration/.selfbench-manifest.json +10 -0
  17. nextjs-back-before-hydration/instruction.md +1 -0
  18. nextjs-back-before-hydration/task.toml +49 -0
  19. nextjs-byte-budgeted-lru-keys/.selfbench-manifest.json +10 -0
  20. nextjs-byte-budgeted-lru-keys/instruction.md +1 -0
  21. nextjs-byte-budgeted-lru-keys/task.toml +49 -0
  22. nextjs-cache-after-prerender-abort/.selfbench-manifest.json +14 -0
  23. nextjs-cache-after-prerender-abort/instruction.md +1 -0
  24. nextjs-cache-after-prerender-abort/task.toml +49 -0
  25. nextjs-cache-short-expire-dev/.selfbench-manifest.json +10 -0
  26. nextjs-cache-short-expire-dev/instruction.md +9 -0
  27. nextjs-cache-short-expire-dev/task.toml +49 -0
  28. nextjs-catch-all-prefetch-cache/.selfbench-manifest.json +10 -0
  29. nextjs-catch-all-prefetch-cache/instruction.md +5 -0
  30. nextjs-catch-all-prefetch-cache/task.toml +49 -0
  31. nextjs-cna-tailwind-turbopack/.selfbench-manifest.json +14 -0
  32. nextjs-cna-tailwind-turbopack/instruction.md +1 -0
  33. nextjs-debug-build-paths-metadata/.selfbench-manifest.json +10 -0
  34. nextjs-debug-build-paths-metadata/instruction.md +1 -0
  35. nextjs-debug-build-paths-metadata/task.toml +49 -0
  36. nextjs-dev-overlay-encoded-paths/.selfbench-manifest.json +10 -0
  37. nextjs-dev-overlay-encoded-paths/instruction.md +5 -0
  38. nextjs-dev-overlay-encoded-paths/task.toml +49 -0
  39. nextjs-disk-watcher-polling-config/instruction.md +5 -0
  40. nextjs-early-otel-proxy-tracers/.selfbench-manifest.json +10 -0
  41. nextjs-early-otel-proxy-tracers/instruction.md +1 -0
  42. nextjs-early-otel-proxy-tracers/task.toml +49 -0
  43. nextjs-empty-fragment-scroll-ownership/.selfbench-manifest.json +10 -0
  44. nextjs-empty-fragment-scroll-ownership/instruction.md +7 -0
  45. nextjs-empty-fragment-scroll-ownership/task.toml +49 -0
  46. nextjs-generate-static-params-validation/.selfbench-manifest.json +10 -0
  47. nextjs-generate-static-params-validation/instruction.md +1 -0
  48. nextjs-generate-static-params-validation/task.toml +49 -0
  49. nextjs-instant-dev-fetch-lock/.selfbench-manifest.json +10 -0
  50. nextjs-lightningcss-custom-media/.selfbench-manifest.json +10 -0
nextjs-95738-assets-hash-salt/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-95738-assets-hash-salt",
6
+ "difficulty": "hard",
7
+ "definitionSha256": "6987582a8a90bb40d91ce3673c958e0b4d29429ef1cc72fd1acdbe19cab0f76a",
8
+ "testPatchSha256": "8dcde05abca2b8161ec05fce0418970b74c268270e6c167e8d495d47bbe86ece",
9
+ "goldPatchSha256": "0b8dcf0b6629683797b58493a6aac9569f84ce4e6d40d0bf2fbade1d515c85c5"
10
+ }
nextjs-95738-assets-hash-salt/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Ensure the effective output hash salt, including `NEXT_HASH_SALT`, is applied consistently to the server-side `assetsHashes` emitted to build adapters. For otherwise identical builds, changing `NEXT_HASH_SALT` must change the reported hash of every server-side asset across Pages, Pages API, App Pages, and App Routes. Preserve existing behavior when the effective salt is empty and continue emitting complete server-side asset hashes.
nextjs-95738-assets-hash-salt/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-95738-assets-hash-salt"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-95738-assets-hash-salt from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "hard"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-95738-assets-hash-salt"
12
+ difficulty = "hard"
13
+ repo = "vercel/next.js"
14
+ base_commit = "ca414736ba2f97cb17b656a2acc8fc849c131487"
15
+ workdir = "."
16
+ source_pr = 95738
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-95799-async-route-init-errors/.selfbench-manifest.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-95799-async-route-init-errors",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "3c67f82fdcd57e9c273a64b9110478d3815e933a34735be9b9ee6b2c295173c4",
8
+ "testPatchSha256": "52c02c38563647945ba233452dfed454336b0a937aa934a75bdb1fe147e5237b",
9
+ "goldPatchSha256": "fbdbaddf7ee61699917b87d5edf9e9119306406e060968de8fef2befd0b839b4",
10
+ "repair": {
11
+ "model": "gpt-5.6-sol",
12
+ "originalTestPatchSha256": "64140097fd5dcfe0d607823eb99a527278bc6126719f5af39326edd4ec87ac5f"
13
+ }
14
+ }
nextjs-95799-async-route-init-errors/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Preserve errors thrown during asynchronous route-module initialization. In projects using `output: 'export'`, an invalid async route module currently reports its initialization failure as an unhandled rejection instead of failing the build. Make the build report failure with a nonzero exit status. Valid async route modules that are configured for static export must continue to build and emit their output successfully.
nextjs-95799-async-route-init-errors/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-95799-async-route-init-errors"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-95799-async-route-init-errors from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "easy"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-95799-async-route-init-errors"
12
+ difficulty = "easy"
13
+ repo = "vercel/next.js"
14
+ base_commit = "88c05db494bb9036bd3c6dba3801a75b02e96481"
15
+ workdir = "."
16
+ source_pr = 95799
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-95946-file-sourcemaps/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-95946-file-sourcemaps",
6
+ "difficulty": "hard",
7
+ "definitionSha256": "10feb06d32cb2af067254bbc131c6c3d4a37c8de9c7ad5ce6259e4e1a7536737",
8
+ "testPatchSha256": "922182f05a523b14abcdc5995c90011a0a798600ac07f7c46c1bce7aba496957",
9
+ "goldPatchSha256": "66d6613b7596dff798ece57e43942769fe4943adb2099226fbdfab790d3fc608"
10
+ }
nextjs-95946-file-sourcemaps/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Use `file:` source maps for Turbopack in development to avoid repeatedly embedding large `data:` source maps in server-side fake stack-frame scripts. These references must point to the emitted on-disk maps while preserving correct source resolution and symbolication through both attached debuggers and Next.js error reporting, including frames carried through nested Server and Cache rendering. Keep existing fallback behavior for source maps that cannot use an emitted file and for other bundlers.
nextjs-95946-file-sourcemaps/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-95946-file-sourcemaps"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-95946-file-sourcemaps from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "hard"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-95946-file-sourcemaps"
12
+ difficulty = "hard"
13
+ repo = "vercel/next.js"
14
+ base_commit = "e2373498156ba05790e0d771a5f1b598b571a5d9"
15
+ workdir = "."
16
+ source_pr = 95946
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-95967-single-learn-more-links/.selfbench-manifest.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-95967-single-learn-more-links",
6
+ "difficulty": "hard",
7
+ "definitionSha256": "14509672f2109e2bcbeae60836ff4d1e4f20fa4ab180a115f36f36f4ed74010d",
8
+ "testPatchSha256": "ebd287a0ac4751b1ae42b298a2cc785fe398476bb112fd7e0f55ad67cb180641",
9
+ "goldPatchSha256": "72f6ee04694108490bf096235c7079f2b489953ebcee8c0b6841ba677adfd14d",
10
+ "repair": {
11
+ "model": "gpt-5.6-sol",
12
+ "originalTestPatchSha256": "be71df7a6221c08f8158b804a33ddb485064f993799e63fc7b21748de45a493c"
13
+ }
14
+ }
nextjs-95967-single-learn-more-links/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Update the instant and blocking-prerender insight console errors so each message shows its labeled fix options without a documentation URL beneath every option, then ends—after a blank line—with exactly one anchor-less `Learn more: <docs URL>` line. Apply this consistently to body, metadata, viewport, synchronous-I/O (server and client), client-hook, unrendered-segment, and forced full-prefetch insight variants. Preserve the existing fix-option labels and their order, as well as route, expression, and dropped-segment context. The development overlay must continue to recognize and classify these errors with the new URL format. Keep the overlay's individual fix cards and their per-card anchored links unchanged; only the console-message link format should be consolidated.
nextjs-95967-single-learn-more-links/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-95967-single-learn-more-links"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-95967-single-learn-more-links from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "hard"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-95967-single-learn-more-links"
12
+ difficulty = "hard"
13
+ repo = "vercel/next.js"
14
+ base_commit = "380f0946ddd321e7977c8308dd2c1595834feffd"
15
+ workdir = "."
16
+ source_pr = 95967
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-96173-compression-disconnect/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-96173-compression-disconnect",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "7699acd1007027a01c83bd0f089131a04f2000d6a38ec767d8cf9090edae57c7",
8
+ "testPatchSha256": "5b508d2b429e1be85955ca340b64b923b6f46752dc1145dd262cf745b0b7b6cf",
9
+ "goldPatchSha256": "7beea802dbee0f31ed336389dcc89b64d2f1ad2dcdfa3edc73f83dc02d0b04b7"
10
+ }
nextjs-96173-compression-disconnect/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Fix the native-memory leak in server response compression. With the default compression setting enabled, an HTTP client can disconnect after receiving the first part of a compressed response; the zlib context associated with that unfinished response must then be closed and released promptly instead of surviving garbage collection and permanently retaining its deflate state. The fix must cover all requests that pass through Next.js server routing, including production, development, and custom-server usage. Preserve existing behavior for responses that finish normally: gzip responses must still decode to the complete byte-identical payload. Cleanup must also remain safe when compression is disabled or was not activated for a response, without throwing or leaving response listeners behind.
nextjs-96173-compression-disconnect/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-96173-compression-disconnect"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-96173-compression-disconnect from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "easy"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-96173-compression-disconnect"
12
+ difficulty = "easy"
13
+ repo = "vercel/next.js"
14
+ base_commit = "3c4afc1a3a8ea1174c25d79ec5f97f877a28cbee"
15
+ workdir = "."
16
+ source_pr = 96173
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-back-before-hydration/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-back-before-hydration",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "d9af97fe5eb5eba1193c17f05bff389d21907b92fbcfdd68998b0df25b6a56b9",
8
+ "testPatchSha256": "da8e168bc8bc9407e84288dfd1b567e3d8a72b8b924f73c893dc774a6e0efe1e",
9
+ "goldPatchSha256": "a4405506a52cae48af6de349ff6ce10cbd6f30726ec20180d4d9f95c9bf18006"
10
+ }
nextjs-back-before-hydration/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Fix the App Router race that occurs when a user presses Back after a reloaded document has committed but before hydration has installed the router's history listener. Once hydration completes, the rendered route and the browser's current history entry must be reconciled, including entries that differ by pathname or only by search parameters, and subsequent Back/Forward navigation must continue to keep URL and content in sync. Recovery must work both with and without a Suspense boundary above the page and must not cause a full-page reload. Preserve existing behavior for pre-hydration third-party pushState writes, in-page hash navigation, and traversals involving non-App-Router history entries; these must not be mistaken for a missed framework traversal, and the router must remain usable afterward.
nextjs-back-before-hydration/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-back-before-hydration"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-back-before-hydration from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "easy"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-back-before-hydration"
12
+ difficulty = "easy"
13
+ repo = "vercel/next.js"
14
+ base_commit = "55d30fb91d8197597c5c400174f1d38a89333de8"
15
+ workdir = "."
16
+ source_pr = 96252
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-byte-budgeted-lru-keys/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-byte-budgeted-lru-keys",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "18a7681a5e28f51ea0a3c4aab87fbf7031158d88ae9020c40d92840a0ba7dc70",
8
+ "testPatchSha256": "57de89c1b96924df3ff82797502e1d0489612d7b84290569226c1211d7d80c39",
9
+ "goldPatchSha256": "65c72e2dac5500a6c693b2e6be0eb52ff56c59c9d9aa0730aeeebf6677aaaeb4"
10
+ }
nextjs-byte-budgeted-lru-keys/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Make cache keys consume the byte budgets of the remaining in-memory byte-budgeted LRUs. This must cover the incremental memory cache, the default `use cache` handler, the development `staticPathsCache` and `serverComponentsHmrCache`, and the development source-map URL cache. Preserve each cache's existing value-size accounting and configured budget while also accounting for its key storage, so long or numerous keys trigger normal rejection or eviction rather than growing outside the effective budget. Leave count-based caches and the disk-byte LRU unchanged.
nextjs-byte-budgeted-lru-keys/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-byte-budgeted-lru-keys"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-byte-budgeted-lru-keys from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "easy"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-byte-budgeted-lru-keys"
12
+ difficulty = "easy"
13
+ repo = "vercel/next.js"
14
+ base_commit = "cdc390babc3309544a6727866fb408cfa0530a66"
15
+ workdir = "."
16
+ source_pr = 96231
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-cache-after-prerender-abort/.selfbench-manifest.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-cache-after-prerender-abort",
6
+ "difficulty": "medium",
7
+ "definitionSha256": "4c5a63d109a224e92553751fcfe355686a4347da2b7bcad80592ba6679364f83",
8
+ "testPatchSha256": "e565812148e8faea58904689ea536ad979a9d4fd9ef98f4e27bc8f9953efdbe4",
9
+ "goldPatchSha256": "ff104513aec5bd32f0d69bba379508ddb979c518adc570d9b6b0561a5b1c9603",
10
+ "repair": {
11
+ "model": "gpt-5.6-sol",
12
+ "originalTestPatchSha256": "61006677c9fb762dae8e546f085568b2d340fe79cbb39b3353fd631c7e7262f5"
13
+ }
14
+ }
nextjs-cache-after-prerender-abort/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Make cache calls fail if they begin after an App Router prerender has already been aborted. Non-cancellable asynchronous work can outlive a prerender and reach a `use cache` function after that prerender has ended; this abandoned call must not begin or persist a cache fill. In particular, it must never save an empty or incomplete entry that poisons the cache. A later live request or navigation using the same cache must still be able to fill it and render the cached value normally. Preserve normal cache behavior for active prerenders and live requests. The failure from the abandoned call should remain unobservable to userspace because its prerender is already aborted.
nextjs-cache-after-prerender-abort/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-cache-after-prerender-abort"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-cache-after-prerender-abort from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "medium"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-cache-after-prerender-abort"
12
+ difficulty = "medium"
13
+ repo = "vercel/next.js"
14
+ base_commit = "4fd843fb488f770c5b2023ddc58ff4be4ee81f14"
15
+ workdir = "."
16
+ source_pr = 96426
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-cache-short-expire-dev/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-cache-short-expire-dev",
6
+ "difficulty": "hard",
7
+ "definitionSha256": "4a415a7b2c3398e1777dec4c36e06199aa19024262cf53c3fcbf0c5a208bd71a",
8
+ "testPatchSha256": "fd5f001403fbd15f34a60917e506d711469f629cb27364a9fdcc59b4fe5a0d8d",
9
+ "goldPatchSha256": "a1756c2042b34b019cce66e1494ec05da786e8abd73d482453fdc8ec9d82ff7f"
10
+ }
nextjs-cache-short-expire-dev/instruction.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ Improve Cache Components behavior in `next dev` for public `'use cache'` values with an explicitly short expiration, including `cacheLife({ expire: 0 })` and short built-in profiles.
2
+
3
+ On a cold request or client navigation, the cache function should still execute normally and a surrounding Suspense fallback should be observable while it streams. Once populated, the entry must remain usable across development reloads long enough for a warm navigation or reload to serve the previously cached value immediately, without showing the fallback or blocking on regeneration. This must work with both the built-in default cache and a configured custom cache handler.
4
+
5
+ Dynamic request renders that consume one of these short-expiration entries must also refresh it in the background. The current request should receive the stale cached value, while a later reload converges to the newly computed value. For custom handlers, refreshing must execute the cache function and write the result through to the configured backing handler.
6
+
7
+ Do not rewrite or broaden the value's resolved cache lifetime to achieve this. Its actual short `expire` must continue to control staging and cache-life propagation, so client-only values remain excluded from the static shell and nested caches are not incorrectly classified as dynamic. The change is development-only: production expiration and configured-handler behavior must remain unchanged.
8
+
9
+ Preserve the existing development cache optimizations for private caches and `cacheMaxMemorySize: 0`. Also preserve custom-handler coherence: if the backing cache is invalidated or purged out of band, a development fast-path must stop serving its stale copy and eventually regenerate rather than retaining it indefinitely.
nextjs-cache-short-expire-dev/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-cache-short-expire-dev"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-cache-short-expire-dev from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "hard"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-cache-short-expire-dev"
12
+ difficulty = "hard"
13
+ repo = "vercel/next.js"
14
+ base_commit = "5ffbe9c38ac01608a158086efc40204e9294cc07"
15
+ workdir = "."
16
+ source_pr = 95362
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-catch-all-prefetch-cache/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-catch-all-prefetch-cache",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "fa62d48e4d5ac76da7328fdb64b2649fe05a71f4a5b15344ffa7e59e351d538f",
8
+ "testPatchSha256": "f11a50a0e082dae33c70a174c6ca93fdef8ae896bd48a17e3fd25cfe48513f02",
9
+ "goldPatchSha256": "3d5bccc4629ac45a5d35983ac7df492a6a6e62f6ac7844b0a2d1e2c19337cedc"
10
+ }
nextjs-catch-all-prefetch-cache/instruction.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Fix client navigation between sibling pages of an optional catch-all route. If a fully static catch-all index is prefetched first, navigating to another slug must fetch and render that slug instead of updating the URL while leaving the index content on screen.
2
+
3
+ An App Shell may be reused across parameter values only when it is actually parameter-independent. A response without a shell/full split is not sufficient evidence, because it may be a concrete prerender whose content depends on the requested params. Use the segment parameter-dependency information reported by the server when it is available. If it is unavailable, conservatively assume every parameter varies, except that a true shell variant may still be shared across its parameter fallbacks.
4
+
5
+ The behavior must work whether the vary-params optimization is enabled or disabled. Prefetching the index, navigating to it, then prefetching and navigating to a sibling slug must show the sibling's content and preserve the expected prefetch/network behavior.
nextjs-catch-all-prefetch-cache/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-catch-all-prefetch-cache"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-catch-all-prefetch-cache from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "easy"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-catch-all-prefetch-cache"
12
+ difficulty = "easy"
13
+ repo = "vercel/next.js"
14
+ base_commit = "d73f5622e226358dcef8cf7a8a373333ff265ae7"
15
+ workdir = "."
16
+ source_pr = 96553
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-cna-tailwind-turbopack/.selfbench-manifest.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-cna-tailwind-turbopack",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "08449f519d2a061c27695707d2184efe5aeec10ec909b2529e840c05c29ff022",
8
+ "testPatchSha256": "e3928a6324c1f2da658bcab21930c1977ed1669947a289eef1365860c8c33290",
9
+ "goldPatchSha256": "083f05c2980d0a846f5f15bfc417d1e54656c0df732336a39c4e76a504decc4b",
10
+ "repair": {
11
+ "model": "gpt-5.6-sol",
12
+ "originalTestPatchSha256": "9775eeb4d10b81e141dc84d75ef92497eaa6e568a4904856dc954170ca6d6ddb"
13
+ }
14
+ }
nextjs-cna-tailwind-turbopack/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Update create-next-app's Tailwind project generation so projects using Turbopack use `@tailwindcss/turbopack` through a Turbopack CSS loader rule instead of the PostCSS integration. Turbopack-generated Tailwind projects must omit `postcss.config.mjs` and `@tailwindcss/postcss`, include `@tailwindcss/turbopack` and `tailwindcss`, and compile and render the template's Tailwind styles in production. Projects generated for non-Turbopack bundlers must continue to use `@tailwindcss/postcss` and `postcss.config.mjs`.
nextjs-debug-build-paths-metadata/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-debug-build-paths-metadata",
6
+ "difficulty": "medium",
7
+ "definitionSha256": "58d05410632b7c872db9e662d33f7ecbd7f30396948726ead24372d9d25208ea",
8
+ "testPatchSha256": "6f25644c0ca0982309f26aecbcbd6a641bb03bda3eef28e22b724e0aaa8eba04",
9
+ "goldPatchSha256": "89fcde521ce435fb137f9c32a23b1bce48ef9bff3175322b3a10b49e1478f9bb"
10
+ }
nextjs-debug-build-paths-metadata/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Update `next build --debug-build-paths` so selective builds support App Router metadata routes. The selected App Router files should follow the same route-file semantics as a normal App Router build, including dynamic metadata files such as robots and sitemap routes and the project's configured page extensions. Selecting metadata files must build their public routes without pulling unrelated routes into the build. Preserve selective building for ordinary App Router pages and route handlers, Pages Router routes, and the existing path, glob, negation, and `src/` input forms.
nextjs-debug-build-paths-metadata/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-debug-build-paths-metadata"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-debug-build-paths-metadata from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "medium"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-debug-build-paths-metadata"
12
+ difficulty = "medium"
13
+ repo = "vercel/next.js"
14
+ base_commit = "b3480cfdd5ed2fa687bc80d7bda89812ca0cf487"
15
+ workdir = "."
16
+ source_pr = 95788
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-dev-overlay-encoded-paths/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-dev-overlay-encoded-paths",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "8525ebedaba5681b28ea1ebbaff800533d8dd4634b40f0d71da174b529429a56",
8
+ "testPatchSha256": "74dca14614da07e2bbeee64a7a25460cc887e77371a3ffb8e8f203bff6eb0407",
9
+ "goldPatchSha256": "11ba79ca237b9b94f20b226d8cca606205a49d2d2c8a7d0156939246d31d8e36"
10
+ }
nextjs-dev-overlay-encoded-paths/instruction.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Fix development-overlay symbolication for projects whose absolute path contains characters that must be percent-encoded in URLs.
2
+
3
+ When running a Turbopack development server from directories containing spaces, non-ASCII Unicode, or square brackets, server-rendering errors should be symbolicated just as they are in ordinary project paths. Both terminal stack traces and the browser development overlay must show project-relative source filenames, correct function/line/column locations, and a source code frame instead of exposing raw `file://` URLs or omitting the frame.
4
+
5
+ Preserve existing handling for ordinary paths and other valid stack-frame inputs. React-generated filename forms that cannot round-trip losslessly may remain unsupported.
nextjs-dev-overlay-encoded-paths/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-dev-overlay-encoded-paths"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-dev-overlay-encoded-paths from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "easy"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-dev-overlay-encoded-paths"
12
+ difficulty = "easy"
13
+ repo = "vercel/next.js"
14
+ base_commit = "1a028f7f0336759191636eb48add8c6d4ba16bce"
15
+ workdir = "."
16
+ source_pr = 96221
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 3300.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 3000.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 3000.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-disk-watcher-polling-config/instruction.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ Improve Turbopack's disk watcher configuration and polling behavior.
2
+
3
+ Introduce a `DiskWatcherConfig` that centralizes recursive watching mode, polling interval, and invalidation-reason reporting, and make each disk filesystem's watcher use the options it was created with. Keep the existing platform-appropriate native watcher defaults and the force-watch-mode debugging override. When polling is enabled without an explicit recursive-mode override, use non-recursive watching on every platform so polling only scans directories that have actually been tracked.
4
+
5
+ Polling reports ordinary file edits as write-time metadata changes, so those events must invalidate file data and expose updated contents. This special handling must apply only to polling. Native `MetadataKind::Any` events should count as file-data changes only on macOS; on other platforms, metadata-only changes must not invalidate cached file contents. Update affected callers to the centralized configuration API while preserving their current watcher and invalidation-reason behavior.
nextjs-early-otel-proxy-tracers/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-early-otel-proxy-tracers",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "f9f57f09faf25390c6d0d7688f926147b37127dad2488587a6f3d2a5d77426a2",
8
+ "testPatchSha256": "f7527b1d488f112edbdd8cd501f328d38a8346dfb9df679248fd9f86d6addb13",
9
+ "goldPatchSha256": "00bd0b1107800252fccb21a184747501cbb5712e4a84e6f8858d7c4942a30845"
10
+ }
nextjs-early-otel-proxy-tracers/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ Fix Cache Components prerenders for OpenTelemetry tracers acquired before provider registration. When an early tracer later delegates to the registered provider, creating spans through it must behave like using a tracer acquired after registration: internal span-ID randomness must not be observed as application dynamism or cause an unstable `Math.random()` prerender failure. Preserve the existing behavior of normal tracer lookup and span creation.
nextjs-early-otel-proxy-tracers/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-early-otel-proxy-tracers"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-early-otel-proxy-tracers from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "easy"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-early-otel-proxy-tracers"
12
+ difficulty = "easy"
13
+ repo = "vercel/next.js"
14
+ base_commit = "a7b04690e655c20d7637c589d81abf278754661b"
15
+ workdir = "."
16
+ source_pr = 95317
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-empty-fragment-scroll-ownership/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-empty-fragment-scroll-ownership",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "021464f60a63ba4ffe6569c8fd4f903232eb03a3f2b08086e96b1733c2dcb891",
8
+ "testPatchSha256": "af059e3fe80131513b4729d8d1e9872d47c4c7d7b8f4cc9221cd2ad1385ef3f3",
9
+ "goldPatchSha256": "1a20fee04de4de42b52e0ab6c8fbc86afd123b1b6abf6668413cfa70b55f1e0f"
10
+ }
nextjs-empty-fragment-scroll-ownership/instruction.md ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ Fix route scroll ownership for empty React Fragments in App Router navigation.
2
+
3
+ Requirements:
4
+ - A changed route segment whose Fragment has no client rectangles is not an available route scroll target. It must not consume the shared scroll intent, so another changed segment can handle it.
5
+ - When an empty segment cannot claim scroll ownership, navigation must preserve the current scroll position and focus without producing scroll or focus side effects.
6
+ - Explicit hash navigation remains distinct: when a matching target exists, scroll to it; when no target matches, consume and clear the hash intent without falling back to route content and without changing scroll or focus.
7
+ - Keep behavior consistent across both App Router scroll handlers, including intercepted routes with empty and visible content.
nextjs-empty-fragment-scroll-ownership/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-empty-fragment-scroll-ownership"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-empty-fragment-scroll-ownership from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "easy"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-empty-fragment-scroll-ownership"
12
+ difficulty = "easy"
13
+ repo = "vercel/next.js"
14
+ base_commit = "7e01f56f5b7b236dd8457f3248c28bec7ac5f84d"
15
+ workdir = "."
16
+ source_pr = 96342
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-generate-static-params-validation/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-generate-static-params-validation",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "2ff28939af1188e2cd5329e6502c5b64dd940c792f8bf5b9d8f0b34e05e0da50",
8
+ "testPatchSha256": "1b69eac9d1ea0d53c653f680ebb33c6dd2e29676cc3018f1ac08981b98bc80ef",
9
+ "goldPatchSha256": "05feffde69ae7ca73d30e3c722e7143fca43a35810088f96b880911dbd8df1de"
10
+ }
nextjs-generate-static-params-validation/instruction.md ADDED
@@ -0,0 +1 @@
 
 
1
+ `generateStaticParams` must return an array of parameter objects. Add validation so invalid return values fail with a clear error that identifies `generateStaticParams` and the expected shape. Throw when the returned value is not an array, and throw when any item in the returned array is not an object. Continue accepting an empty parameter object (`{}`) as a valid array item.
nextjs-generate-static-params-validation/task.toml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ schema_version = "1.4"
2
+ artifacts = ["/opt/selfbench/agent.patch"]
3
+
4
+ [task]
5
+ name = "selfbench/nextjs-generate-static-params-validation"
6
+ version = "1.0.0"
7
+ description = "Reproduce nextjs-generate-static-params-validation from its authentic engineer request."
8
+ keywords = ["software-engineering", "private-swe", "selfbench", "easy"]
9
+
10
+ [metadata]
11
+ selfbench_task_id = "nextjs-generate-static-params-validation"
12
+ difficulty = "easy"
13
+ repo = "vercel/next.js"
14
+ base_commit = "45eb5ae0bc963d2ff6dc9a50bf48f336e80153d0"
15
+ workdir = "."
16
+ source_pr = 95968
17
+ compiler_revision = 22
18
+
19
+ [agent]
20
+ timeout_sec = 2400.0
21
+ user = "agent"
22
+ network_mode = "allowlist"
23
+ allowed_hosts = ["chatgpt.com", "*.chatgpt.com", "openai.com", "*.openai.com"]
24
+
25
+ [verifier]
26
+ timeout_sec = 1800.0
27
+ user = "root"
28
+ environment_mode = "separate"
29
+ network_mode = "public"
30
+
31
+ [[verifier.collect]]
32
+ service = "main"
33
+ user = "root"
34
+ timeout_sec = 300.0
35
+ command = "git --git-dir=/opt/selfbench/base.git --work-tree=/app add -A && git --git-dir=/opt/selfbench/base.git --work-tree=/app diff --cached --binary HEAD > /opt/selfbench/agent.patch"
36
+
37
+ [environment]
38
+ network_mode = "public"
39
+ build_timeout_sec = 1500.0
40
+ cpus = 4
41
+ memory_mb = 8192
42
+ storage_mb = 20480
43
+
44
+ [verifier.environment]
45
+ network_mode = "public"
46
+ build_timeout_sec = 1500.0
47
+ cpus = 4
48
+ memory_mb = 8192
49
+ storage_mb = 20480
nextjs-instant-dev-fetch-lock/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-instant-dev-fetch-lock",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "f6219c95cc04daefcefff54c6d48973a237802fce1a6fdff5954c68e4db987ba",
8
+ "testPatchSha256": "d2607a3f04684edcd8d5d7b87c551be603133346d7d12e7f936a6f56d3aa82f7",
9
+ "goldPatchSha256": "a887d81ec749d42e36b5f76fa4bee8bd4de82c3e35d275daa070eaafa5755ad8"
10
+ }
nextjs-lightningcss-custom-media/.selfbench-manifest.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "generator": "selfbench",
3
+ "harborSchemaVersion": "1.4",
4
+ "compilerRevision": 22,
5
+ "taskId": "nextjs-lightningcss-custom-media",
6
+ "difficulty": "easy",
7
+ "definitionSha256": "0816e0e6492c5a6ba29ed2fa604f7be92f56b7d3e8689b71c76182c0fa14e299",
8
+ "testPatchSha256": "2f876d4f79df310051c26952094d8a0b3ba348d62d3cc04d5ac36401275f8700",
9
+ "goldPatchSha256": "10ca8d1c88d1b74c9caf414027861ebf199a76ed6404f09beaa278c85710183c"
10
+ }