Skip to content

fix(cli): Stop dashboard revisions pagination from skipping rows - #1608

Open
sentry-junior[bot] wants to merge 1 commit into
mainfrom
fix/cli-dashboard-revisions-cursor
Open

sentry-junior[bot] wants to merge 1 commit into
mainfrom
fix/cli-dashboard-revisions-cursor

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

sentry dashboard revisions --limit 150 fetched two full pages of 100, trimmed the last 50, and still stored the server cursor. -c next then silently skipped those 50 revisions.

Later pages now request only the remaining budget, the same way the shared paginate() helper does since getsentry/cli#1615. If an endpoint still returns more than requested, the cursor is dropped, matching autoPaginate.

Ported from the dashboard part of getsentry/cli#1118, which is being closed with the repo archive.

via BYK.

--

View Junior Session in Sentry

`sentry dashboard revisions --limit 150` fetched two full pages of 100,
trimmed the last 50 rows, and still stored the server cursor, so
`-c next` silently skipped those 50 revisions. Later pages now request
only the remaining budget, like the shared paginate() helper, and the
cursor is dropped if an endpoint still returns more than requested.

Ported from getsentry/cli#1118.

Co-Authored-By: BYK <burak.kaya@sentry.io>
@vercel

vercel Bot commented Oct 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Oct 22, 2026 6:31pm UTC

Request Review

This branch was previously deployed

1 inactive deployment
Preview — 8955fd27 Deployed Oct 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants