OmniSharp / OmniSharp/csharp-language-server-protocol
Not sure where this bug should live. Language Server Bug
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 638
- Forks
- 109
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
Type: Bug
2022-09-20 17:19:56.996 -04:00 [DBG] Starting: Processing notification textDocument/didOpen
2022-09-20 17:19:56.996 -04:00 [DBG] Starting: Processing notification textDocument/didOpen
2022-09-20 17:19:56.996 -04:00 [DBG] Starting: Routing Notification textDocument/didOpen
2022-09-20 17:19:56.996 -04:00 [DBG] Starting: Routing Notification textDocument/didOpen
2022-09-20 17:19:56.996 -04:00 [VRB] Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams
2022-09-20 17:19:56.997 -04:00 [VRB] Converting params for Notification textDocument/didOpen to OmniSharp.Extensions.LanguageServer.Protocol.Models.DidOpenTextDocumentParams
2022-09-20 17:24:57.011 -04:00 [VRB] Notification was cancelled due to timeout
2022-09-20 17:24:57.011 -04:00 [VRB] Notification was cancelled due to timeout
So basically, after a recent VS Code Update, it tries to convert the params and waits 5 minutes then finally cancels. What the user sees is the extension loading and then it sits there for 5 minutes. After the initial delay everything works as expected
VS Code version: Code - Insiders 1.72.0-insider (0dce868b85978716d4fc7bc48b6a6a54c6a39fd0, 2022-09-09T05:17:41.485Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: Yes
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i9-9900X CPU @ 3.50GHz (20 x 3504) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off 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_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 127.71GB (68.35GB free) |
| Process Argv | --crash-reporter-id 12cb6401-d44d-49aa-8b89-b8e70fef5929 |
| Screen Reader | no |
| VM | 0% |
Extensions (6)
| Extension | Author (truncated) | Version |
|---|---|---|
| vscode-eslint | dba | 2.2.6 |
| prettier-vscode | esb | 9.8.0 |
| vscode-dotnet-runtime | ms- | 1.5.0 |
| powershell | ms- | 2022.8.5 |
| powershell-preview | ms- | 2022.8.5 |
| docindex | Tea | 0.0.44 |
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256198
vslsvsres303:30308271
pythonvspyl392:30422396
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
cmake_vspar411cf:30557515
vsaa593cf:30376535
pythonvs932:30404738
cppdebug:30492333
vscaac:30438845
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pylantcb52:30568093
vscccc:30564267
pyindex848:30568094
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file, test, or entry point is identified. Start by reproducing the five-minute delay with VS Code Insiders and inspect the language-server logs around textDocument/didOpen parameter conversion and notification cancellation. Done means identifying the cause of the timeout and verifying that opening a document no longer blocks for five minutes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100