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

pybricks / pybricksdev / 21322419713
54%

Build:
DEFAULT BRANCH: master
Ran 24 Jan 2026 10:12PM UTC
Jobs 1
Files 32
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

24 Jan 2026 10:11PM UTC coverage: 53.875% (-0.01%) from 53.889%
21322419713

push

github

dlech
pybricks.connections.pybricks: Clear halt on endpoints instead of resetting device.

Change how we ensure the USB endpoints are in a good state when connecting
to a device. Instead of resetting the device, which is not supported on all
platforms, we now clear the halt condition on both endpoints.

We were doing the reset to ensure that the even/odd data toggle state
was correct. The reset, if supported, would completely reset the
connection and re-enumerate the device, which is more that we need.
On Windows, resetting is not supported and libusb would poke all endpoints
like this as a best-effort approximation of a reset. So now, the code
reflects what is actually important and will be helpful if we switch to
something other than pyusb in the future.

75 of 265 branches covered (28.3%)

Branch coverage included in aggregate %.

2052 of 3683 relevant lines covered (55.72%)

0.56 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
35
36.72
-0.08% connections/pybricks.py
Jobs
ID Job ID Ran Files Coverage
1 21322419713.1 24 Jan 2026 10:12PM UTC 32
53.88
GitHub Action Run
Source Files on build 21322419713
  • Tree
  • List 32
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21322419713
  • 2930231c on github
  • Prev Build on v2.3.2 (#21308668169)
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