AbCip/AbLegacy: libplctag adapter status-mapping and WrapSync test gaps #568

Closed
opened 2026-10-07 19:02:14 -04:00 by dohertj2 · 1 comment
Owner

Context: native .NET Allen-Bradley transport work (plan docs/plans/2026-10-07-native-ab-transport.md, branch feat/native-ab-transport, not yet merged). Parked as a Minor during per-task review — none of these block the plan.

libplctag adapter seam (Libplctag*.cs in AbCip/AbLegacy) follow-ups:

  • ToAbStatus(LibPlcTagException) parses the exception message as a Status enum name — only synthetic-tested (safe-fails to BadConnection).
  • MapException has no production caller (kept for parity) — remove or wire.
  • Decode-OutOfBounds tests don't prove the adapter routes through WrapSync (needs a native Tag); no test that WrapSync passes OperationCanceledException through.
Context: native .NET Allen-Bradley transport work (plan `docs/plans/2026-10-07-native-ab-transport.md`, branch `feat/native-ab-transport`, not yet merged). Parked as a Minor during per-task review — none of these block the plan. libplctag adapter seam (`Libplctag*.cs` in AbCip/AbLegacy) follow-ups: - [ ] `ToAbStatus(LibPlcTagException)` parses the exception message as a `Status` enum name — only synthetic-tested (safe-fails to `BadConnection`). - [ ] `MapException` has no production caller (kept for parity) — remove or wire. - [ ] Decode-OutOfBounds tests don't prove the adapter routes through `WrapSync` (needs a native `Tag`); no test that `WrapSync` passes `OperationCanceledException` through.
dohertj2 added the driver/abcipdriver/ablegacy labels 2026-10-07 19:02:14 -04:00
Author
Owner

Fixed: ToAbStatus round-trip-tested over every Status; dead AbLegacy MapException removed (AbCip's has callers); WrapSync/Wrap OperationCanceledException pass-through and native-Tag decode-routing tests. (merge 29cd25de on master, pushed 2026-10-08)

Fixed: ToAbStatus round-trip-tested over every Status; dead AbLegacy MapException removed (AbCip's has callers); WrapSync/Wrap OperationCanceledException pass-through and native-Tag decode-routing tests. (merge `29cd25de` on master, pushed 2026-10-08)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#568