Interview mode has stale closure bugs in handleSend — can drop or duplicate messages #16
Labels
No labels
blocked:lint-failed
blocked:needs-decision
blocked:no-changes
blocked:verify-failed
bug
feature-request
quickfix
security/high
security/medium
test-coverage
triage-approved
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/GSD2_agent#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: Medium
File:
src/components/wizard/InterviewMode.tsxIssue: The
handleSendfunction is wrapped inuseCallbackwithmessagesin its dependency array. However, within the streaming handler:messagesfrom closure at call timellmMessagesarray is built from the capturedmessagesvalue, which may be missing messages added concurrentlyImpact: In rapid-fire messaging, messages may be dropped, duplicated, or the conversation history can become desynchronized from what was sent to the LLM.
Fixed in commit. Closing.