Skip to content

GitHub Copilot race condition prevents stopping processing of a submitted prompt. #284678

Open

Description

If you repeatedly edit a previous prompt and resubmit it several times, there is a race condition in which pressing the "stop" indicating no longer stops processing, and it become impossible to stop the in-process submission.

This is hard to reproduce, but will eventually happen when repeatedly editing and resubmitting a previous prompt.

For example, edit a previous prompt, resubmit it, and then immediately stop it. Or click the previous prompt to edit it while it is still working, and then try to stop it while you are editing the prompt. (This is what happened in this current case.)

If you're wondering why someone would want to edit and resubmit a prompt; and then immediately cancel it, it is because of the infuriating bug #283829 / #259975 which changes the agent of an edited prompt, and the user doesn't realize until the last minute, just after they submitted a prompt, that the system mucked with their prompt so that they must re-edit it again—and then it removes file references in #281766, so the user has to submit it again, etc. Then it hits this race condition. Arg!

Version: 1.107.1 (user setup)
Commit: 994fd12f8d3a5aa16f17d42c041e5809167e845a
Date: 2025-12-17T14:15:14.850Z
Electron: 39.2.3
ElectronBuildId: 12895514
Chromium: 142.0.7444.175
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Windows_NT x64 10.0.26200

Activity

  1. added
    chat-ext-issue
    on Dec 21, 2025
  2. removed
    chat-ext-issue
    on Dec 21, 2025
  3. garretwilson commented on Jan 7, 2026

    @garretwilson
    Author

    I just hit this one again, and it is infuriating. This sort of race condition happens when the whole thing is already not cooperating, and I have to go back and resubmit things repeatedly; so when this hits it just make irritation turn into not-very-happiness. The LLM just takes off and this race condition hits and I'm banging on the stop button but it doesn't respond and I have to wait until it finishes mucking around with all my files because the stop button does not respond.

    Having AI that cannot be stopped is not a good thing. I understand that race conditions are hard to track down, but having AI that is impossible to stop is bad. Very bad.

  4. garretwilson commented on Feb 14, 2026

    @garretwilson
    Author

    This is continuing to happen. Bugs that result in unstoppable AI should be given some of the highest priorities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions