@linear-code[bot]1mo ago
Summary
Fix existing Mercury action files that expose size-only pagination (e.g. limit, top, page_size) while their response model exposes continuation metadata (next, next_token, cursor, @odata.nextLink, pagination links), but the request model has no traversal field and the action does not paginate internally.
Found while validating INT-2045 / PR #23361 pagination CI coverage.
Scope
- Current deterministic check finds 70 action files that likely need pagination fixes after excluding the 3 documented schema false positives.
- Separate schema-inaccuracy tickets were filed for false positives: #23383 Google Contacts, #23384 Alpha Vantage, #23385 Radar.
- The CI PR intentionally does not fix app files; this ticket tracks baseline cleanup so the rule can eventually run globally.
Suggested fix pattern
- Add the provider-specific traversal field to the request model and pass it through (
cursor,page_token,offset,skiptoken,next_link,page[number], etc.), or - Implement internal pagination intentionally, or
- If docs prove the response continuation field is wrong, remove/correct that response schema and document it.
Action files to fix
ably (3)
- apps/ably/actions/list_channels.py
- apps/ably/actions/list_push_channel_subscriptions.py
- apps/ably/actions/list_registered_push_devices.py