Complete live OPC UA historian verification after gateway control recovery #700

Closed
opened 2026-10-13 04:47:43 -04:00 by dohertj2 · 6 comments
Owner

PR #699 is merged as 618d98e8. Its exact merged tree passed the full solution: 14,600 passed, 609 skipped, zero failed across 62 suites, including 122 OPC UA integration tests. Live updated-data-source missing-tag reads passed: Raw 228 ms cold; cached Raw/Count/AtTime 0–2 ms with correct no-data results. No deployment changes were made.

Pending gate: run the merged build through an actual deployed OPC UA endpoint once the existing-tag Gateway Raw timeout is resolved (dohertj2/historiangw#29). Healthy-tag live behavior was not established: SysTimeSec Raw timed out through both updated data source and original package client.

Acceptance: record build and gateway versions, use read-only credentials and existing tags, and verify missing/existing Raw, Processed and AtTime responses; integer/Boolean/Float values match node DataTypes; transport outages return BadNoCommunication while unsupported operations retain their status; future AtTime and strict-ceiling stopped-tag reverse reads preserve timestamps, order, ties and completeness. Measure the stopped-tag reverse call cost against the unit regression bound rather than claiming the unit measurement is live evidence. Verify aggregate cooldown and raised/lowered limits in a controlled fixture when available.

Native TimeAverage/Total forward/reverse, all-NULL and sub-ms clipped intervals remain specifically tracked by #694, blocked on historiangw#27; do not duplicate or close that gate here. Environment/license/hardware GA gates remain in #615. Revoke and independently verify any temporary keys. This issue tracks validation, not a known defect in the merged implementation.

PR #699 is merged as 618d98e8. Its exact merged tree passed the full solution: 14,600 passed, 609 skipped, zero failed across 62 suites, including 122 OPC UA integration tests. Live updated-data-source missing-tag reads passed: Raw 228 ms cold; cached Raw/Count/AtTime 0–2 ms with correct no-data results. No deployment changes were made. Pending gate: run the merged build through an actual deployed OPC UA endpoint once the existing-tag Gateway Raw timeout is resolved (https://gitea.dohertylan.com/dohertj2/historiangw/issues/29). Healthy-tag live behavior was not established: SysTimeSec Raw timed out through both updated data source and original package client. Acceptance: record build and gateway versions, use read-only credentials and existing tags, and verify missing/existing Raw, Processed and AtTime responses; integer/Boolean/Float values match node DataTypes; transport outages return BadNoCommunication while unsupported operations retain their status; future AtTime and strict-ceiling stopped-tag reverse reads preserve timestamps, order, ties and completeness. Measure the stopped-tag reverse call cost against the unit regression bound rather than claiming the unit measurement is live evidence. Verify aggregate cooldown and raised/lowered limits in a controlled fixture when available. Native TimeAverage/Total forward/reverse, all-NULL and sub-ms clipped intervals remain specifically tracked by #694, blocked on historiangw#27; do not duplicate or close that gate here. Environment/license/hardware GA gates remain in #615. Revoke and independently verify any temporary keys. This issue tracks validation, not a known defect in the merged implementation.
dohertj2 added the blocked label 2026-11-10 08:43:42 -05:00
dohertj2 removed the blocked label 2026-11-12 23:03:55 -05:00
Author
Owner

Unblocked 2026-11-12: the existing-tag Raw timeout (historiangw#29) no longer reproduces and was closed 2026-11-10 (SysTimeSec 61 rows in 322 ms on the gRPC-only client). Removed blocked; the deployed-endpoint verification is starting.

Unblocked 2026-11-12: the existing-tag Raw timeout (historiangw#29) no longer reproduces and was closed 2026-11-10 (SysTimeSec 61 rows in 322 ms on the gRPC-only client). Removed `blocked`; the deployed-endpoint verification is starting.
Author
Owner

Every check in the acceptance list has now been run live, read-only, on master 53978ca6 (tested as 4c8e977e). Evidence: aveva-gate.md, harness AvevaGatewayHistorianFollowupsLiveGateTests. Leaving this open for one gap: the checks ran through the OtOpcUa server in process, with the production Gateway backend wiring and a real SDK 2.0.1 client session, not through a deployed Host's endpoint (see below).

Versions: OtOpcUa 4c8e977e (SDK server 2.0.1.0, HistorianGateway Client/Contracts 1.0.0). HistorianGateway main dffb5e2 (server code = DEV ea9f21c + the Telemetry bump), run locally in Docker with ApiKeys__Mode=Disabled and Historian__LiveWritesEnabled=false. AVEVA 2023 R2 on wonder-sql-vd03. No keys were created, so there is nothing to revoke. No writes were made, and nothing ran on a wonder box.

Acceptance item Result
Missing tag: Raw / Processed / AtTime GoodNoData with 0 rows. Average and TimeAverage: every bucket BadNoData (0x809B0401). AtTime: BadNoData per time.
Existing tag: Raw / Processed / AtTime SysTimeSec, SysPulse and ZIPSEN.WTC1: the wire equals the backend in every case.
Integer / Boolean / Float vs node DataType Raw and AtTime values arrive as Int32, Boolean and Single on the Int32, Boolean and Float nodes. Processed values are Double.
Transport outage Raw, Processed (Average and TimeAverage), AtTime and Events: BadNoCommunication. Modified keeps BadHistoryOperationUnsupported and TimeAverage2 keeps BadAggregateNotSupported. The same session reads again afterwards.
Future AtTime now + 30 min / + 1 h / + 2 h: the requested timestamps come back in request order, as Uncertain (0x40A40402) holds. 505 ms.
Strict-ceiling (1,000) stopped-tag reverse End-only latest 3 on ZIPSEN.WTC1, ~5.4 min after it stopped: exact against a streaming-gateway reference, newest first (NULL row included). 10 gateway ReadRaw calls, 1.47 s, vs #696's unit bound of ≤ 12. That bound was measured on a 1-day gap over 7,200 rows, so this is evidence for the live case only. A paged reverse read across the outage equals the reference reversed. No tie cluster exists in this live data; ties are covered by the deterministic tests only.
Aggregate cooldown, raised / lowered limits (controlled fixture) A local strict gateway restarted at ceilings 1,000 → 500 → 5,000, with one long-lived data source. Raw paged 2 → 4 → 1 pages. The Average over 1,800 rows stays BadTooManyOperations at 1,000 and 500, and still 2.9 s after the raise (the 30 s cooldown); after the cooldown it is served Good.

Remaining gap (the reason this stays open): the same checks through an actual deployed Host's OPC UA endpoint. It needs a deployed node with history-bound nodes on AVEVA tags. vd03's OtOpcUa has only a FOCAS driver and no such nodes, and setting one up is a deploy/config change, which this task did not do. If in-process evidence on the production wiring is acceptable (as it was for #801), this can be closed. That is your call.

Native TimeAverage/Total: see #694 (closed). Discrete-tag follow-up: #897.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi

Every check in the acceptance list has now been run live, read-only, on master `53978ca6` (tested as `4c8e977e`). Evidence: [aveva-gate.md](https://gitea.dohertylan.com/dohertj2/lmxopcua/src/branch/master/docs/plans/evidence/2026-11-12-historian-694-700-746/aveva-gate.md), harness `AvevaGatewayHistorianFollowupsLiveGateTests`. **Leaving this open for one gap:** the checks ran through the OtOpcUa server **in process**, with the production Gateway backend wiring and a real SDK 2.0.1 client session, not through a deployed Host's endpoint (see below). **Versions:** OtOpcUa `4c8e977e` (SDK server 2.0.1.0, HistorianGateway Client/Contracts 1.0.0). HistorianGateway `main` `dffb5e2` (server code = DEV `ea9f21c` + the Telemetry bump), run locally in Docker with `ApiKeys__Mode=Disabled` and `Historian__LiveWritesEnabled=false`. AVEVA 2023 R2 on wonder-sql-vd03. No keys were created, so there is nothing to revoke. No writes were made, and nothing ran on a wonder box. | Acceptance item | Result | |---|---| | Missing tag: Raw / Processed / AtTime | `GoodNoData` with 0 rows. Average and TimeAverage: every bucket `BadNoData` (`0x809B0401`). AtTime: `BadNoData` per time. | | Existing tag: Raw / Processed / AtTime | `SysTimeSec`, `SysPulse` and `ZIPSEN.WTC1`: the wire equals the backend in every case. | | Integer / Boolean / Float vs node DataType | Raw and AtTime values arrive as **Int32**, **Boolean** and **Single** on the Int32, Boolean and Float nodes. Processed values are Double. | | Transport outage | Raw, Processed (Average and TimeAverage), AtTime and Events: `BadNoCommunication`. Modified keeps `BadHistoryOperationUnsupported` and TimeAverage2 keeps `BadAggregateNotSupported`. The same session reads again afterwards. | | Future AtTime | now + 30 min / + 1 h / + 2 h: the requested timestamps come back in request order, as Uncertain (`0x40A40402`) holds. 505 ms. | | Strict-ceiling (1,000) stopped-tag reverse | End-only latest 3 on `ZIPSEN.WTC1`, ~5.4 min after it stopped: exact against a streaming-gateway reference, newest first (NULL row included). **10 gateway `ReadRaw` calls, 1.47 s**, vs #696's unit bound of ≤ 12. That bound was measured on a 1-day gap over 7,200 rows, so this is evidence for the live case only. A paged reverse read across the outage equals the reference reversed. No tie cluster exists in this live data; ties are covered by the deterministic tests only. | | Aggregate cooldown, raised / lowered limits (controlled fixture) | A local strict gateway restarted at ceilings 1,000 → 500 → 5,000, with one long-lived data source. Raw paged 2 → 4 → 1 pages. The Average over 1,800 rows stays `BadTooManyOperations` at 1,000 and 500, and still 2.9 s after the raise (the 30 s cooldown); after the cooldown it is served Good. | **Remaining gap (the reason this stays open):** the same checks through an actual deployed Host's OPC UA endpoint. It needs a deployed node with history-bound nodes on AVEVA tags. vd03's OtOpcUa has only a FOCAS driver and no such nodes, and setting one up is a deploy/config change, which this task did not do. If in-process evidence on the production wiring is acceptable (as it was for #801), this can be closed. That is your call. Native TimeAverage/Total: see #694 (closed). Discrete-tag follow-up: #897. Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
Author
Owner

The deployed-endpoint run is done on DEV vd03. The owner approved the config deploy. Evidence: vd03-endpoint-gate.md (commit 5683d89b, probe source included).

Versions: OtOpcUa fea7de0a (SDK 2.0.1, HG Client 1.0.0) and HistorianGateway ea9f21c, both read from the deployed binaries over SMB. AVEVA 2023 R2.

What was deployed: a temporary Calculation driver (no I/O) with 4 historized raw tags, plus a temporary OPC UA key:

  • ZIPSEN.WTC1 as Float
  • SysTimeSec and SysPulse as Byte
  • a missing tag as Double

FOCAS was untouched. Deployments: 9adc5590 (rev fa9a2e28…) → temporary a63e262f (c4f8d8df…) → cleanup 246c6c45 → dc0af731, rev fa9a2e28…. That is the same revision hash as before, so the config is byte-identical to the original. The temporary key is deleted, and the negative control returns BadIdentityTokenRejected.

At the end: health 200 ×3, /fleet Applied, ServiceLevel 250, and FOCAS raw reads 21/22 Good (Program/BlockCount is BadNoData, the documented unreported field).

Item Deployed endpoint
Missing Raw / Processed / AtTime GoodNoData; BadNoData|Calculated buckets; BadNoData per time ✅
Existing Raw / Processed / AtTime SysTimeSec 0..9; Avg/Min/Max/Count/Start/End match the in-process values; WTC1 outage window has the same Good/Uncertain/BadNoData shape ✅
Values typed as node DataType Float → Single, Byte → Byte (Raw and AtTime); Processed values are Double, Count is Int32 ✅. Int32 and Boolean were not run here (see below).
Future AtTime +30 min / +1 h / +2 h in request order, Uncertain holds ✅
Stopped-tag reverse (end-only, latest 3) NULL row first, then 11:32:33.620 and 11:32:31.619, newest first, 96 ms first page ✅ (non-strict gateway; the strict ceiling cannot be set without a restart)
TimeAverage / Total BadAggregateNotSupported. This is expected on fea7de0a: the native pair is opt-in there and is on by default from 53978ca6, which is not deployed on vd03 (#694)
Unsupported ops ReadModified BadHistoryOperationUnsupported; TimeAverage2 BadAggregateNotSupported ✅
Transport outage, strict ceiling and cooldown Not run: each needs vd03's gateway stopped or reconfigured. Covered by the in-process gate only.

Historian writes: none. The gateway's /metrics showed only Probe, GetTagMetadata (5) and ReadRaw (271) across the deploy, the reads and the cleanup. There was no EnsureTags or any write method. The OtOpcUa log has no provisioning dispatch. ContinuousHistorization and AlarmHistorian are off on vd03.

Why Int32 and Boolean were not run: a historized raw tag is the only way to get a history node, and every add calls the gateway's EnsureTags. That call is an upsert that would retype and re-describe the existing AVEVA tag (SysTimeSec UInt2 → Int4; discrete SysPulse → Int2 analog). There is no opt-out, and the vd03 key has historian:tags:write. Filed as #899. The gate stayed zero-write only because the applier never provisions Float/Double/Byte/SByte tags. That is a separate bug, filed as #898.

Leaving this open. Boolean and Int32 node typing, the outage, and the strict-ceiling items have only in-process evidence. Running them on a deployed node needs #899, or a gateway key without historian:tags:write, or a gateway restart. Your call whether the in-process evidence closes them. No history probe was kept on DEV: it would start rewriting the AVEVA tags as soon as #898 is fixed.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi

The deployed-endpoint run is done on **DEV vd03**. The owner approved the config deploy. Evidence: [vd03-endpoint-gate.md](https://gitea.dohertylan.com/dohertj2/lmxopcua/src/branch/master/docs/plans/evidence/2026-11-13-historian-700-vd03/vd03-endpoint-gate.md) (commit `5683d89b`, probe source included). **Versions:** OtOpcUa **`fea7de0a`** (SDK 2.0.1, HG Client 1.0.0) and HistorianGateway **`ea9f21c`**, both read from the deployed binaries over SMB. AVEVA 2023 R2. **What was deployed:** a temporary Calculation driver (no I/O) with 4 historized raw tags, plus a temporary OPC UA key: - `ZIPSEN.WTC1` as **Float** - `SysTimeSec` and `SysPulse` as **Byte** - a missing tag as **Double** FOCAS was untouched. Deployments: `9adc5590` (rev `fa9a2e28…`) → temporary `a63e262f` (`c4f8d8df…`) → cleanup `246c6c45` → **`dc0af731`, rev `fa9a2e28…`**. That is the same revision hash as before, so the config is byte-identical to the original. The temporary key is deleted, and the negative control returns `BadIdentityTokenRejected`. At the end: health 200 ×3, `/fleet` Applied, **ServiceLevel 250**, and FOCAS raw reads 21/22 Good (`Program/BlockCount` is `BadNoData`, the documented unreported field). | Item | Deployed endpoint | |---|---| | Missing Raw / Processed / AtTime | `GoodNoData`; `BadNoData\|Calculated` buckets; `BadNoData` per time ✅ | | Existing Raw / Processed / AtTime | `SysTimeSec` 0..9; Avg/Min/Max/Count/Start/End match the in-process values; WTC1 outage window has the same Good/Uncertain/BadNoData shape ✅ | | Values typed as node DataType | **Float → Single, Byte → Byte** (Raw and AtTime); Processed values are Double, Count is Int32 ✅. **Int32 and Boolean were not run here** (see below). | | Future AtTime | +30 min / +1 h / +2 h in request order, Uncertain holds ✅ | | Stopped-tag reverse (end-only, latest 3) | NULL row first, then 11:32:33.620 and 11:32:31.619, newest first, 96 ms first page ✅ (non-strict gateway; the strict ceiling cannot be set without a restart) | | TimeAverage / Total | `BadAggregateNotSupported`. This is expected on `fea7de0a`: the native pair is opt-in there and is on by default from `53978ca6`, which is not deployed on vd03 (#694) | | Unsupported ops | ReadModified `BadHistoryOperationUnsupported`; TimeAverage2 `BadAggregateNotSupported` ✅ | | Transport outage, strict ceiling and cooldown | Not run: each needs vd03's gateway stopped or reconfigured. Covered by the in-process gate only. | **Historian writes: none.** The gateway's `/metrics` showed only `Probe`, `GetTagMetadata` (5) and `ReadRaw` (271) across the deploy, the reads and the cleanup. There was no `EnsureTags` or any write method. The OtOpcUa log has no provisioning dispatch. ContinuousHistorization and AlarmHistorian are off on vd03. **Why Int32 and Boolean were not run:** a historized raw tag is the only way to get a history node, and every add calls the gateway's `EnsureTags`. That call is an upsert that would **retype and re-describe the existing AVEVA tag** (SysTimeSec UInt2 → Int4; discrete SysPulse → Int2 analog). There is no opt-out, and the vd03 key has `historian:tags:write`. Filed as **#899**. The gate stayed zero-write only because the applier never provisions `Float`/`Double`/`Byte`/`SByte` tags. That is a separate bug, filed as **#898**. **Leaving this open.** Boolean and Int32 node typing, the outage, and the strict-ceiling items have only in-process evidence. Running them on a deployed node needs #899, or a gateway key without `historian:tags:write`, or a gateway restart. Your call whether the in-process evidence closes them. No history probe was kept on DEV: it would start rewriting the AVEVA tags as soon as #898 is fixed. Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
Author
Owner

Owner decision 2026-11-13: close #700 on a hybrid basis.

  • Accepted on the in-process evidence (docs/plans/evidence/2026-11-12-historian-694-700-746/aveva-gate.md; production Gateway wiring against real AVEVA 2023 R2):

    • the transport outage returns BadNoCommunication;
    • the strict-ceiling paging;
    • the aggregate cooldown.

    These exercise the gateway client, not the deployment, and running them live would mean stopping or reconfiguring DEV's HistorianGateway.

  • Still to run on the deployed vd03 endpoint:

    • Boolean and Int32 node typing, using the read-only historian binding from #899 (so no EnsureTags rewrite of the existing AVEVA tags);
    • native TimeAverage/Total (default-on since 53978ca6).

    Both need an OtOpcUa master build that includes the #899/#898 fix deployed to vd03, which is approved as part of this decision. The deploy and the check follow once #899 lands.

  • Already passed on vd03 (5683d89b): every other acceptance item.

**Owner decision 2026-11-13: close #700 on a hybrid basis.** - **Accepted on the in-process evidence** (`docs/plans/evidence/2026-11-12-historian-694-700-746/aveva-gate.md`; production Gateway wiring against real AVEVA 2023 R2): - the transport outage returns `BadNoCommunication`; - the strict-ceiling paging; - the aggregate cooldown. These exercise the gateway client, not the deployment, and running them live would mean stopping or reconfiguring DEV's HistorianGateway. - **Still to run on the deployed vd03 endpoint:** - Boolean and Int32 node typing, using the read-only historian binding from #899 (so no `EnsureTags` rewrite of the existing AVEVA tags); - native TimeAverage/Total (default-on since `53978ca6`). Both need an OtOpcUa master build that includes the #899/#898 fix deployed to vd03, which is approved as part of this decision. The deploy and the check follow once #899 lands. - **Already passed on vd03** (`5683d89b`): every other acceptance item.
Author
Owner

The remaining deployed checks can now run without writing (#899/#898, master 6c4d2990)

Nothing has been run or deployed. This note covers what the vd03 Boolean/Int32 typing check can now use, and what to look out for.

Zero-write binding. Author the probe tags with "historianReadOnly": true next to isHistorized and historianTagname, for example:

  • a Boolean node on SysPulse;
  • an Int32 node on SysTimeSec.

With the flag set, the applier never puts the tag in an EnsureTags request and never feeds it to the continuous-historization recorder. HistoryRead is unchanged: the node still has Historizing=true and the HistoryRead bit, and reads the named AVEVA tag. The gate no longer needs to rely on the type-name skip (#898, now fixed).

  • Through the CSV import, use the new HistorianReadOnly column.
  • Through the raw JSON, a non-boolean value (for example "true" as a string) is now the deploy error HistorianReadOnlyInvalid. It can no longer deploy silently as an owned tag.

Optional second guard. ServerHistorian:ProvisionTags=CreateOnly (Gateway only) makes the provisioner look each tag up first. It leaves any existing AVEVA tag untouched. Off disables provisioning altogether. Changing either needs a Host restart; neither is required for the check if the flag is used.

Evidence to collect. As in 5683d89b, take gateway /metrics snapshots before and after. With the read-only flag there should be no EnsureTags, WriteLiveValues or AddTagExtendedProperties calls. CreateOnly alone would add GetTagMetadata lookups for owned tags only; read-only tags are never looked up.

⚠️ Preflight before deploying this build to vd03. Since #898, the first host start provisions (upserts) every existing historized Float, Double, Byte and SByte tag. Before the deploy:

  • check vd03's configuration (the FOCAS driver) for historized tags of those types, using the AdminUI CSV export;
  • mark any that bind a foreign AVEVA tag historianReadOnly, or deploy with ServerHistorian:ProvisionTags=CreateOnly.

On the configuration as recorded in 5683d89b (revision fa9a2e28…), the #700 gate tags are gone. I have not checked whether any FOCAS tag is historized.

Native TimeAverage/Total (default-on since 53978ca6) is unaffected by this change and still needs that master build on vd03.

## The remaining deployed checks can now run without writing (#899/#898, master `6c4d2990`) Nothing has been run or deployed. This note covers what the vd03 Boolean/Int32 typing check can now use, and what to look out for. **Zero-write binding.** Author the probe tags with `"historianReadOnly": true` next to `isHistorized` and `historianTagname`, for example: - a **Boolean** node on `SysPulse`; - an **Int32** node on `SysTimeSec`. With the flag set, the applier never puts the tag in an `EnsureTags` request and never feeds it to the continuous-historization recorder. HistoryRead is unchanged: the node still has `Historizing=true` and the HistoryRead bit, and reads the named AVEVA tag. The gate no longer needs to rely on the type-name skip (#898, now fixed). - **Through the CSV import**, use the new `HistorianReadOnly` column. - **Through the raw JSON**, a non-boolean value (for example `"true"` as a string) is now the deploy error `HistorianReadOnlyInvalid`. It can no longer deploy silently as an owned tag. **Optional second guard.** `ServerHistorian:ProvisionTags=CreateOnly` (Gateway only) makes the provisioner look each tag up first. It leaves any existing AVEVA tag untouched. `Off` disables provisioning altogether. Changing either needs a Host restart; neither is required for the check if the flag is used. **Evidence to collect.** As in `5683d89b`, take gateway `/metrics` snapshots before and after. With the read-only flag there should be no `EnsureTags`, `WriteLiveValues` or `AddTagExtendedProperties` calls. `CreateOnly` alone would add `GetTagMetadata` lookups for owned tags only; read-only tags are never looked up. **⚠️ Preflight before deploying this build to vd03.** Since #898, the first host start provisions (upserts) **every existing historized Float, Double, Byte and SByte tag**. Before the deploy: - check vd03's configuration (the FOCAS driver) for historized tags of those types, using the AdminUI CSV export; - mark any that bind a foreign AVEVA tag `historianReadOnly`, or deploy with `ServerHistorian:ProvisionTags=CreateOnly`. On the configuration as recorded in `5683d89b` (revision `fa9a2e28…`), the #700 gate tags are gone. I have not checked whether any FOCAS tag is historized. Native TimeAverage/Total (default-on since `53978ca6`) is unaffected by this change and still needs that master build on vd03.
Author
Owner

Both remaining deployed-endpoint checks passed on DEV vd03. Closing #700 on the owner's hybrid basis.

Deploy. vd03 was upgraded fea7de0a → master 6c4d2990, the #899/#898 read-only historian binding. The deploy is pinned to that SHA; efaf3435 (#900) is not deployed.

  • Self-contained win-x64 build, downtime about 15 s.
  • After the upgrade: health 200 ×3, ServiceLevel 250, and FOCAS 21/22 Good as before (Program/BlockCount BadNoData).
  • The script runner is unchanged (InProcess). The worker isolation was re-applied after the folder swap.
  • #898 preflight: the deployed address space had 0 historized tags, so the first start provisioned nothing.
  • Record: docs/deploy/2026-11-13-vd03-fea7de0a-to-6c4d2990.md.

Checks. The probe tags were authored with historianReadOnly: true (a temporary Calculation driver, gate700ro). Evidence: docs/plans/evidence/2026-11-13-historian-700-vd03/vd03-endpoint-gate.md (second run; commit 9375c9e2).

Item Deployed endpoint
Boolean node on SysPulse Raw False/True/False typed Boolean. AtTime typed Boolean; Interpolated values hold the step. TimeAverage/Total BadAggregateNotSupported up front (#897) ✅
Int32 node on SysTimeSec Raw 0..9 typed Int32. AtTime typed Int32 ✅
Native TimeAverage / Total (now advertised: 12 aggregates) SysTimeSec, 20 s buckets, forward and reverse: TimeAverage 9.5 / 29.5 / 49.5 and Total 190 / 590 / 990, equal to the in-process reference. WTC1 over the platform stop: Good, then Uncertain, then BadNoData for each all-NULL interval ✅

No historian writes. HistorianGateway /metrics showed only Probe, GetTagMetadata (+3), ReadRaw (+12) and ReadAggregate (+6, the six native reads), across the upgrade, the temporary deploy, the probe and the cleanup. There was no EnsureTags, WriteLiveValues, AddTagExtendedProperties or any other write. The OtOpcUa log has no provisioning line.

Cleanup. The temporary tags, device, driver, script and key were removed. Deployment 595cb909 is back at revision fa9a2e28…, byte-identical to the original, and /fleet shows it Applied. The deleted key's negative control returns BadIdentityTokenRejected.

Outage, strict-ceiling and cooldown are accepted on the in-process evidence, per the owner decision above.

Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi

**Both remaining deployed-endpoint checks passed on DEV vd03. Closing #700 on the owner's hybrid basis.** **Deploy.** vd03 was upgraded `fea7de0a` → master **`6c4d2990`**, the #899/#898 read-only historian binding. The deploy is pinned to that SHA; `efaf3435` (#900) is not deployed. - Self-contained win-x64 build, downtime about 15 s. - After the upgrade: health 200 ×3, ServiceLevel 250, and FOCAS 21/22 Good as before (`Program/BlockCount` BadNoData). - The script runner is unchanged (InProcess). The worker isolation was re-applied after the folder swap. - #898 preflight: the deployed address space had **0 historized tags**, so the first start provisioned nothing. - Record: `docs/deploy/2026-11-13-vd03-fea7de0a-to-6c4d2990.md`. **Checks.** The probe tags were authored with `historianReadOnly: true` (a temporary Calculation driver, `gate700ro`). Evidence: `docs/plans/evidence/2026-11-13-historian-700-vd03/vd03-endpoint-gate.md` (second run; commit `9375c9e2`). | Item | Deployed endpoint | |---|---| | **Boolean** node on `SysPulse` | Raw False/True/False typed **Boolean**. AtTime typed Boolean; Interpolated values hold the step. TimeAverage/Total `BadAggregateNotSupported` up front (#897) ✅ | | **Int32** node on `SysTimeSec` | Raw 0..9 typed **Int32**. AtTime typed Int32 ✅ | | Native **TimeAverage / Total** (now advertised: 12 aggregates) | SysTimeSec, 20 s buckets, forward and reverse: TimeAverage 9.5 / 29.5 / 49.5 and Total 190 / 590 / 990, equal to the in-process reference. WTC1 over the platform stop: Good, then Uncertain, then `BadNoData` for each all-NULL interval ✅ | **No historian writes.** HistorianGateway `/metrics` showed only `Probe`, `GetTagMetadata` (+3), `ReadRaw` (+12) and `ReadAggregate` (+6, the six native reads), across the upgrade, the temporary deploy, the probe and the cleanup. There was **no `EnsureTags`, `WriteLiveValues`, `AddTagExtendedProperties` or any other write**. The OtOpcUa log has no provisioning line. **Cleanup.** The temporary tags, device, driver, script and key were removed. Deployment `595cb909` is back at revision `fa9a2e28…`, byte-identical to the original, and `/fleet` shows it Applied. The deleted key's negative control returns `BadIdentityTokenRejected`. Outage, strict-ceiling and cooldown are accepted on the in-process evidence, per the owner decision above. Claude-Session: https://claude.ai/code/session_01GT67ACmpMR7b9LGRPLijMi
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#700