sentry icon indicating copy to clipboard operation
sentry copied to clipboard

feat: add cursor param to test results endpoint

Open ajay-sentry opened this issue 4 months ago • 1 comments

This PR adds the ability to input a "cursor" into the test_results endpoint so we can try to implement pagination on the Sentry UI.

Closes https://linear.app/getsentry/issue/CCMRG-1309/figure-out-pagination-for-all-endpoints

Still need to figure out how this would work on the infinite results hook but at the very least we can continually fetch pages on postman. Below are some screenshots of me fetching subsequent pages on postman using the cursor attribute

Screenshot 2025-06-13 at 9 56 18 AM Screenshot 2025-06-13 at 9 56 31 AM

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

ajay-sentry avatar Jun 13 '25 16:06 ajay-sentry