redhat-developer / redhat-developer/yaml-language-server

Containerized Language Server needs tweak

Open
#1,012 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.5k
Forks
352
Avg merge
2d 7h
Merged PRs (30d)
11

Description

vscode-languageserver has long standing issue with working in container.
Watchdog kills server soon after start because cannot reach parent pid.
Just exit with code 1, without any log messages.

See:
https://github.com/microsoft/vscode-languageserver-node/issues/857
https://github.com/neovim/neovim/issues/14504

For example this nvim plugin mentions solutions:

So, this pitfall is worth to mention next to docker image.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No documentation file or test is named; start by locating the documentation next to the Docker image and review how container usage is described. Document the process-ID and host PID namespace pitfall, including the referenced solutions, so users can avoid the watchdog exiting silently.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
devtools, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.