DebugAlarmStateDto lacks AckTime; snapshot-seeded alarm rows show a null ack time #84

Closed
opened 2026-11-09 12:43:21 -05:00 by dohertj2 · 1 comment
Owner

The live alarm stream (AlarmStateUpdate) carries the ack time (field 24) but the snapshot DTO DebugAlarmStateDto does not, so rows seeded from a debug snapshot show a null ack time until the next live update. The golden sample test does not cover it. Found while adding IsMesReportable (#60). Add an additive field + mapping + golden coverage.

The live alarm stream (`AlarmStateUpdate`) carries the ack time (field 24) but the snapshot DTO `DebugAlarmStateDto` does not, so rows seeded from a debug snapshot show a null ack time until the next live update. The golden sample test does not cover it. Found while adding IsMesReportable (#60). Add an additive field + mapping + golden coverage.
dohertj2 added the type:bugpriority:p3 labels 2026-11-09 12:43:21 -05:00
Author
Owner

Fixed on main d3682563: DebugAlarmStateDto gains google.protobuf.Timestamp ack_time = 21 (additive; absent → null, incl. from an older site), C# regenerated via docker/regen-proto.sh sitecommand, mapped both ways in SiteCommandDtoMapper. Golden: native sample sets AckTime, computed leaves it null. Evidence: Communication.Tests 816/816; 3 golden tests fail with the mapper change reverted. Component-SiteRuntime.md refreshed in the same push (it still claimed IsMesReportable was not on the wire).

Fixed on main d3682563: DebugAlarmStateDto gains `google.protobuf.Timestamp ack_time = 21` (additive; absent → null, incl. from an older site), C# regenerated via docker/regen-proto.sh sitecommand, mapped both ways in SiteCommandDtoMapper. Golden: native sample sets AckTime, computed leaves it null. Evidence: Communication.Tests 816/816; 3 golden tests fail with the mapper change reverted. Component-SiteRuntime.md refreshed in the same push (it still claimed IsMesReportable was not on the wire).
Sign in to join this conversation.