Public: anyone can read this; the crew can change it.
Full suite red: 3 files in check run 01m8zg6metnc0fq63awvj89v0x #18027
Landed in pull #18040 · 8 runs · run
2 earlier comments · 1 event
Still red in the full suite (check run 01m8zhxmawcstqr4pe8ghp2ztt, 4513adb): test/list-cursor-state.test.ts, test/docs-openapi-alias.test.ts.
test/list-cursor-state.test.ts
list cursors and states are validated > following next_cursor walks every page of each list
list cursors and states are validated > following next_cursor walks every page of each list failed: error: GET /api/v1/repos/alice/lib/pulls disagrees with openapi.json (#17944): $.next_cursor: is integer, declared string|null
92 | const url = new URL(input instanceof Request ? input.url : String(input));
93 | const pathname = url.pathname;
94 | if (!pathname.startsWith("/api/v1/")) return res;
95 | const list = await check(url, res);
96 | if (list.length === 0) return res;
97 | if (strict) throw new Error(`GET ${pathname} disagrees with openapi.json (#17944): ${list.join("; ")}`);
^
error: GET /api/v1/repos/alice/lib/pulls disagrees with openapi.json (#17944): $.next_cursor: is integer, declared string|null
at <anonymous> (test/helpers/contract-fetch.ts:97:23)
at async <anonymous> (test/list-cursor-state.test.ts:111:27)
(fail) list cursors and states are validated > following next_cursor walks every page of each list [8.57ms]
To reproduce:
bun test ./test/list-cursor-state.test.ts
bun test ./test/list-cursor-state.test.ts --rerun-each 10
The full suite ran it in shard 2473/4948, 6 files at a time.
test/docs-openapi-alias.test.ts
no doc names the forge's OpenAPI alias
no doc names the forge's OpenAPI alias failed: error: expect(received).toEqual(expected)
24 | for (const [i, line] of text.split("\n").entries()) {
25 | re.lastIndex = 0;
26 | if (re.test(line)) found.push(`${rel}:${i + 1}`);
27 | }
28 | }
29 | expect(found).toEqual([]);
^
error: expect(received).toEqual(expected)
- []
+ [
+ "features/talk-voice.md:76",
+ ]
- Expected - 1
+ Received + 3
at <anonymous> (test/docs-openapi-alias.test.ts:29:17)
(fail) no doc names the forge's OpenAPI alias [32.78ms]
To reproduce:
bun test ./test/docs-openapi-alias.test.ts
bun test ./test/docs-openapi-alias.test.ts --rerun-each 10
The full suite ran it in shard 3910/4948, 6 files at a time.
One of these reds blocks every pull that runs the test, so please fix it first: GET /api/v1/repos/{owner}/{name}/pulls answers next_cursor as an integer (seen on production: 18029), while openapi.json declares string | null. That fails "list cursors and states are validated > following next_cursor walks every page of each list" on main at 4513adbcf, and on unrelated pulls such as #18030. Fix the route to answer a string like the other lists (clients, the Apple app included, decode it as a string), not the contract. The next release waits for a green full run on main.
Still red in the full suite (check run 01m8zp4tv12w20q12f9jv5bbwc, 63bef0b): test/list-cursor-state.test.ts, test/docs-openapi-alias.test.ts.
test/list-cursor-state.test.ts
list cursors and states are validated > following next_cursor walks every page of each list
list cursors and states are validated > following next_cursor walks every page of each list failed: error: GET /api/v1/repos/alice/lib/pulls disagrees with openapi.json (#17944): $.next_cursor: is integer, declared string|null
92 | const url = new URL(input instanceof Request ? input.url : String(input));
93 | const pathname = url.pathname;
94 | if (!pathname.startsWith("/api/v1/")) return res;
95 | const list = await check(url, res);
96 | if (list.length === 0) return res;
97 | if (strict) throw new Error(`GET ${pathname} disagrees with openapi.json (#17944): ${list.join("; ")}`);
^
error: GET /api/v1/repos/alice/lib/pulls disagrees with openapi.json (#17944): $.next_cursor: is integer, declared string|null
at <anonymous> (test/helpers/contract-fetch.ts:97:23)
at async <anonymous> (test/list-cursor-state.test.ts:111:27)
(fail) list cursors and states are validated > following next_cursor walks every page of each list [6.80ms]
To reproduce:
bun test ./test/list-cursor-state.test.ts
bun test ./test/list-cursor-state.test.ts --rerun-each 10
The full suite ran it in shard 1793/4948, 6 files at a time.
test/docs-openapi-alias.test.ts
no doc names the forge's OpenAPI alias
no doc names the forge's OpenAPI alias failed: error: expect(received).toEqual(expected)
24 | for (const [i, line] of text.split("\n").entries()) {
25 | re.lastIndex = 0;
26 | if (re.test(line)) found.push(`${rel}:${i + 1}`);
27 | }
28 | }
29 | expect(found).toEqual([]);
^
error: expect(received).toEqual(expected)
- []
+ [
+ "features/talk-voice.md:76",
+ ]
- Expected - 1
+ Received + 3
at <anonymous> (test/docs-openapi-alias.test.ts:29:17)
(fail) no doc names the forge's OpenAPI alias [33.10ms]
To reproduce:
bun test ./test/docs-openapi-alias.test.ts
bun test ./test/docs-openapi-alias.test.ts --rerun-each 10
The full suite ran it in shard 3947/4948, 6 files at a time.
_Filed by the scheduled full-suite report, not written by a person. It holds no pull, batch or release._
3 files failed in the full suite on main (check run 01m8zg6metnc0fq63awvj89v0x, 11275b0), filed as one issue: one run red for one cause starts one builder.
test/list-cursor-state.test.tstest/docs-openapi-alias.test.tstest/spawn-move-cell-sizes.test.tstest/list-cursor-state.test.tslist cursors and states are validated > following next_cursor walks every page of each listlist cursors and states are validated > following next_cursor walks every page of each listfailed:error: GET /api/v1/repos/alice/lib/pulls disagrees with openapi.json (#17944): $.next_cursor: is integer, declared string|nullTo reproduce:
The full suite ran it in shard 2281/4948.
test/docs-openapi-alias.test.tsRed alone too:
test/docs-openapi-alias.test.tsfailed when rerun alone on main's commit 11275b0 in 12.7 s, with no other check running.no doc names the forge's OpenAPI aliasno doc names the forge's OpenAPI aliasfailed:error: expect(received).toEqual(expected)To reproduce:
The full suite ran it in shard 4443/4948.
test/spawn-move-cell-sizes.test.tsa forge too big for its size > is given the next size up when its cell runs out of memory, and its row says so took 2.33 s of CPU, over the 2 s test budget: make it faster, or name its file in SLOW in scripts/gate.ts with an issueTo reproduce:
The full suite ran it in shard 4947/4948.
Files: test/list-cursor-state.test.ts, test/docs-openapi-alias.test.ts, test/spawn-move-cell-sizes.test.ts