perf(flow-chat): reduce historical session hydration stalls#1108
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Status
Merged as
b34a970c.A post-merge review found one additional P2 interaction risk in the old-history window expansion scroll mapping. That follow-up fix is tracked separately in #1109 because this PR had already merged.
Performance Data
Measured with
release-fastbuilds and the generated 80-turn mixed-visible historical-session fixture. Baseline ismainata824830a; after is this PR before merge.Startup was measured for visibility, but not claimed as solved by this PR because native window timing still shows environment variance.
Risk / Compatibility
Validation
pnpm run desktop:build:release-fastpnpm run e2e:test:perf:release-fastBITFUN_E2E_PERF_POST_VISIBLE_INTERACTION=first-scroll pnpm run e2e:test:perf:release-fastpnpm --dir src/web-ui run test:run src/flow_chat/components/modern/VirtualMessageList.layout.test.ts src/flow_chat/services/FlowChatManager.test.ts src/flow_chat/store/FlowChatStore.test.ts src/flow_chat/services/openBtwSession.test.ts src/flow_chat/components/modern/ModernFlowChatContainer.history-state.test.tsxpnpm run type-check:webpnpm run check:repo-hygienecargo check -p bitfun-desktopgit diff --check gcwing/main...HEAD