fix: follow pagination in HubSpot and DynamoDB list ops#517
Merged
Conversation
Completes #455: the last two connectors that fetched only the first page. - HubSpot contacts/companies/deals (GET list path): follow paging.next.after. - DynamoDB query/scan: follow LastEvaluatedKey via ExclusiveStartKey. Limit is a per-page scanned cap (a filtered page can return fewer/zero while more match), so a single call truncated. Both collect up to the existing per-op limit and are bounded by a hard page cap. Adds multi-page regression tests for each. Closes #455.
14 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Completes #455 — the last two connectors with first-page-only truncation, finishing the connector-pagination sweep.
paging.next.afteroffset tokenLastEvaluatedKey→ExclusiveStartKeyDynamoDB's
Limitis a per-page scanned cap, not a total — a filtered page can return fewer (or zero) items while more match, so a single call truncated. Both loops collect up to the existing per-op limit and are bounded by a hard page cap.#455 is now complete
All eight connectors paginate: Stripe, Slack (#496); Linear, Google Drive, Asana, Shopify (#516); HubSpot, DynamoDB (this PR).
Verification
Multi-page regression tests for both (HubSpot follows
after; DynamoDB followsExclusiveStartKey).test_q3_2026_batch11.py+test_q3_2026_batch12.py→ 87 passed;ruff checkand theshell=Truelint guard clean.🤖 Generated with Claude Code
Generated by Claude Code