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

opened this in answer to

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.

Notes

opened this

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.

  • The cursor: paged in src/http/respond.ts answered the last item's sort key as it was, so the pulls and issues lists answered next_cursor as an integer (production answered 18029). openapi.json declares string | 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.
  • The doc: docs/features/talk-voice.md named /api/v1/openapi.json; the forge describes itself only at /contract/openapi.json.
  • Not in this pull: test/spawn-move-cell-sizes.test.ts went 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.ts No 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 #6534

Closes #18027

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs