Skip to content

perf(api): Read open and archived review items at once - #3450

Merged
BYK merged 1 commit into
mainfrom
perf/review-items-parallel-archived
Nov 14, 2026
Merged

BYK merged 1 commit into
mainfrom
perf/review-items-parallel-archived

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Follow-up to review feedback on #3445: on the first page of GET /api/review-items with a search or include=archived, the archived matches do not depend on the open page. This runs both reads with Promise.all instead of one after the other, so the first page waits for the slower read instead of the sum. Responses do not change.

--

View Session [Sentry]

The archived matches of the first page do not depend on the open page, so
both reads run in parallel.
@vercel

vercel Bot commented Nov 14, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
junior-docs Ready Ready Preview Nov 14, 2026 9:57pm UTC

Request Review

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

23 screenshot changes — 23 changed · 0 added · 0 removed

Review screenshots in Frameshift

Automation Run Details · Desktop
Automation Run Details · Desktop
Changed
Automations Runs Filters · Desktop
Automations Runs Filters · Desktop
Changed
Conversation Attachment · Desktop
Conversation Attachment · Desktop
Changed
Conversation Attachment · Mobile
Conversation Attachment · Mobile
Changed
Conversation Attachment Modal · Desktop
Conversation Attachment Modal · Desktop
Changed
Conversation Attachment Zoom · Desktop
Conversation Attachment Zoom · Desktop
Changed
Show 12 more changed screenshots
Conversation Captured Memories Popover · Desktop
Conversation Captured Memories Popover · Desktop
Changed
Conversation Child Agents · Desktop
Conversation Child Agents · Desktop
Changed
Conversation Details Watched Linked Work · Desktop
Conversation Details Watched Linked Work · Desktop
Changed
Conversation Event Log Virtual · Desktop
Conversation Event Log Virtual · Desktop
Changed
Conversation Event Log Virtual · Mobile
Conversation Event Log Virtual · Mobile
Changed
Conversation Fork Dialog · Desktop
Conversation Fork Dialog · Desktop
Changed
Conversation Fork Dialog · Mobile
Conversation Fork Dialog · Mobile
Changed
Conversation Long Transcript Touch · Mobile
Conversation Long Transcript Touch · Mobile
Changed
Conversation Memory List Jump · Desktop
Conversation Memory List Jump · Desktop
Changed
Conversation Object Links · Desktop
Conversation Object Links · Desktop
Changed
Conversation Object Links Light · Desktop
Conversation Object Links Light · Desktop
Changed
Conversation Question Picks And Text · Desktop
Conversation Question Picks And Text · Desktop
Changed

5 more changed screenshots in Frameshift.

@BYK
BYK merged commit eb510d3 into main Nov 14, 2026
47 checks passed
@BYK
BYK deleted the perf/review-items-parallel-archived branch November 14, 2026 22:18

This branch was successfully deployed

1 active deployment
Preview – junior-docs — d247c8c4 Deployed Nov 14, 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.

1 participant