Skip to content

fix(work_pools): paginate List() to avoid silent truncation at 200 results#638

Merged
mitchnielsen merged 1 commit intomainfrom
work-pool-filter-fix
Feb 19, 2026
Merged

fix(work_pools): paginate List() to avoid silent truncation at 200 results#638
mitchnielsen merged 1 commit intomainfrom
work-pool-filter-fix

Conversation

@mitchnielsen
Copy link
Member

Summary

Same mechanical fix as #634 for teams. The Prefect API's POST /work_pools/filter endpoint enforces a default limit of 200, so workspaces exceeding that threshold were silently dropping results. This adds an offset/limit pagination loop to WorkPoolsClient.List() so all results are returned regardless of count.

Closes #636

…sults

Same mechanical fix as #634 for teams. The Prefect API's POST
/work_pools/filter endpoint enforces a default limit of 200, so
workspaces exceeding that threshold were silently dropping results.

Closes #636

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mitchnielsen mitchnielsen self-assigned this Feb 19, 2026
@mitchnielsen mitchnielsen added the bugfix Fixing a bug label Feb 19, 2026
@mitchnielsen mitchnielsen marked this pull request as ready for review February 19, 2026 21:36
@mitchnielsen mitchnielsen requested a review from a team as a code owner February 19, 2026 21:36
@mitchnielsen mitchnielsen merged commit b518633 into main Feb 19, 2026
8 checks passed
@mitchnielsen mitchnielsen deleted the work-pool-filter-fix branch February 19, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixing a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: multiple data sources silently truncate results at 200 due to missing pagination

1 participant