Skip to content

perf(cli): Skip adjacent-event lookups on project event details - #1712

Open
sentry-junior[bot] wants to merge 1 commit into
mainfrom
perf/cli-project-event-collapse
Open

sentry-junior[bot] wants to merge 1 commit into
mainfrom
perf/cli-project-event-collapse

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

This bumps @sentry/api from 0.420.0 to 0.423.0. In 0.423.0, getOrganizationIssueEvent and getProjectEvent both send collapse=adjacentEvents by default (getsentry/sentry-api-schema#112 and #113). With it, Sentry skips the next/previous-event lookups. Nothing in the CLI reads nextEventID or previousEventID.

Requests that change:

Tests assert both requests still carry collapse=adjacentEvents, so a future SDK regression would show up. A tier test also confirms that project event URLs with the param stay volatile.

Behavior notes

via BYK.

--

View Junior Session in Sentry

Bump @sentry/api to 0.423.0, which defaults `collapse=adjacentEvents` on
both getOrganizationIssueEvent and getProjectEvent. CLI getEvent() now
sends it on the project event-details endpoint too (supported since
getsentry/sentry#129123), and getLatestEvent() drops the explicit param
it added in #1705 in favor of the SDK default.

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

vercel Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
sentry-local Ready Ready Preview Oct 29, 2026 12:30am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 5675344b Deployed Oct 29, 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