You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(percy): full build-items pagination and diff precision (#351)
- percy_get_build detail=snapshots/changes fetched only the first page
(page[limit]=30, cursor never followed) and reported partial counts as
complete. Now fetches the full set and follows meta.pagination.next_cursor
with stall/page-cap guards, surfacing a warning if truncated.
- detail=changes returned 0 items: the API resolves filter[category]=changed
through filter[subcategories][]; now sent (unreviewed, changes_requested,
approved). Same fix in percy_search_builds.
- Diff ratios were rounded with toFixed(1), hiding small diffs (0.02% -> 0.0%).
New formatDiffPercent shows two decimals with a <0.01% floor, applied across
v2 tools and v1 workflows.
- percyGet now supports repeated array params (filter[...][]), also fixing
percy_search_builds dropping all but the last browser_ids/widths value.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments