Skip to content

fix(reth): improve error handling in coordinator tasks and block id lookup#643

Merged
ByteYue merged 1 commit intomainfrom
docs/audit-review-with-authors
Apr 8, 2026
Merged

fix(reth): improve error handling in coordinator tasks and block id lookup#643
ByteYue merged 1 commit intomainfrom
docs/audit-review-with-authors

Conversation

@ByteYue
Copy link
Copy Markdown
Contributor

@ByteYue ByteYue commented Apr 7, 2026

Summary

  • Replace panic! with error propagation (?) in start_commit when block ID is not found, avoiding silent crash loops in spawned tasks (audit issue C-49)
  • Restructure RethCoordinator::run to monitor all spawned tasks via tokio::select! and exit with error log on unexpected task failure, preventing silent deadlocks (audit issue C-48)
  • Revert 480656a8ea (hardfork E2E test framework and gamma test suite)

Test plan

  • Verify start_commit gracefully returns error instead of panicking when block ID lookup fails
  • Verify coordinator exits with error log when any spawned task fails unexpectedly
  • Run existing E2E tests to ensure no regression

🤖 Generated with Claude Code

@ByteYue ByteYue force-pushed the docs/audit-review-with-authors branch from 4a18e53 to 131bd83 Compare April 7, 2026 08:40
Lchangliang
Lchangliang previously approved these changes Apr 7, 2026
@ByteYue ByteYue force-pushed the docs/audit-review-with-authors branch from 131bd83 to 596e07a Compare April 7, 2026 09:16
…ookup

- Replace panic with error propagation in `start_commit` when block ID
  is not found, avoiding silent crash loops in spawned tasks (C-49)
- Restructure RethCoordinator::run to monitor all spawned tasks via
  tokio::select and exit with error log on unexpected task failure,
  preventing silent deadlocks (C-48)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ByteYue ByteYue force-pushed the docs/audit-review-with-authors branch from 596e07a to 71556c0 Compare April 8, 2026 06:06
@ByteYue ByteYue merged commit 6fe3f77 into main Apr 8, 2026
8 checks passed
@ByteYue ByteYue deleted the docs/audit-review-with-authors branch April 8, 2026 06:19
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.

3 participants