perf(server): yield between filtered workspace search pages - #197
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Greptile SummaryThis PR improves filtered, paginated workspace content searches in Confidence Score: 5/5Safe to merge; the changed paginated-search behavior is covered by focused execution checks. No findings remain. The targeted before-and-after checks confirm that queued work runs before the next native grep page, an expired deadline prevents another native call, and interruption preserves cleanup. Files Needing Attention: No files need additional attention. The focused changes in
What T-Rex did
Reviews (2): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile |
Problem
Content searches can process many filtered native grep pages without yielding, delaying unrelated server work until the search budget expires.
Changes
Yield between subsequent grep pages and recheck the deadline before starting another native call. Keep the first-page behavior and search results unchanged. Add regressions for concurrent work, budget expiration during the yield, interruption, and finder cleanup.
Verification
Implemented and verified by gpt-6-astra in T3 Code through the Grok harness.