Skip to content

Copilot just kept going and wouldn't stop #291713

Closed

Description

@Peckage

Type: Bug

I wanted to stop copilot from generating code but I had to physically restart vscode in order for the copilot to stop... I had no option to stop it like you normally do in the chat

VS Code version: Code 1.108.2 (c9d7799, 2026-01-21T13:52:09.270Z)
OS version: Linux x64 6.14.0-37-generic
Modes:

System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-13650HX (20 x 800)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 4, 4, 2
Memory (System) 31.03GB (23.09GB free)
Process Argv --crash-reporter-id a56cab2a-86a5-44d2-a2b2-a20db22025a9
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu-wayland
XDG_CURRENT_DESKTOP ubuntu:GNOME
XDG_SESSION_DESKTOP ubuntu-wayland
XDG_SESSION_TYPE wayland
Extensions (95)
Extension Author (truncated) Version
better-comments aar 3.0.2
vscode-nginx-conf ahm 0.3.5
vscode-sqlite ale 0.14.1
iconify ant 1.0.0
color-info bie 0.7.2
biome bio 3.3.0
vscode-intelephense-client bme 1.16.4
vscode-tailwindcss bra 0.14.29
phpserver bra 3.0.2
multi-cursor-case-preserve Car 1.0.5
npm-intellisense chr 1.4.5
path-intellisense chr 2.10.0
vscode-markdownlint Dav 0.61.1
vscode-eslint dba 3.0.20
fivem-lua dha 1.0.1
githistory don 0.6.20
es7-react-js-snippets dsz 4.4.3
gitlens eam 17.9.0
vscode-html-css ecm 2.0.13
react-native-react-redux EQu 2.0.6
file-icons fil 1.1.0
vscode-firefox-debug fir 2.15.0
auto-rename-tag for 0.1.10
shell-format fox 7.2.8
toggle-zen-mode fud 1.1.2
codespaces Git 1.18.5
copilot-chat Git 0.36.2
vscode-github-actions git 0.30.1
go gol 0.52.2
todo-tree Gru 0.0.226
discord-vscode icr 5.9.2
polacode-2019 jef 0.6.2
vscode-peacock joh 4.2.2
ts-debug kak 0.0.6
vsc-python-indent Kev 1.21.0
pnpm-vscode-helper lin 0.3.0
jsdoc lll 1.0.9
vscode-uuid lud 2.1.1
bash-ide-vscode mad 1.43.0
rainbow-csv mec 3.24.1
git-graph mhu 1.30.0
vscode-tsx-arrow-definition mia 0.1.2
prettify-json moh 0.0.3
vscode-containers ms- 2.4.0
vscode-docker ms- 2.0.0
vscode-dotnet-runtime ms- 3.0.0
black-formatter ms- 2025.2.0
debugpy ms- 2025.18.0
python ms- 2026.0.0
vscode-pylance ms- 2025.10.4
vscode-python-envs ms- 1.16.0
jupyter ms- 2025.9.1
jupyter-keymap ms- 1.1.2
jupyter-renderers ms- 1.3.0
vscode-jupyter-cell-tags ms- 0.1.9
vscode-jupyter-slideshow ms- 0.1.6
remote-containers ms- 0.437.0
remote-ssh ms- 0.122.0
remote-ssh-edit ms- 0.87.0
remote-explorer ms- 0.5.0
vscode-typescript-next ms- 6.0.20260128
vscode-react-native msj 1.13.0
referencex Pec 0.5.1
material-icon-theme PKi 5.31.0
material-product-icons PKi 1.7.1
tsimporter pmn 2.0.1
polacode pnp 0.3.4
prisma Pri 31.4.0
vscode-thunder-client ran 2.38.6
java red 1.52.0
vscode-yaml red 1.19.1
LiveServer rit 5.7.9
bash-debug rog 0.3.9
rust-analyzer rus 0.3.2769
trailing-spaces sha 0.4.1
ruby-lsp Sho 0.10.0
svg-preview Sim 2.8.3
bootstrap4-vscode the 6.1.0
pdf tom 1.2.2
find-it-faster Tom 0.0.39
cmake twx 0.0.17
vscode-mdx uni 1.8.17
vscode-gradle vsc 3.17.2
vscode-java-debug vsc 0.58.5
vscode-java-dependency vsc 0.27.0
vscode-java-pack vsc 0.30.5
vscode-java-test vsc 0.44.0
vscode-maven vsc 0.45.1
vscode-icons vsc 12.17.0
volar Vue 3.2.4
glean wix 5.2.2
JavaScriptSnippets xab 1.8.0
next-react-es7-snippets Yan 0.0.1
luahelper yin 0.2.29
markdown-all-in-one yzh 3.6.3

(2 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vswsl492cf:30256860
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31436602
aj953862:31281341
6abeh943:31336334
cloudbuttont:31379625
3efgi100_wstrepl:31403338
use-responses-api:31390855
je187915:31401257
ec5jj548:31422691
cmp-ext-treat:31426748
cp_cls_c_966_ss:31454199
c0683394:31419495
ge8j1254_inline_auto_hint_haiku:31431912
nes-autoexp-off:31446584
a5gib710:31434435
5j92g670_sonnet:31453868
rename_enabled:31436409
7a04d226_do_not_restore_last_panel_session:31438103
anthropic_thinking_t:31432745
preserve_tokens:31444547
cp_cls_c_1081:31443829
copilot-nes-oct-trt:31432596
ia-use-proxy-models-svc:31452481
nes-jump-on-with-edit:31453836
nes-slash-models-on:31441832
nes-set-to-on:31441941
a43f0574a:31442826
ts_provider_enabled:31446104
c0ci8992_validated:31449878
nes-conv-1-3:31447850

Activity

  1. changed the title [-]Copilot just kept going[/-] [+]Copilot just kept going and wouldn't stop[/+] on Jan 29, 2026
  2. added
    info-needed
    on Jan 30, 2026
  3. jrieken commented on Jan 30, 2026

    @jrieken
    Contributor

    I wanted to stop copilot from generating code but

    How did you get it into generating code? How did you try to stop it?

  4. justinfagnani commented on Feb 5, 2026

    @justinfagnani

    The stop button regularly stops working for me. I have to close the window to stop Copilot.

  5. jrieken commented on Feb 5, 2026

    @jrieken
    Contributor

    How did you get it into generating code

  6. justinfagnani commented on Feb 5, 2026

    @justinfagnani

    Just asked it to do something in the chat

  7. connor4312 commented on Feb 5, 2026

    @connor4312
    Member

    /gifPlease

  8. vs-code-engineering commented on Feb 5, 2026

    @vs-code-engineering
    Contributor

    Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.

    If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.

    Happy coding!

  9. Peckage commented on Feb 5, 2026

    @Peckage
    Author

    Thanks for the reply. Unfortunately this issue is hard to capture in a screen recording.

    What’s happening is that Copilot keeps generating code continuously and then immediately drops back into a normal input prompt, allowing me to send another message, while the agent itself clearly hasn’t finished processing. It feels like the chat/agent state is lagging or getting out of sync, causing the agent to never properly stop or finalize its response.

    In short: generation doesn’t terminate correctly and the UI behaves as if it’s ready for new input while the agent is still “running” in the background.

    Let me know if there’s any additional logging or debug mode I can enable to help narrow this down.

    Happy to test further if needed.

  10. justinfagnani commented on Feb 5, 2026

    @justinfagnani

    I also agree that this is a bit hard to capture in a screen recording. I'm having a slightly different problem where the stop button just doesn't work. So the agent will be working away, and I want to interrupt it, but I can't.

    A video would only show my mouse above the stop button, while the agent is thinking out loud.

  11. justinfagnani commented on Feb 6, 2026

    @justinfagnani

    Here's a video, for what it's worth. I'm clicking the stop button and nothing happens.

    Screen.Recording.2026-02-05.at.8.43.10.PM.mov
  12. 10 remaining items

  13. mcouthon commented on Mar 1, 2026

    @mcouthon

    For me this happens on and off. Often when there's a subagent executing (my only way around that is to send a "stop" command, that gets "steered", and then I force push it).

    Today this happened when I had an "askQuestion" dialog open. Clicking on "Stop" simply didn't do anything.

    Image

    In my experience, this was working quite fine before the steering update.

  14. Peckage commented on Mar 6, 2026

    @Peckage
    Author

    I think I just somehow recreated the issue in my vscode by ending the chat then accepting one of the prompts that was given to me by copilot to clarify something

    1. copilot prompts for more information on a topic
    2. I ignore and eventually chat ends (or you just click stop)
    3. I then hit accept or procceed on the prompt given to me
    4. copilot starts the chat again
    5. stop button lights up again but doesn't respond to me clicking it

    hope this helps

  15. garretwilson commented on Mar 11, 2026

    @garretwilson

    This is just now happening with v1.111. It's making three small edits to a file. After one edit it stalled for a long time, only displaying "Working". Now after three edits, it has stalled altogether, only showing "Working".

    No stop button appears. There seems to be no way to stop whatever it's doing.

    Image
    Version: 1.111.0 (user setup)
    Commit: ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb
    Date: 2026-03-06T23:06:10Z
    Electron: 39.6.0
    ElectronBuildId: 13330601
    Chromium: 142.0.7444.265
    Node.js: 22.22.0
    V8: 14.2.231.22-electron.0
    OS: Windows_NT x64 10.0.26200
    

    I've opened #301004 because these seem to be distinct behaviors: keeping going without stopping, and hanging without stopping. The commonality: there is no stop button. (Don't forget also that sometimes the stop button present but it just doesn't do anything; that is #295351, which should be reopened.)

  16. modified the milestones: 1.112.0, On Deck on Mar 13, 2026
  17. tamuratak commented on May 30, 2026

    @tamuratak
    Contributor

    Isidor Nikolic (@isidorn) From what I understand, the stop button doesn't work at all. The fact that the stop button doesn't work when usage-based billing starts clearly seems like the beginning of a tragedy or "drama". See #319098

  18. added
    unreleased
    on Jun 26, 2026
  19. added
    insiders-released
    and removed
    unreleased
    on Jun 26, 2026
  20. added
    verified
    on Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugchat-agentimportantinsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions