Skip to content

fix: bring the node down when any core task exits#384

Merged
matthias-wright merged 2 commits into
audit-may-2026from
m/engine-actor
Jun 11, 2026
Merged

fix: bring the node down when any core task exits#384
matthias-wright merged 2 commits into
audit-may-2026from
m/engine-actor

Conversation

@matthias-wright

Copy link
Copy Markdown
Collaborator

Addresses #319.

Changes:

  • Added supervise_node_tasks(p2p, engine, rpc) which fuses the three task handles and futures::select!s so the first to exit logs and returns, letting the runtime tear the process down for restart.
  • It is called from both run_node_inner and run_node_local_inner, replacing the try_join_all(...) joins.

@sebastian-osec

Copy link
Copy Markdown

This looks good to me.

@matthias-wright matthias-wright merged commit 617642e into audit-may-2026 Jun 11, 2026
4 checks passed
@matthias-wright matthias-wright deleted the m/engine-actor branch June 11, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants