LibreChat/e2e/specs
Danny Avila 45b27bb42b
🥞 perf: Progressively Mount Long Threads During Active Replies (#18555)
* 🪜 perf: Mount a Long Thread in Steps While a Reply Is in Flight

A long thread mounts in steps, but a run under way switched that off:
the first sixteen rows appeared, then every remaining row mounted in one
synchronous commit. Returning to a conversation whose agent was still
working froze the page for as long as the whole thread takes to render:
1.5 s for 246 rows, 7 s for 984.

A thread anchored at its end, the default, now keeps widening while a
reply is in flight: four rows a frame, each step committed at once,
because a reply's frames would discard a transition's unfinished render.
A thread anchored at its start does not hold the reply's row and still
mounts the rest at once.

A step also no longer renders a component per message. Rows wait on the
window through a subscription instead of reading it from context, so only
the rows a step adds render, whatever the thread's length.

* 🪜 test: Hold the Run in Flight for the Whole Load in the Stepped-Mount Scenario

The scenario streamed a reply that could finish before a slow machine had reloaded, and its second half moved the reader with a synthetic scroll that raced the landing every open performs. It now starts a run that stays in flight, checks the steps and the resting place, and stops the run. The reader-place half is dropped: it failed on timing that has nothing to do with the steps.
2026-11-19 22:08:02 -05:00
..
deployed
email 📬 fix: Require a Click to Submit Email Verification Links (#17905) 2026-11-08 23:39:26 +01:00
mock 🥞 perf: Progressively Mount Long Threads During Active Replies (#18555) 2026-11-19 22:08:02 -05:00
real
a11y.spec.ts
keys.spec.ts
landing.spec.ts
messages.spec.ts
nav.spec.ts
popup.spec.ts