• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tari-project / tari / 33536389238
76%

Build:
DEFAULT BRANCH: development
Ran 01 Sep 2026 06:37PM UTC
Jobs 1
Files 709
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Sep 2026 05:12PM UTC coverage: 63.354% (-0.7%) from 64.044%
33536389238

push

github

web-flow
chore: remove duplicate peer dialing logic (#7984)

1. The reconciled status line could lie about what happened on its own
tick.
`dialer_state` was computed from a connection count snapshotted *before*
   `clean_connection_pool`, `disconnect_seed_peers`, reaping and
minimize-connections ran, any of which can drop connections, while the
gate
   below deliberately re-read the count. So the line could print
   `proactive dialer=idle` and then dial anyway a few statements later -
reproducing the exact "two numbers disagree on one tick" confusion this
line
was added to end. The count is now read once, after all the cleanup
passes,
and that single value feeds both the log line and the gate. The message
moves
with it and is reworded from "Performing" to "Performed", since every
number
   in it is now post-cleanup.

2. Pin the discriminator's dominant real-world shape.
`ConnectivityRequester::dial_peer` always sends `reply_tx: Some(..)`
whatever
`RefKind` it is handed, and both ordinary explicit dial paths -
messaging
(`protocol/messaging/outbound.rs`) and RPC (`protocol/rpc/context.rs`) -
ask
for `RefKind::Weak`. So `Weak` + `Some(reply_tx)` is the common explicit
dial,
not `Strong`, and no existing test covered it: a regression to testing
   `ref_kind` alone would have left all three passing while silently
circuit-breaking every RPC and messaging dial. Verified by making
exactly that
mutation - the three old tests still passed and only the new one failed.

3. Stop claiming single-chokepoint coverage that does not exist, and
remove the
duplicate predicate that made the claim tempting. `handle_dial_peer` is
the
   chokepoint for dials routed through the connectivity actor, but
`ProactiveDialer::dial_peers_concurrently` calls `try_send_dial_peer`
directly
and never passes through it, so the dialer's own candidate filter is
load
   bearing and cannot be removed. Rather than leave two independent
implementations, both now ask through
`ConnectivityConfig::is_circ... (continued)

175 of 194 new or added lines in 6 files covered. (90.21%)

1024 existing lines in 35 files now uncovered.

78614 of 124086 relevant lines covered (63.35%)

232651.64 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
71.2
4.66% comms/core/src/connectivity/manager.rs
8
54.71
-2.7% comms/core/src/builder/mod.rs
1
33.33
7.94% base_layer/p2p/src/initialization.rs

Coverage Regressions

Lines Coverage ∆ File
270
48.62
-6.1% base_layer/core/src/chain_storage/lmdb_db/lmdb_db.rs
266
34.14
-46.1% base_layer/core/src/base_node/rpc/query_service.rs
206
50.43
-5.54% base_layer/core/src/chain_storage/blockchain_database.rs
77
66.74
-8.29% base_layer/core/src/base_node/sync/horizon_state_sync/synchronizer.rs
31
69.14
-4.04% base_layer/core/src/test_helpers/blockchain.rs
17
71.7
-16.04% base_layer/transaction_components/src/transaction_components/side_chain/validator_node_registration.rs
15
88.81
-3.36% base_layer/core/src/base_node/sync/header_sync/validator.rs
15
25.76
-21.21% base_layer/core/src/chain_storage/block_add_result.rs
12
85.65
-1.38% base_layer/core/src/chain_storage/lmdb_db/validator_node_store.rs
12
81.08
-6.55% comms/core/src/connectivity/proactive_dialer.rs
11
50.0
-50.0% base_layer/core/src/chain_storage/smt_hasher.rs
11
89.5
-5.02% base_layer/transaction_components/src/validation/helpers.rs
10
79.9
-1.59% base_layer/core/src/chain_storage/lmdb_db/lmdb.rs
9
94.86
-0.83% base_layer/transaction_components/src/consensus/consensus_constants.rs
6
80.3
-9.09% base_layer/common_types/src/types/fixed_hash.rs
6
60.47
-13.95% base_layer/node_components/src/blocks/historical_block.rs
6
91.48
-0.35% base_layer/transaction_components/src/transaction_builder/builder.rs
6
23.29
-8.22% base_layer/transaction_components/src/transaction_components/side_chain/sidechain_feature.rs
5
81.6
-1.0% comms/core/src/connection_manager/dialer.rs
4
91.73
-1.57% base_layer/core/src/validation/header/header_full_validator.rs
4
0.0
-28.57% comms/core/src/connection_manager/error.rs
3
67.12
-1.37% base_layer/core/src/base_node/sync/rpc/sync_utxos_task.rs
3
58.44
-3.9% base_layer/core/src/validation/mocks.rs
3
72.15
-1.27% comms/core/src/connection_manager/listener.rs
3
75.0
-0.84% comms/core/src/protocol/messaging/protocol.rs
2
74.32
-0.6% base_layer/core/src/validation/aggregate_body/aggregate_body_chain_validator.rs
2
58.13
-0.49% base_layer/core/src/validation/helpers.rs
2
71.2
4.66% comms/core/src/connectivity/manager.rs
1
67.12
-1.37% base_layer/core/src/base_node/state_machine_service/states/sync_decide.rs
1
66.67
-0.28% base_layer/core/src/mempool/sync_protocol/mod.rs
1
82.22
-2.22% base_layer/core/src/proof_of_work/sha3x_pow.rs
1
99.52
-0.16% base_layer/core/src/validation/block_body/test.rs
1
92.86
-2.38% base_layer/core/src/validation/chain_balance.rs
1
87.3
-0.23% base_layer/p2p/src/services/liveness/service.rs
1
99.2
-0.2% base_layer/transaction_components/src/test_helpers/test_helpers_functions.rs
Jobs
ID Job ID Ran Files Coverage
1 33536389238.1 01 Sep 2026 06:37PM UTC 709
63.35
GitHub Action Run
Source Files on build 33536389238
  • Tree
  • List 709
  • Changed 52
  • Source Changed 7
  • Coverage Changed 52
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33536389238
  • 2059f57b on github
  • Prev Build on development (#33502866981)
  • Next Build on development (#33607603137)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc