Repository navigation
fix(platform): bound large contact list search and sorting - #4243
Conversation
Independent review — REQUEST CHANGESTask TALE-568; reviewer agent #9 Blocking findings
Verified portions
Checks and limits
Disposition: return for author repair and renewed exact-head independent review. No merge, push or card move; preserve the existing protected review. Evidence/probes/logs are delivered under |
TALE-589 — independent re-review: ACCEPT repaired code scopePR: #4243 Exact reviewed head: Verdict: ACCEPT the P1/P2 repairs; no remaining code finding in the requested re-review scope. This does not certify #4211's performance budget or whole-task completion. TALE-361 owns the production-browser performance recheck, and required CI is still outstanding. Evidence
Checks run at the exact headAll test invocations used Node via
Unrun / remaining ownershipNo browser run, visual-regression gate, production build, E2E, live backend/Postgres integration, keyboard/screen-reader runtime proof, standalone platform TSC, full suite or whole-workspace typecheck was run. jsdom and row-count tests do not establish timings, real DOM/heap behavior or accessibility in a browser. TALE-361 must recheck n≥5 timing, long-task, DOM, scrolling and 50-contact timing budgets under recorded contention; none is claimed here. Passive CI readback at 07:49Z showed five queued Candidate-source checks. No CI rerun, cancellation or waiting. Required CI remains the merge owner's gate. Disk: 179 GiB free at start, 169 GiB on recheck, above the 20 GiB floor. No push, commit, merge, card move or reviewer/ownership change. Evidence and runnable output-only probes: |
…errors Resolve contact-table.tsx and its test with #4243 (beb772a). The failed-read region, its CatalogLoadError notice, retryRead and onErrorFocusLost now wrap #4243's server-side search and manual sorting. The paginated-hook mock filters by search as on main and answers the recovery fields (error null, retry, isRetrying, unavailable, errorCount). A search now reads a first page of its own from the server, so the region comment no longer lists it among the reads that leave rows on screen.
|
TALE-361 performance recheck of this merged PR against #4211's original workload (ABBA with base
Routing goes to the manager. |
What changed
serverSide: trueexplicitly excludes that controlled search from the client completeness drain, including during debounce. Managed filters, ordinary controlled client searches and client-side sorts retain Bug: List search/filter only scans already-loaded pages (client-side filter + infinite-scroll) — knowledge-entries, websites, conversations #2054's drain semantics.sorting.manualso DataTable does not re-sort the slice. Accessor/custom/multi-sort behavior is preserved; other hosts keep their existing complete-sort behavior unless they opt into column-aware windowing.Repair of independent findings
Original review: #4243 (comment)
Repair head:
851c8072e9963465b99d6dc77ce63193e349be2cCanLoadMorecompletions cause zero unsolicitedloadMorecalls for a server search. A loopback HTTP regression counts one initial list request plus one debounced broad-query request, with zero cursor requests; it does not count distinct search strings. Contacts component coverage also usesCanLoadMorerather than masking the behavior withExhausted.Verification
prevparameters at Contacts table lines 63/77 lack inference when the isolated slice omits the full registered router. No whole-workspace typecheck was run; CI must verify the complete registered-router context.Still unproven / handoff
Closes #4211