Avatar for the Bluetooth-Devices user
Bluetooth-Devices
bleak-esphome
BlogDocsChangelog

fix: convert spurious CancelledError in connect to BleakError

#286Merged
Comparing
fix-connect-cancellation-leak
(
6f24890
) with
main
(
aa611c9
)
CodSpeed Performance Gauge
0%
Untouched
5

Benchmarks

5 total
test_scanner_real_adv_data[adv2]
tests/backend/test_scanner_benchmarks.py
CodSpeed Performance Gauge
0%
7.9 ms7.8 ms
test_scanner_async_on_advertisement_six
tests/backend/test_scanner_benchmarks.py
CodSpeed Performance Gauge
0%
21.3 ms21.3 ms
test_scanner_real_adv_data[adv3]
tests/backend/test_scanner_benchmarks.py
CodSpeed Performance Gauge
0%
11.2 ms11.2 ms
test_scanner_async_on_advertisement
tests/backend/test_scanner_benchmarks.py
CodSpeed Performance Gauge
0%
8.5 ms8.6 ms
test_scanner_real_adv_data[adv1]
tests/backend/test_scanner_benchmarks.py
CodSpeed Performance Gauge
0%
21.2 ms21.3 ms

Commits

Click on a commit to change the comparison range
Base
main
aa611c9
+0.38%
fix: convert spurious CancelledError in connect to BleakError
117098e
12 days ago
by bdraco
-0.66%
fix: clean up connection-state subscription on future cancellation
6186324
12 days ago
by bdraco
0%
test: cover bare raise paths when task is genuinely cancelled
97e1b0f
12 days ago
by bdraco
+0.19%
fix: also clean up connection-state subscription on real cancel path
6f24890
12 days ago
by bdraco
© 2026 CodSpeed Technology
Home Terms Privacy Docs