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

tari-project / tari / 16644501184
62%

Build:
DEFAULT BRANCH: development
Ran 31 Jul 2025 10:15AM UTC
Jobs 1
Files 818
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

31 Jul 2025 08:54AM UTC coverage: 54.188% (-0.04%) from 54.226%
16644501184

push

github

web-flow
feat: add network discovery timeouts (#7377)

Description
---
Added network discovery timeouts - this enhances discovery performance.

Fixes #7379.

Motivation and Context
---
Network discovery times out in the presence of bad/hanging RPC
connections or operations, stopping it from working properly.

How Has This Been Tested?
---
System-level tests.

What process can a PR reviewer use to test or verify this change?
---
Code review

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think
about it carefully. -->


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a
footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a
database, resync the chain -->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

* **Bug Fixes**
* Improved timeout handling and error reporting during network peer
discovery, reducing the likelihood of hanging or unresponsive
operations.
* Enhanced error and warning messages for failed peer connections,
duplicate peers, and banning actions, making issues easier to identify.

* **Refactor**
* Streamlined peer discovery logic for more robust and clear error
handling, with improved log message consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

2 of 135 new or added lines in 2 files covered. (1.48%)

15 existing lines in 6 files now uncovered.

75485 of 139303 relevant lines covered (54.19%)

195494.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
133
0.0
0.0% comms/dht/src/network_discovery/discovering.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.35
-0.18% base_layer/core/src/proof_of_work/monero_rx/merkle_tree.rs
1
78.89
-0.22% base_layer/core/src/validation/aggregate_body/aggregate_body_internal_validator.rs
1
0.0
0.0% comms/dht/src/network_discovery/discovering.rs
3
55.33
0.22% comms/core/src/connectivity/manager.rs
4
58.9
-0.68% base_layer/core/src/validation/helpers.rs
5
77.99
-0.97% comms/core/src/connection_manager/dialer.rs
Jobs
ID Job ID Ran Files Coverage
1 16644501184.1 31 Jul 2025 10:15AM UTC 818
54.19
GitHub Action Run
Source Files on build 16644501184
  • Tree
  • List 818
  • Changed 8
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #16644501184
  • 5a711ccf on github
  • Prev Build on development (#16621916274)
  • Next Build on development (#16653736382)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc