OpcUaClient first sight of an inactive+acked upstream condition is told as Unspecified, not a flagged Clear #658

Closed
opened 2026-10-09 04:31:11 -04:00 by dohertj2 · 1 comment
Owner

Found by the hw4 re-review of #611 (ALMA projection), pre-existing on master.

On first sight (no prior told state, e.g. after a driver respawn) an upstream condition that is inactive + acked is emitted as AlarmTransitionKind.Unspecified rather than as a flagged (IsRestatement) Clear.

Consequences:

  • A host condition retained Active across the respawn stays Active (nothing clears it).
  • When the host has no active prior, NativeAlarmProjector takes the default branch and writes an "Activated" /alerts row for an alarm that is inactive.

Expected: first sight of inactive+acked → flagged Clear (no row when the host condition is already inactive, a real Clear when it was retained Active).

Related: #656 (IsRestatement), #657 (respawn replays inactive+unacked as Raise+Clear). Likely fixed together with #657.

Filed 2026-10-09 from the hw4 batch review (reports/alma-rereview.md F4).

Found by the hw4 re-review of #611 (ALMA projection), pre-existing on master. On first sight (no prior told state, e.g. after a driver respawn) an upstream condition that is **inactive + acked** is emitted as `AlarmTransitionKind.Unspecified` rather than as a flagged (`IsRestatement`) `Clear`. Consequences: - A host condition retained **Active** across the respawn stays Active (nothing clears it). - When the host has no active prior, `NativeAlarmProjector` takes the default branch and writes an **"Activated"** `/alerts` row for an alarm that is inactive. Expected: first sight of inactive+acked → flagged Clear (no row when the host condition is already inactive, a real Clear when it was retained Active). Related: #656 (IsRestatement), #657 (respawn replays inactive+unacked as Raise+Clear). Likely fixed together with #657. _Filed 2026-10-09 from the hw4 batch review (reports/alma-rereview.md F4)._
Author
Owner

Duplicate of #657 (its item 2: OpcUaClient first sight of an inactive+acked condition). Closing; the extra detail from this report is copied to #657.

Duplicate of #657 (its item 2: OpcUaClient first sight of an inactive+acked condition). Closing; the extra detail from this report is copied to #657.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#658