Ab.Transport: compile out or gate test-only statics (OpenAttemptBudget, gate counters, ForceRootingForTest) #581

Closed
opened 2026-10-07 21:46:59 -04:00 by dohertj2 · 1 comment
Owner

Found by the final whole-branch review of the native AB transport work (branch feat/native-ab-transport, plan docs/plans/2026-10-07-native-ab-transport.md). Minor; not merge-blocking.

Process-wide test-only statics ship in production assemblies. They are off by default and harmless, but should be compiled out or moved behind an internal test seam.

Found by the final whole-branch review of the native AB transport work (branch `feat/native-ab-transport`, plan `docs/plans/2026-10-07-native-ab-transport.md`). Minor; not merge-blocking. Process-wide test-only statics ship in production assemblies. They are off by default and harmless, but should be compiled out or moved behind an internal test seam.
dohertj2 added the driver/abcipdriver/ablegacy labels 2026-10-07 21:46:59 -04:00
Author
Owner

Fixed: CipConnection test statics moved to a per-pool internal ConnectionDiagnostics; open-attempt limit is a scoped per-device setting; ForceRootingForTest deleted. Tests run the production build (no #if). (merge e5fe2e55 on master, pushed 2026-10-08)

Fixed: CipConnection test statics moved to a per-pool internal ConnectionDiagnostics; open-attempt limit is a scoped per-device setting; ForceRootingForTest deleted. Tests run the production build (no #if). (merge `e5fe2e55` 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#581