Skip to content

Conversation

lean-apple
Copy link
Contributor

@lean-apple lean-apple commented Aug 23, 2025

Closes #17965.

@lean-apple lean-apple changed the title refactor(cli): enable tokio handle in clirunner refactor(cli): enable tokio handle in CliRunner Aug 23, 2025
@lean-apple lean-apple changed the title refactor(cli): enable tokio handle in CliRunner feat(cli): enable tokio handle in CliRunner Aug 23, 2025
@lean-apple lean-apple marked this pull request as ready for review August 23, 2025 17:23
@lean-apple lean-apple requested a review from mattsse as a code owner August 23, 2025 17:23
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

cool, only a few style nits

Comment on lines 18 to 25
/// A tokio runtime or handle.
#[derive(Debug)]
enum RuntimeOrHandle {
/// Owned runtime that can be used for blocking operations
Runtime(Runtime),
/// Handle to an existing runtime
Handle(Handle),
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

can we move this end of file so that the first type remains the pub one?

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Aug 27, 2025
@lean-apple lean-apple requested a review from mattsse August 27, 2025 17:45
@github-actions github-actions bot added the S-stale This issue/PR is stale and will close with no further activity label Sep 18, 2025
Copy link

codspeed-hq bot commented Sep 24, 2025

CodSpeed Performance Report

Merging #18018 will not alter performance

Comparing lean-apple:tokio-handle-cli-runner (de9d883) with main (d2070f4)

Summary

✅ 77 untouched

@github-actions github-actions bot removed the S-stale This issue/PR is stale and will close with no further activity label Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Support tokio handle in CliRunner

3 participants