Migrate off obsolete OPC UA SDK APIs (Utils.Log*, sync Session/Discovery calls) #621
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?
The node manager suppresses
Utils.LogWarning/LogErrorat 8 sites pending anITelemetryContextrewire, so those diagnostics bypass Serilog. Client.Shared and OpcUaClient still call obsolete sync APIs unsuppressed (Session.Create,SessionObsolete.Close,SubscriptionObsolete.Delete,DiscoveryClient.Create/GetEndpoints, parameterlessApplicationInstance()/ServiceMessageContext()) — 20 CS0618 warnings; the next SDK bump makes them errors.Sources: OtOpcUaNodeManager.cs:156,727,1027,1446,1484,2155,2240,2603; OpcUaClientDriver.cs:301; OpcUaClientDriverBrowser.cs:131; deferment.md §4.3.
ILogger/ITelemetryContextFiled 2026-10-08 by the pending/deferred-work sweep after the #562–#591 issue sweep.
Resolved on master (merges
b176469b,9b159025,5a5f9b22).ILogger; theUtils.Log*calls and their CS0618 suppressions are gone (8d5e456c).48bd266e); the OpcUaClient driver and browser use the telemetry-aware ctors (ITelemetryContext) (b007d450); the last CS0618 suppressions in the test project were removed. No#pragma warning disable CS0618remains in src/ or tests/.Closed 2026-10-08 by the hardware-available issue sweep (master
d898262c).