Upgrade OPC UA SDK to 2.0.1 preserving application contracts #802

Merged
dohertj2 merged 111 commits from codex/opcua-sdk-2 into master 2026-11-10 20:30:53 -05:00
Showing only changes of commit 6737e367b4 - Show all commits
@@ -210,8 +210,7 @@ public sealed partial class Sdk2LifecycleSoakTests
var failure = await Should.ThrowAsync<ServiceResultException>(async () =>
await fresh.ReadAsync(requestHeader, 0, TimestampsToReturn.Neither,
[new ReadValueId { NodeId = Raw(fresh, Scalar), AttributeId = Attributes.Value }], ct));
// Exact outcome is recorded and narrowed at the reviewed execution gate.
(failure.StatusCode == StatusCodes.BadSessionIdInvalid || failure.StatusCode == StatusCodes.BadSessionClosed).ShouldBeTrue();
failure.StatusCode.ShouldBe(StatusCodes.BadSessionIdInvalid);
requestHeader.AuthenticationToken.ShouldBe(oldAuthentication);
(await fresh.BrowseNextAsync(null, false, [browse], ct)).Results[0].StatusCode.ShouldBe(StatusCodes.BadContinuationPointInvalid);
var source = rig.Nm.HistorianDataSource.ShouldBeOfType<EventHistoryPagingOverTheWireTests.SqlLikeEventSource>();