Data connections v1 exports alarm-bearing raw tags as variables that never get a value #917

Closed
opened 2026-11-23 16:32:39 -05:00 by dohertj2 · 1 comment
Owner

Found while planning remote history + alarm forwarding (docs/plans/2026-11-23-grpc-data-connections-history-alarms-plan.md §5.2, "Pre-existing v1 findings").

Problem

LocalExportCatalog.Compilation.cs:120-130 adds every raw tag plan to a data-connection export as a Variable, with no filter for alarm-bearing tags (TagConfigIntent.Alarm / RawTagPlan.Alarm != null). Alarm-bearing tags are kept out of the value fan-out by DriverHostActor and get no UNS variable (#896), so a consumer that imports one through a mapping sees a variable that never receives a value — it reads BadWaitingForInitialData forever.

Fix direction

Either exclude alarm-bearing raw tags from the v1 value export (and from browse), or export them with an explicit unsupported/UnsupportedVariable kind so consumers don't wait on a value that will never come. Alarm forwarding itself is planned separately (A phases of the plan above). Keep mixed-version behaviour in mind: header-less v1 callers keep the v1 shape (plan §4.1).

v1 is merged (95c5e484) but not deployed (#915), so this can be fixed before deployment. Related: #916.

Found while planning remote history + alarm forwarding (`docs/plans/2026-11-23-grpc-data-connections-history-alarms-plan.md` §5.2, "Pre-existing v1 findings"). ## Problem `LocalExportCatalog.Compilation.cs:120-130` adds **every** raw tag plan to a data-connection export as a `Variable`, with no filter for alarm-bearing tags (`TagConfigIntent.Alarm` / `RawTagPlan.Alarm != null`). Alarm-bearing tags are kept out of the value fan-out by `DriverHostActor` and get no UNS variable (#896), so a consumer that imports one through a mapping sees a variable that never receives a value — it reads `BadWaitingForInitialData` forever. ## Fix direction Either exclude alarm-bearing raw tags from the v1 value export (and from browse), or export them with an explicit unsupported/`UnsupportedVariable` kind so consumers don't wait on a value that will never come. Alarm forwarding itself is planned separately (A phases of the plan above). Keep mixed-version behaviour in mind: header-less v1 callers keep the v1 shape (plan §4.1). v1 is merged (`95c5e484`) but not deployed (#915), so this can be fixed before deployment. Related: #916.
dohertj2 added the type:bugpriority:p2 labels 2026-11-23 16:32:39 -05:00
Author
Owner

Fixed on master 4ac83085: alarm-bearing raw tags compile as unsupported value nodes (GetMetadata/Read/Subscribe/HistoryRead ⇒ Unsupported, writes refused, not writable) and are skipped by Browse (skips don't count toward the page scan limit); condition forwarding unaffected (A01–A08 8/8 live, run fu916-3).

Fixed on master 4ac83085: alarm-bearing raw tags compile as unsupported value nodes (GetMetadata/Read/Subscribe/HistoryRead ⇒ Unsupported, writes refused, not writable) and are skipped by Browse (skips don't count toward the page scan limit); condition forwarding unaffected (A01–A08 8/8 live, run fu916-3).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#917