Skip to content

fix: flows list CLI defaults to all flows instead of 20 (#837)#838

Merged
chubes4 merged 1 commit intomainfrom
fix/flows-list-pagination-837
Mar 17, 2026
Merged

fix: flows list CLI defaults to all flows instead of 20 (#837)#838
chubes4 merged 1 commit intomainfrom
fix/flows-list-pagination-837

Conversation

@chubes4
Copy link
Member

@chubes4 chubes4 commented Mar 17, 2026

Summary

  • CLI flows list now returns all flows by default instead of truncating at 20
  • per_page=0 means "return all" throughout the ability layer
  • REST consumers still default to 20 per page

Fixes #837

CLI per_page default changed from 20 to 0 (all). The ability layer
treats per_page=0 as 'return everything' by using PHP_INT_MAX for
the slice/LIMIT. The hard max:100 cap is removed from the schema
so CLI and chat callers can request unlimited results.

REST consumers still get the DEFAULT_PER_PAGE of 20 unless they
explicitly pass per_page=0.
@chubes4 chubes4 merged commit 4ac0ef5 into main Mar 17, 2026
3 checks passed
@chubes4 chubes4 deleted the fix/flows-list-pagination-837 branch March 17, 2026 12:24
@github-actions
Copy link

github-actions bot commented Mar 17, 2026

Homeboy Results — data-machine

Lint

⚡ Scope: changed files only

lint (changed files only)

Test

⚡ Scope: changed files only

test (changed files only)

Audit

⚡ Scope: changed files only

audit (changed files only)

Tooling versions
  • Homeboy CLI: homeboy 0.81.0+c1ae9cd8
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: unknown
  • Action: Extra-Chill/homeboy-action@v1

Homeboy Action v1

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.

flows list CLI only returns 20 of 182 flows — pagination limit bug

1 participant