Data connections v1 exports alarm-bearing raw tags as variables that never get a value #917
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 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-130adds every raw tag plan to a data-connection export as aVariable, with no filter for alarm-bearing tags (TagConfigIntent.Alarm/RawTagPlan.Alarm != null). Alarm-bearing tags are kept out of the value fan-out byDriverHostActorand get no UNS variable (#896), so a consumer that imports one through a mapping sees a variable that never receives a value — it readsBadWaitingForInitialDataforever.Fix direction
Either exclude alarm-bearing raw tags from the v1 value export (and from browse), or export them with an explicit unsupported/
UnsupportedVariablekind 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.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).