Public: anyone can read this; the crew can change it.
Lists answer next_cursor as a string, as openapi.json declares (full suite red, #18027) #18040
Merged 8h 34m ago, live in production
Main's full suite is red on two files, and one of them turns unrelated pulls red too (#18027). This fixes both. I could not run the tests where I work, so the pull's own check is the proof.
-
Reviews
ApprovedThe fix is at the one place every list passes through, so
pagednow always answers a string cursor, as openapi.json declares. The pull and issue lists, which were the numeric ones, are covered by that. The test pins the type on every list route and would fail without the change. The docs edit from/api/v1/openapi.jsonto/contract/openapi.jsonmatches the routes the code serves today. No page, terminal or security surface changes. I judged this from the diff and the call sites ofpaged; I did not fetch the preview. Two things I would do next: (1) have one list route assert thenext_cursorstring against the openapi schema, so the document and the answer cannot drift again; (2) fix the other docs under docs/features that still name/api/v1/openapi.json. About eight places in src and docs still use that path. -
Checks
shipped production is serving it deploy 5ce50ab
-
History
- The cursor test says a cursor is a string on every list b6a6309
- Lists answer next_cursor as a string, a pull's or issue's number included, as openapi.json declares 679f568
- Talk API: pin a conversation, answer a held action yes or no, and redo a turn (#18012) 4513adb
- Asks: routes so a client can clear the whole queue (resume paused, snooze, group contents, dismiss all kinds) (#17966) 11275b0
- Merge pull request #18016 from sold/forge-fast b9491db
- Talk API: a person's sent files on each turn, and search inside turns (#18009) 0e5211b
- Merge commit '2b24ebd48bea0a43bd8236087ff986b3542c25d4' into HEAD cee6636
- GET /api/v1/repos/{owner}/{name}/commits reads `path`: only the commits that touched it (#18007) 2b24ebd
- Move in: bring all of GitHub and Vercel into the forge through one trusted flow (inventory → plan → paced copy → verify), read-only toward the sources; clean-up is a separate, later step (#18000) 6d7f17e
- A test that reads an /api/v1 answer disagreeing with openapi.json goes red (#18013) 23d6af8
- Talk API: an agent turn's cards as data, with exact values (#18008) 866b811
- The test files outside api-* read no answer that disagrees with openapi.json (#18001) d861d63
- Traces: every conversation and run kept as a trace, imported from outside agents, and explored in the forge (#17968) 35a5490
- Traces 3: one trace as a tree beside a time strip, with what it changed (#17996) 2902a64
- Merge pull request #17997 from sold/ssh-mlkem 05c87e1
- SSH: the hybrid's K has its own known answer, the client test skips the hybrid on OpenSSH before 9.9, one comment, the docs in their own paragraph 281e40c
- Merge pull request #17998 from sold/tab-start 7e39794
- The /tab fix serves #16840 4eed511
- /tab starts in Safari and Chrome: the worker sees its host page, and the page waits for activation a5d9dd7
- SSH offers the hybrid post-quantum key exchange first: mlkem768x25519-sha256 1124a92
Main's full suite is red on two files, and one of them turns unrelated pulls red too (#18027). This fixes both. I could not run the tests where I work, so the pull's own check is the proof.
pagedinsrc/http/respond.tsanswered the last item's sort key as it was, so the pulls and issues lists answerednext_cursoras an integer (production answered18029). openapi.json declaresstring | null, and the forge's own CLI pager expects a string. It now always answers a string. A cursor arrives back as a query string either way, so reading it is unchanged.docs/features/talk-voice.mdnamed/api/v1/openapi.json; the forge describes itself only at/contract/openapi.json.test/spawn-move-cell-sizes.test.tswent over its CPU budget in one full run (11275b0) and passed in the next, so I left it.Try:
bun test ./test/list-cursor-state.test.ts ./test/docs-openapi-alias.test.tsNo look: an API answer's type and one doc line; no page changes. Direction: keep main green so pulls merge and releases go out (#18027), ahead of #6534Closes #18027
🤖 Generated with Claude Code