mirror of
https://github.com/esphome/esphome.git
synced 2026-10-07 03:16:37 +00:00
Charge the backoff on a degraded build, drop raced completions, one slot-budget map
A table-build failure that keeps the link for legacy nodes now charges the backoff, so an unwalkable database stops retrying at advertisement cadence. The write action re-resolves from the current table only. The neutral engine drops a discovery completion that raced a teardown. Slot charging and the cap-check skip read one mapping, so a platform cannot be skipped uncharged.
This commit is contained in:
@@ -71,7 +71,7 @@ def test_neutral_cap_check_guards_future_hub_platforms(
|
||||
# Both current platforms defer to their stack budgets; pin the message
|
||||
# and boundary of the branch a future budget-less hub platform takes.
|
||||
set_core_config(PlatformFramework.RP2_ARDUINO)
|
||||
monkeypatch.setattr(bluetooth_connection, "_STACK_BUDGET_PLATFORMS", set())
|
||||
monkeypatch.setattr(bluetooth_connection, "_STACK_BUDGETS", {})
|
||||
bluetooth_connection.consume_gatt_slot("bluetooth_proxy", 3)({})
|
||||
bluetooth_connection.FINAL_VALIDATE_SCHEMA({})
|
||||
bluetooth_connection.consume_gatt_slot("ble_client")({})
|
||||
|
||||
Reference in New Issue
Block a user