Files
DeepTutor/web/tests
Bingxi Zhao (Frank) 308a0606f9 perf(chat): eliminate the post-stream "generating" stall
The spinner (and a frozen tab) outlived the LLM stream by seconds and
grew with conversation length:

- DONE now carries the persisted user/assistant message ids so the
  frontend reconciles its optimistic ids in place (lib/turn-reconcile)
  instead of refetching, re-normalizing, and re-rendering the whole
  session after every turn.
- The turn-event workspace mirror writes the whole batch in one append
  off the event loop instead of one synchronous open/write per event.
- PocketBase gains a batch append_turn_events that uploads in the
  background; the events.jsonl rglob flush in update_turn_status is
  gone, and add_message returns the real record id.
- The streaming autoscroll pin is mutation/load-driven instead of an
  unconditional 60fps scrollHeight read (forced layout) per frame.
2026-07-24 17:35:19 +08:00
..
2026-01-15 02:49:17 +08:00
2026-07-24 03:06:58 +08:00
2026-07-19 16:56:34 +08:00
2026-06-19 20:05:19 +08:00
2026-06-11 20:03:34 +08:00
2026-04-30 23:41:58 +08:00
2026-05-12 02:20:30 +08:00