microsoft / microsoft/vscode

Agents Window: Unable to continue archived session due to deleted worktree

Open
#324,248 1 comment 0 reactions 2 assignees Claimed by @sandy081 View on GitHub
agents-window
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

### Description

Tried to continue an archived session because I realized it had good context I could reuse for a related task, but ran into this error that wouldn't let me continue the session since the worktree had already been deleted. Forking didn't work either. Would be cool if there was a way out of this. See screenshot below.

### Issue Details

Item|Value
---|---
Issue Category|Bug
Target|Agents Window
VS Code Version|Code - Insiders 1.128.0-insider (2be9624b801009a53db8f629bd7762137d100007, 2026-07-02T16:57:42Z)
OS Version|Darwin arm64 25.5.0

System Info

Item|Value
---|---
VS Code Version|Code - Insiders 1.128.0-insider (2be9624b801009a53db8f629bd7762137d100007, 2026-07-02T16:57:42Z)
OS Version|Darwin arm64 25.5.0
CPUs|Apple M5 Max (18 x 2400)
GPU Status|2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M5 Max, Version 26.5 (Build 25F71))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.5 *ACTIVE*
Machine model name: Mac
Machine model version: 17.6
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: enabled_on
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg)|2, 3, 5
Memory (System)|128.00GB (0.83GB free)
Process Argv|--crash-reporter-id f3441869-abe8-416f-bbd5-01c71ecec52f
Screen Reader|no
VM|0%
User Agent|Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code-Insiders/1.128.0-insider Chrome/148.0.7778.271 Electron/42.5.0 Safari/537.36
Installation pure|true

Extensions (4)

Name|Identifier|Author|Version
---|---|---|---
ESLint|dbaeumer.vscode-eslint|dbaeumer|3.0.33
Spanish Language Pack for Visual Studio Code|ms-ceintl.vscode-language-pack-es|MS-CEINTL|1.127.2026070311
Jupyter Keymap|ms-toolsai.jupyter-keymap|ms-toolsai|1.1.2
Chat Customizations Evaluations|ms-vscode.vscode-chat-customizations-evaluations|ms-vscode|1.1.2026062409

Theme extensions: 9

A/B Experiments

```
vsliv368:30146709
pythonvspyt551:31249597
nativeloc1:31118317
dwcopilot:31158714
dwoutputs:31242946
copilot_t_ci:31333650
g012b348:31231168
pythonrdcb7:31268811
pythonpcpt1cf:31399617
6518g693:31302842
6abeh943:31336334
envsactivate1:31349248
editstats-enabled:31346256
cloudbuttont:31366566
3efgi100_wstrepl:31403338
cp_cls_t_966_ss:31526232
4je02754:31481634
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31490507
cp_cls_c_1081:31454833
conptydll_true:31485575
ia-use-proxy-models-svc:31446143
e9c30283:31453065
test_treatment2:31471001
46204921:31447328
idci7584:31454084
e3e4d672:31454087
ei9d7968:31462942
nes-extended-on:31455475
89g7j272:31506658
7e884298:31462391
7e187181:31482583
i2gc6536:31472020
52612955:31508042
h08i8180:31475367
ddid_c:31478205
hmra_i5g22:-9
7df3h592:31491241
cp_cls_t_1082:31535311
cc5hd740:31492954
logging_enabled_new:31490725
jb_cp_cls_t_632:31543129
32d76977:31503652
ha629193:31508444
cdk-lw-on:31524445
nes-vscode-team-custom-1:31540236
f9bf7985:31514991
31fi7170_t:31517328
a1ije391_t:31533808
api_cot_ctrl:31509853
g4a0e106:31510899
41836166:31537719
prpt_ctrl:31513638
jbcp_cls_pctr_t:31531130
3f904173:31522231
cp_intellij_c_nes:31533503
jf4hg949:31526829
hide-eh-duplicates:31533831
h561g132:31531228
ah-cli-default-hide-local:31534101
ihg5j128:31534457
f412h606:31540278
b1c25fc8:31539904
max-result-20:31544850
sandbox-ui-on-2:31543161
```

### Attachments

![screenshot-1.png](https://github.com/user-attachments/assets/6c4c21d8-326b-4261-b76e-06e500ef69d1)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.