perf(server): skip unnecessary thread search snippet segmentation #47404
MergedUtkarshUsername(GitHub profile, opens in a new tab)merged 2 commits into
main fromrefs/pull/47404/headmerged by Yash-Singh1(GitHub profile, opens in a new tab) View on GitHubPushed70168c3
juliusmarminge added labelstakeover:blocked
juliusmarminge removed labelstakeover:in-progress
UtkarshUsername(GitHub profile, opens in a new tab) linked this to fix #47457
Yash-Singh1(GitHub profile, opens in a new tab) closed this
Sign in to join this conversation.
The automated pipeline stopped on this pull request and will not merge it:
the capture step could not show the problem on the base commit, so there is nothing to prove fixed.
Create a synthetic project and two Replay multi-turn threads. Submit 9,372-character ASCII repeated-sentence text with zebraquokka in the middle, and 10,000 Han characters followed by zebraquokka. Search zebraquokka using orchestration.searchThreads with limit 50, requiring two matches. Warm up 1,000 requests, then measure 13 batches of 400 sequential full searches; require every response to equal the initial response. Compare returned snippets between commits. Separately attempt one-million-Han input through real CLI and user-message RPC; both reject at 120,000 characters. The full original ASCII phrase was unavailable, so a same-length synthetic sentence was used.
It stays open for a person to finish or close.