Skip to content

Conversation

NTaylorMullen
Copy link

  • Razor initializes O#'s language server in-proc in Visual Studio and because the pipeReader.ReadAsync doesn't utilize ConfigureAwait(false) it attempts to only ever read information on the main thread which is a problem if a feature such as light bulbs or go-to-definition require.

- Razor initializes O#'s language server in-proc in Visual Studio and because the `pipeReader.ReadAsync` doesn't utilize `ConfigureAwait(false)` it attempts to only ever read information on the main thread which is a problem if a feature such as light bulbs or go-to-definition require.
@github-actions github-actions bot added this to the v0.18.0 milestone Sep 9, 2020
Copy link
Member

@david-driscoll david-driscoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are probably more places we could add this, but that can be handled later.

CI is not you, it's me, should be fixed shortly.

@NTaylorMullen
Copy link
Author

There are probably more places we could add this, but that can be handled later.

ya I figured. I try to default to using ConfigureAwait(false) but to be frank this is the first time when it's actually ever bitten me 😄

@david-driscoll david-driscoll added the bug Something isn't working label Sep 10, 2020
@david-driscoll
Copy link
Member

So the test failures seem legit... why they're legit I do not know, however I will figure it out tonight.

@david-driscoll david-driscoll added the merge Shipit! label Sep 11, 2020
@codecov
Copy link

codecov bot commented Sep 11, 2020

Codecov Report

Merging #354 into master will decrease coverage by 5.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #354      +/-   ##
==========================================
- Coverage   75.48%   70.40%   -5.09%     
==========================================
  Files         441      441              
  Lines       12774    12774              
  Branches     1179     1179              
==========================================
- Hits         9643     8994     -649     
- Misses       3131     3367     +236     
- Partials        0      413     +413     
Impacted Files Coverage Δ
src/Client/LanguageClient.cs 95.17% <ø> (-2.07%) ⬇️
src/Dap.Client/DebugAdapterClient.cs 94.73% <ø> (-5.27%) ⬇️
src/Dap.Server/DebugAdapterServer.cs 95.65% <ø> (-4.35%) ⬇️
src/Dap.Shared/DapResponseRouter.cs 83.33% <ø> (-2.09%) ⬇️
src/Dap.Testing/DebugAdapterProtocolTestBase.cs 100.00% <ø> (ø)
src/Dap.Testing/DebugAdapterServerTestBase.cs 0.00% <ø> (ø)
src/JsonRpc.Testing/JsonRpcServerTestBase.cs 100.00% <ø> (ø)
src/JsonRpc.Testing/SettlePipeline.cs 100.00% <ø> (ø)
src/JsonRpc/DelegatingHandlers.cs 100.00% <ø> (ø)
src/JsonRpc/DelegatingJsonNotificationHandler.cs 0.00% <ø> (ø)
... and 202 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update debb27d...d52c8f5. Read the comment docs.

@mergify mergify bot merged commit 9469447 into OmniSharp:master Sep 11, 2020
@mergify mergify bot removed the merge Shipit! label Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants