Repository navigation
Conversation
|
Important Review skippedNo new commits to review since the last review. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughBuffered composer drafts are now scoped to the active project chat. Workbench context values expose ChangesConversation draft scoping
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
What
Why
The buffered composer previously treated an unchanged external value as proof that its local draft still belonged to the current chat. After stopping a task and opening a new chat, both external values could be empty while the component instance was reused, so pasting the previous text could combine with stale hidden draft state and submit duplicate content.
Verification
pnpm --filter wework test(180 files / 1820 tests passed)pnpm --filter wework exec vitest run src/components/layout/BufferedChatInput.test.tsxpnpm --filter wework exec tsc --noEmitSummary by CodeRabbit
Bug Fixes
Documentation