Repository navigation
fix(composer): ignore Stop click within 400 ms of Send click - #2026
Merged
Merged
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
Hona
added a commit
that referenced
this pull request
Dec 1, 2026
Hona
added a commit
that referenced
this pull request
Dec 1, 2026
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.
Ports official
anomalyco/opencode#67542(fix(app): ignore Stop right after a Send click, commit387ef23e2d).Upstream Hunk Mapping
packages/app/src/composer/editor/editor.tsx:1558-1603(STOP_AFTER_SEND_MS = 400, guard Stop clicks within 400 ms of a Send click inComposerEditorSubmitButtonwithout delaying keyboard Stop) ->crates/session-view/src/composer/mod.rs(STOP_AFTER_SEND_SECS = 0.4, explicitStopGuardStatestate machine,record_send_click,stop_from_click, wired into the submit/stop button handler).packages/app/src/composer/editor/editor.tsx:1648,1719-1755(ComposerEditorTouchBarSend/Steer/Queue/Stop click guard) ->apps/desktop/src/shell/view/composer/touch.rs(alternateandtouch-submitbutton handlers).Verification
scripts/guardrails.ps1: 11/11 passed.--fixture, type text, clicksubmittwice within 400 ms -> run stays active; clicksubmitagain after 400 ms -> run stops).