Skip to content

fix: correct pagination and mock response boundaries - #110

Merged
mstuart merged 1 commit into
mainfrom
maintenance/2026-10-26-pagination-mocks
Oct 27, 2026
Merged

mstuart merged 1 commit into
mainfrom
maintenance/2026-10-26-pagination-mocks

Conversation

@mstuart

@mstuart mstuart commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Honor supplied offset/skip values, reject invalid pagination bounds, and stop Relay cursor cycles while preserving hasMore for incomplete retrieval. Parse mock query aliases correctly, reject invalid mock generation bounds, and preserve own prototype-named fields in summarized JSON.

Validation: 160 tests, typecheck, build, Ultracite check, and all required coverage thresholds passed (83.09% lines, 72.16% branches). Six regression cases failed against main; offset and skip now have separate cases. The max-pages fixture uses distinct cursors so it exercises the page limit independently of cycle detection.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T23:51:47.617409Z 6fce82c Draft marked ready
🔒 Security Review ✅ Completed 2026-10-26T23:52:21.173879Z 6fce82c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mstuart
mstuart marked this pull request as draft October 26, 2026 23:50
@mstuart
mstuart marked this pull request as ready for review October 26, 2026 23:50
@mstuart
mstuart merged commit 074824b into main Oct 27, 2026
4 checks passed
Sign up for free to 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