fix(opcuaclient): #1039 subscribe-time refusals ride the skipped-tag report (SkippedTagLedger.Append/Withdraw); probe preflight keeps an IPv6 zone

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Joseph Doherty
2026-12-03 15:20:27 -05:00
parent d8cf9723d1
commit eff2b8e573
7 changed files with 287 additions and 6 deletions
+4 -2
View File
@@ -436,8 +436,10 @@ initialise (the AdminUI form drops them on the next save). Pinned by
> resolve to an upstream node id (`BadNodeIdInvalid`, no wire call) or the server refused the create (`BadNodeIdUnknown`,
> `BadAttributeIdInvalid`, … — `CreateItemsAsync` reports these on the item's status, it does not throw) — is published
> **Bad once with that code** and counted in ONE summarised Warning (G-12); it used to sit silently at the host's last
> stamp, `BadNoCommunication`, pointing at comms rather than the address. (It is not added to the skipped-tag report, which
> is an init-time snapshot.) The recovery / reconcile re-publish finds a ref's subscriptions through a per-subscription ref
> stamp, `BadNoCommunication`, pointing at comms rather than the address. (#1039: it is also appended to the skipped-tag
> report through `SkippedTagLedger.Append` — once per path however often the subscribe is retried, withdrawn by a later
> subscribe that gets the item, and cleared by the next re-initialise's rebuild, which re-appends what is still refused.
> The TCP preflight of Test Connect dials `Uri.IdnHost`, so a zone-qualified IPv6 endpoint keeps its zone.) The recovery / reconcile re-publish finds a ref's subscriptions through a per-subscription ref
> set, not a scan of every monitored item under the delivery lock (G-10: 20k refs went from ~6 s to ~1 s). `UnsubscribeAsync` /
> `UnsubscribeAlarmsAsync` leave the subscription tracked until they hold the subscription gate; if the wait is **cancelled**
> (the host's 5 s unsubscribe token vs a slow `ConditionRefresh`), the handlers are detached synchronously — nothing more is