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

Chia-Network / chia-blockchain / 39453835512
91%

Build:
DEFAULT BRANCH: main
Ran 20 Oct 2026 05:21PM UTC
Jobs 1
Files 943
Run time 1min
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

20 Oct 2026 04:02PM UTC coverage: 90.283% (+0.02%) from 90.266%
39453835512

push

github

web-flow
[CHIA-4454] Keep introducer and seeder peers when a DNS lookup fails (#21515)

* Keep introducer and seeder peers when a DNS lookup fails

The introducer's DNS fallback and the seeder's static peer resolution let a
single failed lookup (NXDOMAIN, SERVFAIL, timeout, or no AAAA records) escape:

- The introducer dropped its vetted peers, closed the connection and banned
  the requester, so it returned no peers at all.
- The seeder dropped every static peer and the crawler's good peers, and the
  periodic refresh task died silently, so the seeder served no peers until it
  restarted.

Catch and log each failed lookup instead and keep the remaining results, and
keep the seeder's refresh loop running after an error.

* Restore the shared seeder fixture after the unresolvable static peers test

Use monkeypatch for the resolver and static_peers overrides so they don't leak into later tests that share the module-scoped seeder_service fixture.

20034 of 25024 branches covered (80.06%)

Branch coverage included in aggregate %.

86 of 87 new or added lines in 4 files covered. (98.85%)

96 existing lines in 10 files now uncovered.

118114 of 127992 relevant lines covered (92.28%)

1.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
84.31
0.02% chia/seeder/dns_server.py

Coverage Regressions

Lines Coverage ∆ File
51
90.3
0.03% chia/simulator/block_tools.py
22
91.68
0.0% chia/farmer/farmer_api.py
7
77.16
-0.89% chia/daemon/server.py
4
83.91
0.0% chia/full_node/full_node.py
3
96.9
0.0% chia/plotting/cache.py
3
69.94
-0.36% chia/timelord/timelord.py
2
84.9
-0.38% chia/farmer/farmer.py
2
67.74
-1.94% chia/timelord/timelord_launcher.py
1
80.12
-0.15% chia/server/server.py
1
93.84
0.0% chia/_tests/simulation/test_simulation.py
Jobs
ID Job ID Ran Files Coverage
1 39453835512.1 20 Oct 2026 05:21PM UTC 1886
90.28
GitHub Action Run
Source Files on build 39453835512
  • Tree
  • List 943
  • Changed 24
  • Source Changed 9
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39453835512
  • 7f78500d on github
  • Prev Build on main (#39319198172)
  • Next Build on main (#39471904405)
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