wip(k1): checkpoint connection recovery rewrite

Capture the current unreleased K1 connection, recovery, lifecycle, viewer, and test work as a single known-bad baseline for subsequent fixes.
This commit is contained in:
DCCONSTRUCTIONS
2026-08-14 14:57:50 +03:00
parent aff331082f
commit 0ca7316a24
157 changed files with 152962 additions and 4036 deletions
+7 -1
View File
@@ -13,8 +13,14 @@ def test_ble_scan_exposes_every_device_and_only_labels_likely_k1(
monkeypatch: MonkeyPatch,
tmp_path: Path,
) -> None:
async def fake_scan(duration_seconds: float) -> dict[str, Any]:
async def fake_scan(
duration_seconds: float,
*,
on_admitted: object,
) -> dict[str, Any]:
assert duration_seconds == 6.0
assert callable(on_admitted)
on_admitted()
return {
"devices": [
{