Skip to content

Copilot repeatedly probes backing bare repository; agent chats stall across worktrees #340192

Agent suggestions

Public preview

Description

@rosaenciso

Description

Environment: Windows, multiple linked Git worktrees backed by a bare
repository, with safe.bareRepository=explicit.

Symptoms:
Several Copilot agent chats remain on “Working…”. Previously observed
tool calls, including a small local file read, stayed pending for minutes.

Runtime logs repeatedly show:
[rust:rt_git] git root lookup failed; reporting no result
fatal: cannot use bare repository '<backing-repository.git>'
(safe.bareRepository is 'explicit')

607 such failures were recorded in one minute on October 6.
The warnings alternate resolve_worktrees=true and false.

All opened project folders are working trees, not the bare repository.
The issue recurred after restarting VS Code with a new runtime process.

Expected:
Handle linked-worktree backing repositories without repeated failed
implicit discovery, while preserving Git’s security setting.

The retry loop is confirmed; its causal relationship to the chat stalls
has not yet been established.

Issue Details

Item Value
Issue Category Bug
Target Agents Window
VS Code Version Code 1.141.0 (2a59476, 2026-10-06T10:15:52+02:00)
OS Version Windows_NT x64 10.0.26200
System Info
Item Value
VS Code Version Code 1.141.0 (2a59476, 2026-10-06T10:15:52+02:00)
OS Version Windows_NT x64 10.0.26200
CPUs AMD Ryzen 9 7950X 16-Core Processor (32 x 4491)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x10de, DEVICE=0x2786 [NVIDIA GeForce RTX 4070], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.16.1088 ACTIVE
GPU1: VENDOR= 0x1002, DEVICE=0x164e [AMD Radeon(TM) Graphics], DRIVER_VERSION=32.0.21042.62
GPU2: VENDOR= 0x10de, DEVICE=0x2786 [NVIDIA GeForce RTX 4070], DRIVER_VERSION=32.0.16.1088
GPU3: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9278
Machine model name:
Machine model version:
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: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg)
Memory (System) 127.22GB (89.68GB free)
Process Argv --new-window C:\agent-worktrees\rad-service\wi-1701147 --crash-reporter-id 4f60bf34-131c-4752-87e1-b2d762f4d466
Screen Reader no
VM 0%
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.141.0 Chrome/150.0.7871.250 Electron/43.7.7 Safari/537.36
Installation pure true
Extensions (12)
Name Identifier Author Version
Databricks databricks.databricks databricks 2.19.0
EditorConfig editorconfig.editorconfig EditorConfig 0.18.2
Python Debugger ms-python.debugpy ms-python 2026.6.0
Python ms-python.python ms-python 2026.6.0
Pylance ms-python.vscode-pylance ms-python 2026.4.1
Python Environments ms-python.vscode-python-envs ms-python 1.38.0
Jupyter ms-toolsai.jupyter ms-toolsai 2025.9.1
Jupyter Keymap ms-toolsai.jupyter-keymap ms-toolsai 1.1.2
Jupyter Notebook Renderers ms-toolsai.jupyter-renderers ms-toolsai 1.3.0
Jupyter Cell Tags ms-toolsai.vscode-jupyter-cell-tags ms-toolsai 0.1.9
Jupyter Slide Show ms-toolsai.vscode-jupyter-slideshow ms-toolsai 0.1.6
YAML redhat.vscode-yaml redhat 1.24.0

Theme extensions: 9

A/B Experiments
vsliv368cf:30146710
vswsl492cf:30256860
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
metis_rerank_treatment1:31422731
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
ddid_t:31478206
hmra_i5g22:-9
l_j1ci3728:31592440
7df3h592:31512476
cp_cls_t_1082:31535311
b5d32f0b:31595862
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
jh5f2457_c:31540921
jbcp_cls_pctr_t:31531130
3f904173:31522231
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
enable_editor_pane_layout:31569726
allow-none:31555437
36h42362:31564511
voicemodeon:31566387
1h923230:31564177
gpt56sol_default:31583163
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
a1hcc538:31559322
nemo-v2:31565332
0c1h4866:31566224
session-mark-done:31591648
plus-and-new:31592472
multi-root:31593626
5b8j3302:31564601
autotiers:31581918
mangle-name-control:31572633
allow-signed-out:31592042
80db41fc-e686-49f5-b9db-830fbb843f14:31589249
intellij_nes_preview_t:31580086
39a5d156:31574986
daa97553:31593977
2bfb8b39:31585911
links-treatment:31587702
aw-autom-on:31583758
issue9151-8b8b39eb:31593979
usage_tips_endabled_0911:31587631
7g328426_fixed:31595622
codex-agent-host-stable-editor:31593046
0485115c-2712-4002-b6e9-b5d4e30fb963:31595629
sessioninlinediffenabled_disabled:31587634
welcomesignin9359t:31590011
e6882f69-f5cc-4f90-9073-69a4ca3e50ea:31589215
ca19f5eb-b04f-4f52-8e6b-9f6927d4e0dc:31589210
0915b77b-4632-4fb2-9377-b5640c1e9623:31593888
4d4fc2c1-d531-4b7f-9d28-fc8ba58ba68a:31593283
c4jch183:31592431
i67i8290:31595868
9hh48893:31595853
msft-auth-on:31593345
permission_prompt_treatment:1294978
ccr_pr_nudge_auto_review:1319472
vsc_wsm_c:1340633
g03gg798:1417072
cfee5631:1379228
4cj51803:1433348
5i7gb129:1438750
cmc_aa_t:1435711

Activity

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