microsoft / microsoft/kiota

Switch to using named pipes to pass messages between kiota RPC server and the VSCode extension

Open
#6,264 9 comments 0 reactions 1 assignee Claimed by @lramosvea View on GitHub
status:waiting-for-triage WIP
Dominant language
C#
Stars
3.8k
Forks
333
Avg merge
16h 29m
Merged PRs (30d)
116

Description

The VSCode extension used standard streams to communicate with the RPC server. The RPC server would wait for a message from the standard input stream and respond with a message to the standard output stream. After the merge of https://github.com/microsoft/kiota/pull/6128, there was a bug caused by log messages in the output stream. The extension would stall when trying to read a message from the RPC server because the output stream had additional log lines. Switching to named pipes allows for log messages without disrupting the RPC communication.

## Acceptance Criteria
1. The extension uses named pipes to communicate with the RPC server
2. Log messages in the console do not break the VSCode extension

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.