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

Chia-Network / chia-blockchain / 24138247827
91%

Build:
DEFAULT BRANCH: main
Ran 08 Apr 2026 05:08PM UTC
Jobs 1
Files 902
Run time 3min
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

07 Apr 2026 11:26PM UTC coverage: 91.25% (+0.05%) from 91.203%
24138247827

push

github

web-flow
Fix mypy 1.20.0 compatibility (#20756)

* Fix mypy 1.20.0 compatibility

mypy 1.20.0 introduces improved type narrowing and stricter enum/dict
inference that breaks the existing codebase. This fixes all 20 errors:

- Remove `types-cryptography` (3.3.23.2): ancient stubs conflict with
  cryptography 46.0.6's own `py.typed` inline types. mypy 1.20.0 now
  resolves enum member annotations from stubs as `str` instead of the
  enum type, causing arg-type errors in SSL code.
- Remove stale `type: ignore` comments made unnecessary by improved
  narrowing (equality checks on unions, dict key membership).
- Add targeted `type: ignore` for new stricter dict union inference
  (bool/int distinction in literals, conditional dict merges).
- Fix pre-existing RUF070 lint errors in touched files.

* Bump mypy to 1.20.0 in poetry.lock

The previous poetry.lock pinned mypy at 1.19.1, so CI was running
the old version despite the code fixes targeting 1.20.0. This updates
the lock file to resolve mypy 1.20.0 (and its runtime dep librt 0.8.1).

10491 of 11674 branches covered (89.87%)

Branch coverage included in aggregate %.

9 of 9 new or added lines in 3 files covered. (100.0%)

14 existing lines in 4 files now uncovered.

106702 of 116756 relevant lines covered (91.39%)

1.83 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
92.83
-1.17% chia/server/address_manager.py
4
88.94
-1.38% chia/_tests/core/util/test_lockfile.py
2
81.08
0.0% chia/server/node_discovery.py
1
87.05
0.66% chia/wallet/wallet_node.py
Jobs
ID Job ID Ran Files Coverage
1 24138247827.1 08 Apr 2026 05:08PM UTC 1804
91.25
GitHub Action Run
Source Files on build 24138247827
  • Tree
  • List 902
  • Changed 32
  • Source Changed 6
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24138247827
  • e8952c37 on github
  • Prev Build on main (#24109340436)
  • Next Build on main (#24140620574)
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