Skip to content

Copy Chat doesn't copy diagrams when using renderMermaidDiagram  #292771

@zzfadi

Description

@zzfadi

Type: Bug

Copy Chat doesn't copy diagrams when using renderMermaidDiagram

1- Ask to create diagrams using renderMermaidDiagrams
2- Right click and copy response
3- paste in a markdown file - Note no mermaid diagrams <-

Image

Extension version: 0.37.2026020404
VS Code version: Code - Insiders 1.109.0-insider (Universal) (bdd88df, 2026-02-04T02:00:40.203Z)
OS version: Darwin arm64 25.2.0
Modes:

Logs
Trace: choice {"delta":{"content":""},"finish_reason":null}
Trace: [NES][NextEditProvider][f842][_getNextEdit][fetchNextEdit][_executeNewNextEditRequest][XtabProvider][doGetNextEditWithSelection][streamEditsWithFiltering][streamEdits] starting to diff stream against edit window lines with latency 281.1888750000071 ms
Trace: choice {"delta":{"content":"\n\n"},"finish_reason":null}
Trace: [NES][NextEditProvider][f842][_getNextEdit][fetchNextEdit][_executeNewNextEditRequest][XtabProvider][doGetNextEditWithSelection][streamEditsWithFiltering][streamEdits] Line 0 emitted with latency 281.65779199999815 ms
Trace: choice {"delta":{"content":"Here"},"finish_reason":null}
Trace: [NES][NextEditProvider][f842][_getNextEdit][fetchNextEdit][_executeNewNextEditRequest][XtabProvider][doGetNextEditWithSelection][streamEditsWithFiltering][streamEdits] Line 1 emitted with latency 281.68758300000627 ms
Trace: choice {"delta":{"content":"’s"},"finish_reason":null}
Trace: choice {"delta":{"content":" an"},"finish_reason":null}
Trace: choice {"delta":{"content":" example"},"finish_reason":null}
Trace: choice {"delta":{"content":" Mermaid"},"finish_reason":null}
Trace: choice {"delta":{"content":" diagram"},"finish_reason":null}
Trace: choice {"delta":{"content":" rendered"},"finish_reason":null}
Trace: choice {"delta":{"content":"."},"finish_reason":null}
Trace: choice {"delta":{"content":" Want"},"finish_reason":null}
Trace: choice {"delta":{"content":" a"},"finish_reason":null}
Trace: choice {"delta":{"content":" different"},"finish_reason":null}
Trace: choice {"delta":{"content":" style"},"finish_reason":null}
Trace: choice {"delta":{"content":" ("},"finish_reason":null}
Trace: choice {"delta":{"content":"sequence"},"finish_reason":null}
Trace: choice {"delta":{"content":","},"finish_reason":null}
Trace: choice {"delta":{"content":" class"},"finish_reason":null}
Trace: choice {"delta":{"content":","},"finish_reason":null}
Trace: choice {"delta":{"content":" G"},"finish_reason":null}
Trace: choice {"delta":{"content":"antt"},"finish_reason":null}
Trace: choice {"delta":{"content":")"},"finish_reason":null}
Trace: choice {"delta":{"content":" or"},"finish_reason":null}
Trace: choice {"delta":{"content":" theme"},"finish_reason":null}
Trace: choice {"delta":{"content":"?"},"finish_reason":null}
Trace: choice {"delta":{"content":""},"finish_reason":"stop"}
Info: message 0 returned. finish reason: [stop]
Debug: message 0 details: finishOffset: [undefined] completionId: [{}] created: [{1770184114}]
Info: request done: requestId: [17d96803-ebf1-4c9e-99df-f663f5cae2d7] model deployment ID: []
Info: ccreq:2b187fe6.copilotmd | success | copilot-nes-oct | 490ms | [XtabProvider]
Trace: [NES][NextEditProvider][f842][_getNextEdit][fetchNextEdit][_executeNewNextEditRequest][XtabProvider][doGetNextEditWithSelection][streamEditsWithFiltering][streamEdits] Line 2 emitted with latency 492.47849999999744 ms
Trace: [NES][NextEditProvider][f842][_getNextEdit][fetchNextEdit][_executeNewNextEditRequest][pushEdit] processing edit #0 (starts at 0)
Trace: [NES][NextEditProvider][f842][_getNextEdit][fetchNextEdit][_executeNewNextEditRequest][pushEdit] resetting shouldExpandEditWindow to false due to NoSuggestions
Trace: [NES][NextEditProvider][f842][_getNextEdit][fetchNextEdit][_executeNewNextEditRequest][pushEdit] no edit, reason: noSuggestions
Trace: [NES][NextEditProvider][f842][_getNextEdit] resolved firstEdit promise
Trace: [NES][NextEditProvider][f842][_getNextEdit] First edit latency: 2601 ms
Trace: [NES][NextEditProvider][f842][_getNextEdit] failed to fetch next edit noSuggestions
Trace: [NES][NextEditProvider][f842][_getNextEdit] had no edit
Trace: [NES][Provider][provideInlineCompletionItems][f842] giving some more time to diagnostics provider
Trace: [NES][DiagnosticsNextEditProvider] DiagnosticsInlineCompletionProvider runUntilNextEdit complete (cancelled)
Trace: [NES][Provider][provideInlineCompletionItems][f842] no next edit suggestion
Info: ccreq:2c450338.copilotmd | markdown
Trace: [NES][Provider][handleListEndOfLifetime][f842] List icr-f842b294-24ff-447b-99e1-22dc724a79e9 disposed, reason: Empty
Error: Error: Failed to fetch custom instructions for org awfcm: 
	at PN.getOrgCustomInstructions (/Users/fadialzuabi/.vscode-insiders/extensions/github.copilot-chat-0.37.2026020404/dist/extension.js:1430:9055)
	at async eq.pollInstructions (/Users/fadialzuabi/.vscode-insiders/extensions/github.copilot-chat-0.37.2026020404/dist/extension.js:1145:1174)
	at async s (/Users/fadialzuabi/.vscode-insiders/extensions/github.copilot-chat-0.37.2026020404/dist/extension.js:1140:22352)
Trace: [GitHubOrgInstructionsProvider] No custom instructions found for org awfcm
Debug: Related Information: Index not loaded yet triggering background calculation, returning 0ms
Debug: Related Information: Index not loaded yet triggering background calculation, returning 0ms
Request IDs
99632790-3e6f-4f8b-8667-d8e0d9e955de
f43a457a-0577-4df1-8fc4-b3d3192f2825
a0c0250f-5ba8-47c0-ab9e-69e7ea1ce0c1
17d96803-ebf1-4c9e-99df-f663f5cae2d7
System Info
Item Value
CPUs Apple M4 (10 x 2400)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M4, Version 26.2 (Build 25C56))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.2 ACTIVE
Machine model name: Mac
Machine model version: 16.13
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
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 8, 17, 11
Memory (System) 16.00GB (0.17GB free)
Process Argv
Screen Reader no
VM 0%

Metadata

Metadata

Assignees

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