Avatar for the esphome user
esphome
aioesphomeapi
BlogDocsChangelog

Wrap noise handshake decrypt errors with friendly API exceptions

#1668Merged
Comparing
bluetoothbot:koan/wrap-noise-handshake-errors
(
3441160
) with
main
(
410053b
)
CodSpeed Performance Gauge
0%
Untouched
40

Benchmarks

40 total
test_noise_write_packets[1024]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
+1%
886.9 µs879.6 µs
test_list_entities_sensor_from_pb
tests/benchmarks/test_list_entities.py
CodSpeed Performance Gauge
+1%
82.4 µs81.7 µs
test_noise_write_packets[0]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
+1%
623.4 µs619 µs
test_climate_state_response
tests/benchmarks/test_state_messages.py
CodSpeed Performance Gauge
+1%
136.5 µs135.7 µs
test_raw_ble_plain_text
tests/benchmarks/test_bluetooth.py
CodSpeed Performance Gauge
+1%
21.1 µs21 µs
test_raw_ble_plain_text_different_advs
tests/benchmarks/test_bluetooth.py
CodSpeed Performance Gauge
0%
17.6 µs17.5 µs
test_sending_empty_light_command_request
tests/benchmarks/test_requests.py
CodSpeed Performance Gauge
0%
43.8 µs43.6 µs
test_sensor_state_response
tests/benchmarks/test_state_messages.py
CodSpeed Performance Gauge
0%
59.9 µs59.7 µs
test_switch_state_response
tests/benchmarks/test_state_messages.py
CodSpeed Performance Gauge
0%
57 µs56.9 µs
test_noise_messages[64]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
1.4 ms1.4 ms
test_list_entities_climate_from_pb
tests/benchmarks/test_list_entities.py
CodSpeed Performance Gauge
0%
273.6 µs272.9 µs
test_noise_messages[128]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
1.5 ms1.5 ms
test_multiple_ble_adv_messages_single_read
tests/benchmarks/test_bluetooth.py
CodSpeed Performance Gauge
0%
25.2 µs25.1 µs
test_noise_messages[0]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
test_sending_light_command_request_with_bool
tests/benchmarks/test_requests.py
CodSpeed Performance Gauge
0%
47.7 µs47.6 µs
test_mixed_state_responses
tests/benchmarks/test_state_messages.py
CodSpeed Performance Gauge
0%
2 ms2 ms
test_noise_make_packets[0]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
599.5 µs598.4 µs
test_noise_encrypt_cipher[128]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
382 µs381.4 µs
test_noise_messages[1024]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
1.8 ms1.8 ms
test_noise_encrypt_cipher[16384]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
3.9 ms3.9 ms
test_noise_encrypt_cipher[0]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
313.7 µs313.4 µs
test_binary_sensor_state_response
tests/benchmarks/test_state_messages.py
CodSpeed Performance Gauge
0%
59.2 µs59.2 µs
test_noise_messages[16384]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
15 ms15 ms
test_noise_make_packets[128]
tests/benchmarks/test_noise.py
CodSpeed Performance Gauge
0%
680.8 µs680.8 µs
test_light_state_response
tests/benchmarks/test_state_messages.py
CodSpeed Performance Gauge
0%
122.5 µs122.5 µs

Commits

Click on a commit to change the comparison range
Base
main
410053b
+0.06%
Wrap noise handshake decrypt errors with friendly API exceptions
4bd30e0
14 hours ago
by bluetoothbot
+0.26%
Apply suggestion from @bdraco
ec2acaa
9 hours ago
by bdraco
-0.19%
Preserve underlying handshake exception as __cause__ on wrapped errors
a516002
8 hours ago
by bluetoothbot
-0.03%
fix: resolve CI failures on #1668 (attempt 1)
3441160
8 hours ago
by bluetoothbot
© 2026 CodSpeed Technology
Home Terms Privacy Docs