kbx81
14f6d44ac2
[serial_proxy] Make set_mode acknowledgements report the real outcome
...
- Refuse PROTOCOL with NOT_SUPPORTED when the port has no tap, so a
client cannot mistake a plain pipe for an active tap
- Skip tap_pump() when neither the tap nor a subscriber would receive
the bytes, instead of draining the FIFO into the void
- Rename the client-facing overload to set_mode_from_client, matching
write_from_client
- Document that PORT_IN_USE also covers callers that never subscribed,
and that the YAML mode applies only until the first session ends
2026-09-02 23:04:29 -05:00
kbx81
89d00c6d93
[serial_proxy] Acknowledge set_mode requests
...
Follow the acknowledgement pattern from #18312 : set_mode now returns a
SerialProxyResult and the handler answers with SerialProxyRequestResponse
(type SET_MODE). This matters most for a client switching to RAW before
flashing firmware through the port: without an ack, a refused request
(another client holds the port) is silently dropped and the client cannot
tell that protocol bytes may still be injected.
2026-09-02 21:31:05 -05:00
kbx81
e723d404e2
[serial_proxy] Add set_mode to the benchmark stub
...
The benchmark harness compiles api_connection.cpp against stub component
headers, so the stub needs the new client-request method.
2026-09-02 21:25:34 -05:00
J. Nick Koston
16d0fa1165
[core] Add step_to_accuracy_decimals benchmarks ( #18826 )
2026-08-27 15:28:04 -05:00
J. Nick Koston
e55a8aeabe
[api] Drop connection instead of crashing when buffer allocation fails ( #18803 )
2026-08-27 14:49:12 +12:00
J. Nick Koston
44860ff512
[time] Skip posix_tz.cpp when no timezone is configured ( #18680 )
2026-08-25 17:22:41 +12:00
Keith Burzinski and J. Nick Koston
b97c877992
[api] Acknowledge proxy subscribe and configuration requests ( #18312 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-24 20:27:24 +00:00
J. Nick Koston
76caadc594
[noise] Add shared noise component and move api noise primitives ( #18490 )
2026-08-24 11:03:44 +12:00
J. Nick Koston
ae730d6357
[ci] Fail the benchmark job when the C++ benchmark build fails ( #18480 )
2026-08-18 09:03:33 -05:00
J. Nick Koston
0f59ef36a9
[core] Store the validated-config cache as JSON to drop YAML off the upload fast path ( #18106 )
2026-08-10 17:26:41 +12:00
Keith Burzinski
ce9b221be4
[serial_proxy] Restrict port operations to the subscriber and harden subscription handling ( #17796 )
2026-07-31 23:05:06 -05:00
Keith Burzinski
434cffb745
[zwave_proxy] Fix parser gaps and harden frame and subscription handling ( #17461 )
2026-07-13 08:58:17 +12:00
J. Nick Koston and pre-commit-ci-lite[bot]
03f5e4775c
[tests] Add CodSpeed benchmark for compiled-config cache fast path ( #16402 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-05-13 12:06:20 -05:00
J. Nick Koston
39b2b901f7
[core] Replace scheduler pool vector with unbounded intrusive freelist ( #16172 )
2026-05-05 18:26:19 -05:00
J. Nick Koston
148d478dec
[api] Add encode/decode benchmarks for Z-Wave, IR/RF, and serial proxy messages ( #16157 )
2026-04-30 19:14:20 -05:00
J. Nick Koston
cf01163c8c
[core] Add uint32_to_str helper and use in preferences ( #15597 )
2026-04-14 07:49:44 -10:00
J. Nick Koston
4f69c3b850
[benchmark] Add SubscribeLogsResponse encode benchmarks ( #15696 )
2026-04-13 02:03:53 -05:00
J. Nick Koston
03db32d045
[core] Add CodSpeed benchmarks for hot helper functions ( #15593 )
2026-04-09 07:48:32 -10:00
J. Nick Koston
576d89a82a
[api] Peel first write iteration, inline socket writes, zero-gap batch encoding ( #15063 )
2026-04-08 11:05:53 -10:00
J. Nick Koston and Copilot
a8b7c7a4ac
[core] Add TemplatableFn for 4-byte function-pointer templatable storage ( #15545 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-08 08:38:00 -04:00
J. Nick Koston
f193bab60b
[api] Add ListEntities benchmarks for sensor, binary_sensor, and light ( #15427 )
2026-04-05 13:25:50 -10:00
J. Nick Koston
f2a0d9943d
[benchmarks] Add host platform benchmarks for text_sensor and button ( #15407 )
2026-04-03 08:27:55 -10:00
J. Nick Koston
ea0227a206
[benchmarks] Add host platform benchmarks for number, select, and switch ( #15405 )
2026-04-03 08:27:44 -10:00
J. Nick Koston
5a23669747
[scheduler] Fix unrealistic scheduler benchmarks missing periodic drain ( #15396 )
2026-04-03 08:27:29 -10:00
J. Nick Koston
bcc7b8f490
[api] Add send_sensor_state benchmarks ( #15352 )
2026-04-01 16:12:02 -10:00
J. Nick Koston
8688ef7125
[benchmark] Fix decode benchmarks being optimized away by compiler ( #15293 )
2026-03-30 08:24:48 -10:00
J. Nick Koston
8a802ca666
[benchmark] Add BLE raw advertisement proto encode benchmarks ( #15289 )
2026-03-29 11:54:07 -10:00
J. Nick Koston
240e53afce
[fan] Add benchmarks for fan component ( #15210 )
2026-03-26 14:35:09 -10:00
J. Nick Koston
02e23eb386
[benchmark] Add light call and publish benchmarks ( #15176 )
2026-03-26 07:33:10 -10:00
J. Nick Koston
6898284361
[benchmark] Add cover publish_state and call benchmarks ( #15179 )
2026-03-26 07:32:54 -10:00
J. Nick Koston
f3a31be6d0
[benchmark] Add climate publish_state and call benchmarks ( #15180 )
2026-03-26 07:32:39 -10:00
J. Nick Koston
010516aef2
[benchmark] Add sensor publish_state benchmarks ( #15034 )
2026-03-25 07:33:17 -10:00
J. Nick Koston
690dc324c9
[logger] Move task log buffer storage to BSS ( #15153 )
2026-03-25 00:52:37 +00:00
J. Nick Koston
a0d0516b22
[benchmark] Add noise handshake benchmark ( #15039 )
2026-03-23 13:40:41 -10:00
J. Nick Koston
597bb18543
[benchmark] Add binary sensor publish and sensor filter benchmarks ( #15035 )
2026-03-23 16:30:57 +13:00
J. Nick Koston
593dbc9e67
[logger] Fix unit test and benchmark Logger constructor calls ( #15085 )
2026-03-23 09:50:58 +13:00
J. Nick Koston
86ec218f75
[benchmark] Add plaintext API frame write benchmarks ( #15036 )
2026-03-21 13:15:35 -10:00
J. Nick Koston
1920d8a887
[benchmark] Add noise encryption benchmarks ( #15037 )
2026-03-20 17:35:17 -10:00
J. Nick Koston
9a80c980cb
[scheduler] Early exit cancel path after first match ( #14902 )
2026-03-18 07:48:26 -10:00
0c5f055d45
[core] cpp tests: Allow customizing code generation during tests ( #14681 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-18 00:16:01 +00:00
J. Nick Koston
1670f04a87
[core] Add CodSpeed C++ benchmarks for protobuf, main loop, and helpers ( #14878 )
2026-03-17 12:29:38 -10:00