Skip to content

Gracefully stop reth coordinator tasks#750

Open
ByteYue wants to merge 1 commit into
mainfrom
codex/fix-reth-coordinator-shutdown
Open

Gracefully stop reth coordinator tasks#750
ByteYue wants to merge 1 commit into
mainfrom
codex/fix-reth-coordinator-shutdown

Conversation

@ByteYue

@ByteYue ByteYue commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the coordinator watchdog's direct process::exit path with an awaited Result-returning shutdown path
  • broadcast shutdown when a coordinator task exits, then wait briefly for the remaining coordinator tasks to stop
  • join the reth runner thread before returning a non-zero exit for coordinator failures

Validation

  • RUSTFLAGS="--cfg tokio_unstable" cargo check -p gravity_node

Related audit context: Galxe/gravity-audit#11

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.

1 participant