Skip to content

fix: accept nextCursor on TableValueResult list envelopes - #86

Merged
caballeto merged 1 commit into
mainfrom
fix/page-envelope-next-cursor
Aug 23, 2026
Merged

fix: accept nextCursor on TableValueResult list envelopes#86
caballeto merged 1 commit into
mainfrom
fix/page-envelope-next-cursor

Conversation

@caballeto

Copy link
Copy Markdown
Member

Summary

  • Offset list commands (monitors list, incidents list, …) parse through a hand-rolled parsePage envelope that was .strict() and omitted nextCursor.
  • Production TableValueResult now always includes nextCursor, so CLI 1.6.0 publish-verify (and any customer list call) fails validation.
  • Accept nextCursor and passthrough unknown envelope keys (Postel's Law). Generated DTO schemas already did this.

Test plan

  • npm run typecheck
  • CLI unit/CI on this PR
  • Re-run surface-publish-verify for cli@ next MINOR after release

Made with Cursor

Offset list commands were using a strict page parser that rejected the
additive nextCursor field the API now always sends.
Co-authored-by: Cursor <cursoragent@cursor.com>
@caballeto
caballeto merged commit 4aa67ff into mainAug 23, 2026
3 checks passed
@caballeto
caballeto deleted the fix/page-envelope-next-cursor branch August 23, 2026 11:08
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@caballeto