Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove async channel from Pool #1411

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Shourya742
Copy link
Contributor

@Shourya742 Shourya742 commented Jan 29, 2025

Partially closes: #1389

Notes for reviewers:

Run pool using this RUSTFLAGS="--cfg tokio_unstable" RUST_LOG=debug cargo run -- -c config-examples/pool-config-local-tp-example.toml as I have added console_subscriber for observing the task.

@Shourya742 Shourya742 force-pushed the 2025-01-29-remove-async-channel-from-pool branch 2 times, most recently from f652034 to 3b0c29f Compare January 29, 2025 07:54
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 0% with 122 lines in your changes missing coverage. Please review.

Project coverage is 19.82%. Comparing base (4c84e37) to head (aff49ea).
Report is 16 commits behind head on main.

Files with missing lines Patch % Lines
.../src/noise_connection_tokio_with_tokio_channels.rs 0.00% 111 Missing ⚠️
roles/pool/src/lib/error.rs 0.00% 4 Missing ⚠️
roles/roles-utils/network-helpers/src/lib.rs 0.00% 4 Missing ⚠️
protocols/v2/framing-sv2/src/framing.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1411      +/-   ##
==========================================
+ Coverage   19.08%   19.82%   +0.73%     
==========================================
  Files         166      154      -12     
  Lines       11066    10189     -877     
==========================================
- Hits         2112     2020      -92     
+ Misses       8954     8169     -785     
Flag Coverage Δ
binary_codec_sv2-coverage 0.00% <0.00%> (ø)
binary_serde_sv2-coverage 3.55% <0.00%> (-0.01%) ⬇️
binary_sv2-coverage 5.34% <0.00%> (-0.01%) ⬇️
bip32_derivation-coverage 0.00% <ø> (ø)
buffer_sv2-coverage 25.02% <ø> (ø)
codec_sv2-coverage 0.01% <0.00%> (-0.01%) ⬇️
common_messages_sv2-coverage 0.13% <0.00%> (-0.01%) ⬇️
const_sv2-coverage 0.00% <0.00%> (ø)
error_handling-coverage 0.00% <ø> (ø)
framing_sv2-coverage 0.28% <0.00%> (-0.01%) ⬇️
jd_client-coverage 0.00% <0.00%> (ø)
jd_server-coverage ?
job_declaration_sv2-coverage 0.00% <0.00%> (ø)
key-utils-coverage 2.39% <ø> (ø)
mining-coverage 2.42% <0.00%> (-0.03%) ⬇️
mining_device-coverage 0.00% <0.00%> (ø)
mining_proxy_sv2-coverage 0.61% <0.00%> (-0.09%) ⬇️
noise_sv2-coverage 4.44% <0.00%> (-0.01%) ⬇️
pool_sv2-coverage ?
protocols 24.56% <0.00%> (-0.02%) ⬇️
roles 5.18% <0.00%> (-1.37%) ⬇️
roles_logic_sv2-coverage 7.93% <0.00%> (-0.01%) ⬇️
sv2_ffi-coverage 0.00% <0.00%> (ø)
template_distribution_sv2-coverage 0.00% <0.00%> (ø)
translator_sv2-coverage 8.82% <0.00%> (-0.79%) ⬇️
utils 25.13% <ø> (ø)
v1-coverage 2.41% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Shourya742 Shourya742 force-pushed the 2025-01-29-remove-async-channel-from-pool branch from 3b0c29f to aff49ea Compare January 29, 2025 13:23
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.

Move away from async-channel
3 participants