dohertj2 dohertj2
  • Joined on 2026-02-20
dohertj2 commented on pull request dohertj2/lmxopcua#699 2026-10-13 04:49:10 -04:00
Fix historian missing-tag latency, paging limits and response contracts

Merged PR #699 into master as 618d98e8224ce1989677590094627e924c644c91. The merged tree exactly matches tested 58977640: full solution 14,600 passed, 609 skipped, zero failed across 62 suites.…

dohertj2 opened issue dohertj2/lmxopcua#700 2026-10-13 04:47:43 -04:00
Complete live OPC UA historian verification after gateway control recovery
dohertj2 opened issue dohertj2/lmxopcua#701 2026-10-13 04:47:43 -04:00
Add concurrent cold/expiry coverage for Gateway tag-presence cache
dohertj2 pushed to master at dohertj2/lmxopcua 2026-10-13 04:45:05 -04:00
618d98e822 Merge pull request 'Fix historian missing-tag latency, paging limits and response contracts' (#699) from fix/historian-653-followups into master
5897764024 fix(historian): fail fast for missing tags and reduce gateway read cost
97668d26d3 fix(historian): respect gateway ceilings and history value contracts
Compare 3 commits »
dohertj2 merged pull request dohertj2/lmxopcua#699 2026-10-13 04:45:03 -04:00
Fix historian missing-tag latency, paging limits and response contracts
dohertj2 closed issue dohertj2/lmxopcua#653 2026-10-13 04:34:54 -04:00
Historian: re-measure 30 s HistoryRead of unprovisioned tags
dohertj2 closed issue dohertj2/lmxopcua#696 2026-10-13 04:34:54 -04:00
Gateway AtTime: prior-sample search starts at the requested time, not min(T, now); strict-ceiling stopped-tag end-only reads costly
dohertj2 commented on issue dohertj2/lmxopcua#696 2026-10-13 04:34:35 -04:00
Gateway AtTime: prior-sample search starts at the requested time, not min(T, now); strict-ceiling stopped-tag end-only reads costly

Remaining items fixed:

  1. Strict-ceiling stopped-tag reverse discovery retains truncated remainder-probe rows/density and uses the available discovery budget for gaps, rather than throwing that…
dohertj2 commented on issue dohertj2/lmxopcua#653 2026-10-13 04:34:34 -04:00
Historian: re-measure 30 s HistoryRead of unprovisioned tags

Fixed missing-tag latency in OtOpcUa Raw, Processed and AtTime. A bounded 4,096-name presence cache uses negative TTL 5 s and positive TTL 60 s; faults/cancellation are never cached as absence. A…

dohertj2 pushed to main at dohertj2/scadaproj 2026-10-13 04:33:39 -04:00
aed5fbf046 docs(index): record missing-tag and gateway discovery fixes
dohertj2 pushed to fix/historian-653-followups at dohertj2/lmxopcua 2026-10-13 04:32:31 -04:00
5897764024 fix(historian): fail fast for missing tags and reduce gateway read cost
dohertj2 closed issue dohertj2/lmxopcua#695 2026-10-13 03:53:43 -04:00
Gateway raw: warm reads refuse a tie cluster that fits under the learned ceiling (look-back below a reverse segment or bound lookup)
dohertj2 closed issue dohertj2/lmxopcua#697 2026-10-13 03:53:43 -04:00
HistoryRead returns BadHistoryOperationUnsupported when the historian backend is unreachable (should be a retryable communication status)
dohertj2 closed issue dohertj2/lmxopcua#698 2026-10-13 03:53:43 -04:00
Historian value types differ across backends for integer/Boolean nodes (SQL backends Int64, Gateway node type; Gateway Raw Boolean as Double)
dohertj2 commented on issue dohertj2/lmxopcua#695 2026-10-13 03:52:23 -04:00
Gateway raw: warm reads refuse a tie cluster that fits under the learned ceiling (look-back below a reverse segment or bound lookup)

Implemented: crowding re-reads clamp the allowance to the remaining learned-ceiling room and spend that final usable budget before refusing. Crowded reverse segments retry with a reduced in-window…

dohertj2 commented on issue dohertj2/lmxopcua#696 2026-10-13 03:52:23 -04:00
Gateway AtTime: prior-sample search starts at the requested time, not min(T, now); strict-ceiling stopped-tag end-only reads costly

Implemented item 1: a bounded future-interval probe preserves stored future samples, then starts prior-sample search near now when the interval is empty. Requested timestamps and Uncertain hold…

dohertj2 commented on issue dohertj2/lmxopcua#697 2026-10-13 03:52:23 -04:00
HistoryRead returns BadHistoryOperationUnsupported when the historian backend is unreachable (should be a retryable communication status)

Implemented actual transport-outage classification across Raw, Modified, Processed, AtTime and Events: BadNoCommunication. Gateway package/nested gRPC outages and SQL Server/QuestDB connection…

dohertj2 commented on issue dohertj2/lmxopcua#698 2026-10-13 03:52:23 -04:00
Historian value types differ across backends for integer/Boolean nodes (SQL backends Int64, Gateway node type; Gateway Raw Boolean as Double)

Implemented at the node-manager response boundary on all backends: Raw, Modified and AtTime non-null scalar values match the node DataType. Failed conversions yield per-sample null/BadTypeMismatch…

dohertj2 commented on issue dohertj2/lmxopcua#653 2026-10-13 03:52:22 -04:00
Historian: re-measure 30 s HistoryRead of unprovisioned tags

Live remeasurement completed with a newly commissioned temporary historian:read key (two-hour expiry; revoked after the run). Five sequential calls per operation through client 0.3.0 and the…

dohertj2 commented on issue dohertj2/lmxopcua#694 2026-10-13 03:52:22 -04:00
Gateway historian: strict lowered ceiling refuses ordinary pages; deep event reads slow (follow-ups from #689–#691 gate)

Rechecked remaining item 3: historiangw#27 is still open. The native TimeAverage/Total live rerun remains blocked on that upstream interval fix. Items 1/2 remain handled by base 66a2b0c3. Leaving…