Ab.Transport: compile out or gate test-only statics (OpenAttemptBudget, gate counters, ForceRootingForTest) #581
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?
Found by the final whole-branch review of the native AB transport work (branch
feat/native-ab-transport, plandocs/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.
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
e5fe2e55on master, pushed 2026-10-08)