Scripted alarms: a command cancelled while waiting on _evalGate is reported OutcomeUnknown #952
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.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.