Fix historian missing-tag latency, paging limits and response contracts #699
Reference in New Issue
Block a user
Delete Branch "fix/historian-653-followups"
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?
Historian reads could wait about 30 seconds for an unprovisioned tag, refuse crowded requests that fit below the Gateway ceiling, and spend excess calls locating stopped-tag history. Check the tag catalog before Raw/Processed/AtTime, cache explicit absence for five seconds, spend the final crowding budget, retain reverse-probe density evidence, and reuse aggregate ceiling refusals for 30 seconds before re-probing.
HistoryRead transport outages return BadNoCommunication on every arm. Raw, Modified and AtTime scalar values match the node DataType; conversion failures produce per-sample BadTypeMismatch. Processed values retain aggregate-specific types.
Fixes #653, #695, #696, #697 and #698. #694 remains blocked on historiangw#27.
Live #653 verification through the updated data source: first missing-tag Raw request 228 ms; cached Raw/Count/AtTime 0–2 ms, correct no-data results. The deployed gateway misparses missing GetTagMetadata responses, so the adapter proves absence using a fully drained filtered catalog stream and exact name comparisons. Temporary read-only test keys were revoked. SysTimeSec's Raw control timed out upstream with DeadlineExceeded; the fault was propagated, and healthy-tag live history was not validated in this run. No deployment changes made.
Full final-tree solution: 14,600 passed, 609 skipped, 0 failed across 62 suites.
dotnet test ZB.MOM.WW.OtOpcUa.slnx --verbosity quiet, exit 0. Includes 122 passing OPC UA integration tests and 268 passing host integration tests (12 host skips). Environment-gated suites are included in the skip count. Independent final review found no important defects. Evidence: docs/plans/2026-10-13-historian-653-696-results.md and docs/plans/2026-10-13-historian-695-698-results.md.Fix historian ceilings, future AtTime cost, outage statuses and value typesto Fix historian missing-tag latency, paging limits and response contractsMerged PR #699 into master as
618d98e822. The merged tree exactly matches tested58977640: full solution 14,600 passed, 609 skipped, zero failed across 62 suites. #653 and #695–#698 are closed; #694 remains open for historiangw#27.Pending findings are now tracked explicitly:
No deployment changes were made. All temporary test keys were independently verified revoked.