Skip to content

fix: cancel prompt during startup#10

Merged
osolmaz merged 10 commits intomainfrom
fix/cancel-coordinator
Feb 20, 2026
Merged

fix: cancel prompt during startup#10
osolmaz merged 10 commits intomainfrom
fix/cancel-coordinator

Conversation

@dutifulbob
Copy link
Contributor

@dutifulbob dutifulbob commented Feb 19, 2026

Summary\n- fix cancel race when a prompt is starting but activePrompt is not yet set\n- add QueueOwnerCancelCoordinator to track in-flight turn + deferred cancel\n- apply deferred cancel on prompt dispatch via new onPromptIssued hook\n- add unit tests for immediate vs deferred cancel\n\n## Testing\n- npm test\n- npm run lint\n

@osolmaz osolmaz merged commit e6a0ca9 into main Feb 20, 2026
1 check passed
@osolmaz osolmaz deleted the fix/cancel-coordinator branch February 20, 2026 01:28
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.

2 participants