Repository navigation
perf(chat): reuse settled groups during history backfill - #4845
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (43308 ms), confidentiality-review (37307 ms), desktop-den-sync-review (62176 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (046c4ab98aeb2738ffbcb9df018491af14664005). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
|
Passed · 12/12 tests · 18/18 assertions · 8 images Commit |
Summary
Follow-up to #4838: progressive history loading should not repeatedly invoke settled group renderers, and ordinary composer edits should not create a new displayed transcript.
Existing scroll lifecycles, scheduling, full-history availability, owner checks, and background task behavior remain unchanged.
Quantitative check
Actual component render callbacks during complete backfill, with fixed synthetic geometry:
Initial callbacks remain eight. These measure callback work, not full child renders, frame time, or wall-time speedups. Plan construction and reconciliation still revisit mounted history; this does not claim to eliminate all quadratic work or bound eventual DOM memory.
Verification
Candidate:
046c4ab98aeb2738ffbcb9df018491af14664005, based ondevatfb3bc5b219ec3904baeeefc9738930b2bcb7d096. Commit signature verified.Passed from
apps/app:git diff --check: exit 0.Proof verdict: Incomplete
Exact-head real-app evidence remains outstanding. Existing journey owners:
No measured typing latency, native-scroll, sustained-memory, or end-to-end speedup claim is made. Large histories and concurrent streaming still need comparable base/candidate measurements.
Scope
Independent PR targeting
dev. Partial-history correctness and reading/Find continuity are separate follow-ups.Deliberately deferred: input-aware scheduling, giant-turn inner chunking/aggregate construction, render eviction, background cache budgets, multiple-visible-session scheduling, offscreen app resource gating, and a new history API. These are separate architecture/performance decisions, not prerequisites for the bounded callback and composer-identity improvements. Required repository CI is unchanged.