Scripted alarms: a command cancelled while waiting on _evalGate is reported OutcomeUnknown #952

Closed
opened 2026-11-28 12:48:34 -05:00 by dohertj2 · 1 comment
Owner

Follow-up to #937 (review L3). ScriptedAlarmEngine _evalGate.WaitAsync(ct) cancelled before acquisition applied nothing but is caught as OutcomeUnknown in ScriptedAlarmHostActor, so the client gets BadTimeout, the peer gets the broadcast and nothing is reverted. Map pre-acquisition cancellation to NotApplied.

Follow-up to #937 (review L3). ScriptedAlarmEngine `_evalGate.WaitAsync(ct)` cancelled before acquisition applied nothing but is caught as OutcomeUnknown in ScriptedAlarmHostActor, so the client gets BadTimeout, the peer gets the broadcast and nothing is reverted. Map pre-acquisition cancellation to NotApplied.
dohertj2 added the type:followuppriority:p3 labels 2026-11-28 12:48:34 -05:00
Author
Owner

Fixed in 068124d1a (merged to master, not yet pushed); see docs/ScriptedAlarms.md. Core.ScriptedAlarms 149/149, Runtime ScriptedAlarm 106/106, Host 5/5, OpcUaServer.Tests 1460 pass/2 skip; agent also ran OpcUaServer.IntegrationTests 447 pass/39 skip.

Fixed in 068124d1a (merged to master, not yet pushed); see docs/ScriptedAlarms.md. Core.ScriptedAlarms 149/149, Runtime ScriptedAlarm 106/106, Host 5/5, OpcUaServer.Tests 1460 pass/2 skip; agent also ran OpcUaServer.IntegrationTests 447 pass/39 skip.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#952