wip(watch): sauvegarde travail en cours lot critique (#157 #163 #164 #174 #175 #178)

This commit is contained in:
2026-07-29 12:34:07 +02:00
parent f523a5a8b5
commit 74d6000606
26 changed files with 516 additions and 62 deletions

View File

@ -440,6 +440,7 @@ final class _BlockingCommandIngress implements WatchCommandIngress {
final class _FakeWatchBridgeNativeChannel implements WatchBridgeNativeChannel {
final published = <WatchSessionProjection>[];
final alerts = <WatchAlertEnvelope>[];
final acks = <_SentAck>[];
final _commands = StreamController<WatchCommandEnvelope>.broadcast();
final _sensorSummaries = StreamController<WatchSensorSummary>.broadcast();
@ -483,6 +484,11 @@ final class _FakeWatchBridgeNativeChannel implements WatchBridgeNativeChannel {
published.add(projection);
}
@override
Future<void> publishAlert(WatchAlertEnvelope alert) async {
alerts.add(alert);
}
@override
Future<void> requestCapabilityRefresh() async {
capabilityRefreshCount += 1;