Skip to content

revert: revert PR #3922 streaming coalescing and session switch changes - #3926

Merged
bobleer merged 1 commit into
mainfrom
bob/revert-pr-3922
Nov 15, 2026
Merged

bobleer merged 1 commit into
mainfrom
bob/revert-pr-3922

Conversation

@bobleer

@bobleer bobleer commented Nov 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Reverts #3922 (db95809b9fc47716a91f8b618c592f5e7473d0a3) to restore the pre-#3922 FlowChat streaming cadence, event transport, and session/workspace switching baseline (15ac7c21b).

Type and Areas

Type: Regression fix (revert)

Areas: Desktop/Tauri, web UI, app-server-protocol, server/CLI event transport

Motivation / Impact

Manual desktop validation after merging #3922 showed bursty, start-stop FlowChat streaming behavior caused by stacked event coalescing/batching and long-stream typewriter step throttling. Reverting #3922 cleanly restores the proven baseline behavior while streaming pacing is redesigned separately.

Verification

  • Confirmed git diff 15ac7c21b..HEAD is empty (exact byte-for-byte match with the commit immediately prior to perf(desktop): coalesce streaming events and isolate session/workspace switches #3922).
  • pnpm run check:repo-hygiene — passed
  • pnpm run check:core-boundaries — passed
  • node scripts/check-git-object-sizes.mjs --base origin/main --head HEAD — passed
  • pnpm --dir src/web-ui run gen:types && pnpm --dir src/web-ui exec tsc --noEmit — passed
  • pnpm --dir src/web-ui exec vitest run src/flow_chat/hooks/useTypewriter.test.ts src/flow_chat/services/EventBatcher.test.ts src/flow_chat/components/FlowTextBlock.test.tsx src/flow_chat/components/modern/VirtualMessageList.session-switch.test.tsx — 4 files, 41 tests passed
  • cargo check -p openbitfun-desktop — passed

Reviewer Notes

Checklist

  • This PR is focused and does not include secrets, temporary prompts, generated scratch files, or unrelated artifacts.
  • Relevant verification is recorded above, or skipped checks are explained.
  • User-facing strings, docs, and locales are updated where applicable.

Reverts #3922 (commit db95809) to restore baseline FlowChat streaming cadence and session/workspace behavior.
@bobleer
bobleer merged commit 09ddcaa into main Nov 15, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant