Client.Shared: AddComment API, remove Galaxy-era fallback reads, LoggerLifecycle flake #598

Closed
opened 2026-10-08 02:31:10 -04:00 by dohertj2 · 1 comment
Owner

Sources: src/Client/ZB.MOM.WW.OtOpcUa.Client.Shared/IOpcUaClientService.cs; OpcUaClientService.cs:826-866; docs/plans/2026-08-17-perf-followups-r3.md ("Test reliability").

  • Add AddCommentAsync + CLI/UI plumbing + an over-the-wire test (ServerEventRig / ClientAlarmMethodTests exist)
  • The alarm-event fallback reads <cond>.InAlarm/.Acked/.TimeAlarmOn/.DescAttrName — v2 Galaxy names v3 conditions don't have; remove or replace with standard Part 9 reads
  • LoggerLifecycleTests.ConfigureLogging_DisposesPreviousLogger_BeforeReassigning flake: pin to a serial [Collection] (races global Serilog.Log.Logger)

Filed 2026-10-08 by the pending/deferred-work sweep after the #562–#591 issue sweep.

Sources: src/Client/ZB.MOM.WW.OtOpcUa.Client.Shared/IOpcUaClientService.cs; OpcUaClientService.cs:826-866; docs/plans/2026-08-17-perf-followups-r3.md ("Test reliability"). - [ ] Add `AddCommentAsync` + CLI/UI plumbing + an over-the-wire test (`ServerEventRig` / `ClientAlarmMethodTests` exist) - [ ] The alarm-event fallback reads `<cond>.InAlarm/.Acked/.TimeAlarmOn/.DescAttrName` — v2 Galaxy names v3 conditions don't have; remove or replace with standard Part 9 reads - [ ] `LoggerLifecycleTests.ConfigureLogging_DisposesPreviousLogger_BeforeReassigning` flake: pin to a serial `[Collection]` (races global `Serilog.Log.Logger`) _Filed 2026-10-08 by the pending/deferred-work sweep after the #562–#591 issue sweep._
Author
Owner

Resolved on master (48bd266e, merge 9b159025).

  • AddCommentAsync on IOpcUaClientService/OpcUaClientService, plus a comment CLI command (CommentCommand) and over-the-wire coverage via ServerEventRig.
  • The Galaxy-era fallback reads (<cond>.InAlarm/.Acked/...) were removed; the server's standard Part 9 fields are used.
  • LoggerLifecycleTests flake: the CLI tests are serialised (shared Serilog global; Client.CLI.Tests/AssemblyInfo.cs).
  • Client.Shared also moved off the obsolete sync SDK APIs in the same change (#621).

Closed 2026-10-08 by the hardware-available issue sweep (master d898262c).

Resolved on master (48bd266e, merge 9b159025). - [x] `AddCommentAsync` on `IOpcUaClientService`/`OpcUaClientService`, plus a `comment` CLI command (`CommentCommand`) and over-the-wire coverage via ServerEventRig. - [x] The Galaxy-era fallback reads (`<cond>.InAlarm/.Acked/...`) were removed; the server's standard Part 9 fields are used. - [x] LoggerLifecycleTests flake: the CLI tests are serialised (shared Serilog global; `Client.CLI.Tests/AssemblyInfo.cs`). - Client.Shared also moved off the obsolete sync SDK APIs in the same change (#621). *Closed 2026-10-08 by the hardware-available issue sweep (master d898262c).*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#598