René's URL Explorer Experiment


Title: [FEATURE] Add robot coverage for REST page_number pagination and pluggable GraphQL pagination strategies · Issue #684 · stackql/stackql · GitHub

Open Graph Title: [FEATURE] Add robot coverage for REST page_number pagination and pluggable GraphQL pagination strategies · Issue #684 · stackql/stackql

X Title: [FEATURE] Add robot coverage for REST page_number pagination and pluggable GraphQL pagination strategies · Issue #684 · stackql/stackql

Description: Summary The three features from the any-sdk GraphQL/pagination uplift are implemented and wired through stackql, but part of the planned robot coverage was never added. This issue tracks the remaining test work only; no feature code is e...

Open Graph Description: Summary The three features from the any-sdk GraphQL/pagination uplift are implemented and wired through stackql, but part of the planned robot coverage was never added. This issue tracks the remain...

X Description: Summary The three features from the any-sdk GraphQL/pagination uplift are implemented and wired through stackql, but part of the planned robot coverage was never added. This issue tracks the remain...

Opengraph URL: https://github.com/stackql/stackql/issues/684

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FEATURE] Add robot coverage for REST page_number pagination and pluggable GraphQL pagination strategies","articleBody":"## Summary\n\nThe three features from the any-sdk GraphQL/pagination uplift are implemented and wired through stackql, but part of the planned robot coverage was never added. This issue tracks the remaining test work only; no feature code is expected to change.\n\nWhat already shipped:\n\n- GraphQL `response.transform` consumption: wired in `internal/stackql/primitivebuilder/graphql_single_select_acquire.go` via PR #658 (`d1f204e`), covered by any-sdk unit tests and the live `Trevorblades Continents GraphQL Response Transform` robot test in `test/robot/integration-traffic-lights/`.\n- Pluggable GraphQL cursor strategies (`cursor_after`, `keyset`, `offset`, `page_info`): plumbed through the same dispatch site; strategies are unit tested in any-sdk (`pkg/graphql/graphql_test.go`).\n- REST `algorithm: page_number` with `responseTerminator`: implemented entirely in any-sdk (`internal/anysdk/pagination.go`, paging loop in `public/providerinvokers/anysdkhttp/invoker.go`), consumed by stackql via the invoker call in `internal/stackql/execution/mono_valent_execution.go`. Closed stackql/any-sdk#91 via stackql/any-sdk#94. Consumed since any-sdk `v0.5.3-alpha05`; current dep is `v0.5.3-alpha11`.\n\nWhat is missing (this issue):\n\n1. There is no stackql robot test or fixture for `page_number` anywhere in the repo (zero occurrences of `page_number` / `responseTerminator` under `test/`).\n2. The mocked GraphQL pagination suite (`test/robot/functional/stackql_graphql_pagination.robot`) exercises only the default `cursor_after` strategy. `keyset`, `offset` and `page_info` have no SQL -\u003e HTTP -\u003e projection round-trip coverage.\n\nPer AGENTS.md, black-box robot regression tests are the required evidence for user-visible query behaviour; any-sdk unit tests alone do not satisfy that for these features.\n\n## Test set A: REST `page_number`\n\nAdd a synthetic fixture under `test/registry-mocked/src/` with a pagination block shaped like Cloudflare V4:\n\n~~~yaml\npagination:\n  algorithm: page_number\n  requestToken:\n    key: page\n    location: query\n  responseToken:\n    key: result_info.page\n    location: body\n  responseTerminator:\n    key: result_info.total_pages\n    location: body\n~~~\n\nScenarios (mock endpoints in the flask tooling under `test/python/stackql_test_tooling/flask/`):\n\n~~~robotframework\nSelect With Page Number Pagination Terminates When Page Equals Total Pages\n    # GET /things?page=1 -\u003e {result_info:{page:1, total_pages:3}, result:[A,B]}\n    # GET /things?page=2 -\u003e {result_info:{page:2, total_pages:3}, result:[C,D]}\n    # GET /things?page=3 -\u003e {result_info:{page:3, total_pages:3}, result:[E]}\n    # Assert: 5 rows, exactly 3 requests.\n\nPage Number Pagination Stops Immediately When Page Equals Total Pages At Start\n    # GET /things?page=1 -\u003e {result_info:{page:1, total_pages:1}, result:[A]}\n    # Assert: 1 row, exactly 1 request.\n\nPage Number Pagination Fails Cleanly When Terminator Field Absent\n    # GET /things?page=1 -\u003e {result:[A]} (no result_info)\n    # Assert: terminates (no infinite loop); row returned or explicit error.\n~~~\n\nThis test set doubles as verification of a residual risk: `internal/stackql/execution/mono_valent_execution.go` still carries its own token-only paging helpers (`inferNextPageResponseElement` / `inferNextPageRequestElement`, flagged `!!TECH_DEBT!!`) that do not know about `page_number`. If the mocked scenario pages and terminates correctly, the live path is confirmed to be the any-sdk invoker. If it loops or stops early, that is a real bug and this issue should be re-scoped.\n\n## Test set B: GraphQL pagination strategies\n\nOne mocked scenario per strategy, following the existing pattern in `stackql_graphql_pagination.robot` (native_test flask mock, `--http.log.enabled` wire assertions):\n\n~~~robotframework\nSelect With Keyset Pagination Drives Forward And Terminates\n    # Page 1: 2 rows; page 2: 1 row; page 3: 0 rows -\u003e terminate.\n    # Assert the _gt filter on the sort key advances per page.\n\nSelect With Offset Pagination Terminates On Short Page\n    # Page size 2. Pages: 2 rows, 2 rows, 1 row (short) -\u003e terminate. 5 rows total.\n\nSelect With PageInfo Pagination Terminates On hasNextPage False\n    # hasNextPage true/true/false across 3 pages -\u003e terminate after page 3.\n~~~\n\nThe existing `cursor_after` scenarios must keep passing unchanged (back-compat guard).\n\n## Out of scope\n\n- Any change to feature code in stackql or any-sdk (unless test set A exposes a live-path bug, which becomes its own issue).\n- A mocked variant of the GraphQL `response.transform` test (live trevorblades coverage exists; a mocked twin is nice-to-have, not required here).\n- REST `link_header` pagination improvements.\n\n## Acceptance criteria\n\n- [ ] Mocked fixture and flask endpoints for `page_number` added under the existing test tooling.\n- [ ] Test set A passes, including both negative scenarios.\n- [ ] Test set B passes for keyset, offset and page_info.\n- [ ] Existing `cursor_after` scenarios and the rest of the robot suite pass unchanged.\n\n## References\n\n- stackql PR #658 (`d1f204e`) - GraphQL transform + cursor config consumption.\n- stackql PRs #678 (`b51c514`), #679 (`902c151`) - any-sdk bumps to v0.5.3-alpha08/alpha11.\n- stackql/any-sdk#91 (feature request), closed by stackql/any-sdk#94 - `page_number` implementation.\n- `test/robot/functional/stackql_graphql_pagination.robot` - existing mocked GraphQL pagination suite.\n- `test/robot/integration-traffic-lights/stackql_traffic_light_integration_from_cmd_line.robot` - live transform coverage.\n","author":{"url":"https://github.com/jeffreyaven","@type":"Person","name":"jeffreyaven"},"datePublished":"2026-07-07T05:39:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/684/stackql/issues/684"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e75e6467-805b-41dd-91cb-c70b4cbc5229
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id835E:90895:9C3A87:D414EE:6A4D4E29
html-safe-nonce36b64aa9821aa1d70bc5ee176bb562ccdf94ad9ee5ecc80c0b19cd59afc861ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzVFOjkwODk1OjlDM0E4NzpENDE0RUU6NkE0RDRFMjkiLCJ2aXNpdG9yX2lkIjoiNzI0NjI1MDA5Njk2MTMyNjUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace1b14ae67f10a7dde72de620e881d2b281beb5d4be224cc77a9617205c277fa9
hovercard-subject-tagissue:4825584603
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackql/stackql/684/issue_layout
twitter:imagehttps://opengraph.githubassets.com/544b567665bc91579fa3653d154287548c505ad26aecfdc5af156399fdb83857/stackql/stackql/issues/684
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/544b567665bc91579fa3653d154287548c505ad26aecfdc5af156399fdb83857/stackql/stackql/issues/684
og:image:altSummary The three features from the any-sdk GraphQL/pagination uplift are implemented and wired through stackql, but part of the planned robot coverage was never added. This issue tracks the remain...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejeffreyaven
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
turbo-cache-controlno-preview
go-importgithub.com/stackql/stackql git https://github.com/stackql/stackql.git
octolytics-dimension-user_id95105302
octolytics-dimension-user_loginstackql
octolytics-dimension-repository_id443987542
octolytics-dimension-repository_nwostackql/stackql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id443987542
octolytics-dimension-repository_network_root_nwostackql/stackql
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/stackql/stackql/issues/684#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackql%2Fstackql%2Fissues%2F684
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fstackql%2Fstackql%2Fissues%2F684
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=stackql%2Fstackql
Reloadhttps://github.com/stackql/stackql/issues/684
Reloadhttps://github.com/stackql/stackql/issues/684
Reloadhttps://github.com/stackql/stackql/issues/684
Please reload this pagehttps://github.com/stackql/stackql/issues/684
stackql https://github.com/stackql
stackqlhttps://github.com/stackql/stackql
Please reload this pagehttps://github.com/stackql/stackql/issues/684
Notifications https://github.com/login?return_to=%2Fstackql%2Fstackql
Fork 80 https://github.com/login?return_to=%2Fstackql%2Fstackql
Star 861 https://github.com/login?return_to=%2Fstackql%2Fstackql
Code https://github.com/stackql/stackql
Issues 101 https://github.com/stackql/stackql/issues
Pull requests 1 https://github.com/stackql/stackql/pulls
Discussions https://github.com/stackql/stackql/discussions
Actions https://github.com/stackql/stackql/actions
Projects https://github.com/stackql/stackql/projects
Wiki https://github.com/stackql/stackql/wiki
Security and quality 0 https://github.com/stackql/stackql/security
Insights https://github.com/stackql/stackql/pulse
Code https://github.com/stackql/stackql
Issues https://github.com/stackql/stackql/issues
Pull requests https://github.com/stackql/stackql/pulls
Discussions https://github.com/stackql/stackql/discussions
Actions https://github.com/stackql/stackql/actions
Projects https://github.com/stackql/stackql/projects
Wiki https://github.com/stackql/stackql/wiki
Security and quality https://github.com/stackql/stackql/security
Insights https://github.com/stackql/stackql/pulse
[FEATURE] Add robot coverage for REST page_number pagination and pluggable GraphQL pagination strategieshttps://github.com/stackql/stackql/issues/684#top
https://github.com/jeffreyaven
enhancementNew feature or requesthttps://github.com/stackql/stackql/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/jeffreyaven
jeffreyavenhttps://github.com/jeffreyaven
on Jul 7, 2026https://github.com/stackql/stackql/issues/684#issue-4825584603
graphql enhancements #658https://github.com/stackql/stackql/pull/658
[FEATURE] Add a page_number pagination algorithm for APIs that signal completion via total_pages (or page-count comparison) any-sdk#91https://github.com/stackql/any-sdk/issues/91
feat(pagination): add page_number algorithm for total_pages-based APIs any-sdk#94https://github.com/stackql/any-sdk/pull/94
graphql enhancements #658https://github.com/stackql/stackql/pull/658
consume any-sdk v0.5.3-alpha08 (casing + schema_driven_xml) + robot coverage #678https://github.com/stackql/stackql/pull/678
fix: symtab registers snake display column names + robot coverage for AWS e2e casing/walker behaviours (any-sdk v0.5.3-alpha11) #679https://github.com/stackql/stackql/pull/679
[FEATURE] Add a page_number pagination algorithm for APIs that signal completion via total_pages (or page-count comparison) any-sdk#91https://github.com/stackql/any-sdk/issues/91
feat(pagination): add page_number algorithm for total_pages-based APIs any-sdk#94https://github.com/stackql/any-sdk/pull/94
jeffreyavenhttps://github.com/jeffreyaven
enhancementNew feature or requesthttps://github.com/stackql/stackql/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.