generated from nhcarrigan/template
fix: resolve message submission and stuck processing bugs #199
Reference in New Issue
Block a user
Delete Branch "fix/bugs-again"
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?
Summary
isProcessingtracking: TheisProcessingstore field was initialised asfalseand never set totruein production, making all submission guards no-ops. NowsetProcessing(true)is called aftersend_promptsucceeds in bothhandleSubmitandhandleQuickAction, andsetProcessingForConversation(id, false)is called when the backend emits an idle/success/error state.PermissionModal.sveltewas passing only session-granted tools when reconnecting after a permission approval, silently droppingconfig.auto_granted_tools. Fixed to merge both sets, matching the behaviour of every otherstart_claudecall site.Resultarrives within 5 minutes. This triggers the existing disconnect/error flow so the user is notified and can reconnect. A generation counter ensures watchdogs from previous sessions exit cleanly when a new session starts.Test plan
./check-all.sh)✨ This PR was created with help from Hikari~ 🌸