Skip to content

feat: halt system on significant child process failure#485

Open
Draggu wants to merge 3 commits intoelixir-lang:mainfrom
Draggu:restart
Open

feat: halt system on significant child process failure#485
Draggu wants to merge 3 commits intoelixir-lang:mainfrom
Draggu:restart

Conversation

@Draggu
Copy link
Contributor

@Draggu Draggu commented Mar 4, 2026

gen_lsp part elixir-tools/gen_lsp#80

Close #428, I tried to fix the source problem here (writing to stdout), but I'm not sure if case I found is the only one. I don't think there exists a valid restart option since clients can't recover from gibberish written to output.

{:forge, path: "../forge"},
{:gen_lsp, "~> 0.11.3"},
{:gen_lsp,
git: "https://github.com/elixir-tools/gen_lsp",
Copy link
Member

Choose a reason for hiding this comment

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

Tip: you can use the github option and branch option together, a little more ergonomic and easier to update when you push changes.

receive do
{:DOWN, ^ref, :process, _, _} ->
Logger.error("Expert application has terminated unexpectedly")
# Signifficant process we cant recover (like the GenLSP) has crashed
Copy link
Contributor

Choose a reason for hiding this comment

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

typos

Suggested change
# Signifficant process we cant recover (like the GenLSP) has crashed
# A significant process we can't recover from (like the GenLSP) has crashed.

@mhanberg
Copy link
Member

testing this today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Correctly shutdown in case we shut down the buffer

3 participants