Commit Graph

1626 Commits

Author SHA1 Message Date
Joseph Doherty d6f189ec6d docs(grpc-data): A2b progress log 2026-11-24 13:33:41 -05:00
Joseph Doherty 81cee9b5e8 docs(grpc-data): A2a evidence — tests, mutation checks, gates, live smoke a2a-cond-2 PASS 2026-11-24 13:20:24 -05:00
Joseph Doherty ba0555d4a5 docs(grpc-data): A2a evidence — decisions, deviations, seams for A2b 2026-11-24 12:31:09 -05:00
Joseph Doherty 1977d8ce84 feat(grpc-data): A2a — byte-bounded condition chunks (256 KiB estimate); DataConnections.md condition streams 2026-11-24 12:30:28 -05:00
Joseph Doherty 6bb8fa6914 test(grpc-data): A2a — condition codecs pin 17/4/9 with their real types (replaces the X0 tripwire) 2026-11-24 12:15:52 -05:00
Joseph Doherty a74a1aeef9 feat(grpc-data): A2a — AlarmSubscribe joins DataOperationSets.Understood; A2 progress log 2026-11-24 11:59:20 -05:00
Joseph Doherty e047d3a6f1 docs(grpc-data): A1 review round 2 gates 2026-11-24 11:54:16 -05:00
Joseph Doherty 72fe8b2454 docs(grpc-data): A1 review round 2 — G2 as implemented (#926), A2 snapshot-replay contract, residuals N4/N5, L4 status, round-2 table 2026-11-24 11:35:45 -05:00
Joseph Doherty 27a59716aa Merge A1 review round 1 fixes 2026-11-24 11:03:44 -05:00
Joseph Doherty 2d7f67de72 docs(grpc-data): A1 review round 1 — findings, resolutions, mutations and gates 2026-11-24 11:03:09 -05:00
Joseph Doherty c033abd54f docs(grpc-data): A1 drivers gates 2026-11-24 10:46:59 -05:00
Joseph Doherty df6fb8ff5e docs(grpc-data): A1-core — drivers section (hooks, tests, mutations, L4, deviations) 2026-11-24 10:37:06 -05:00
Joseph Doherty 3b242f5839 docs(grpc-data): plan §5.2 condition_key formula matches ConditionKeys.Derive (realm byte, upper-cased cluster) + golden-vector test 2026-11-24 10:37:02 -05:00
Joseph Doherty 3c2cf96af2 test(grpc-data): A1 L4 — signal-latency LiveIntegration harness + measured evidence (OpcUaClient, FOCAS, MTConnect, AbCip; Galaxy/Heidenhain blocked) 2026-11-24 10:32:14 -05:00
Joseph Doherty 4f1cefe8d8 docs(grpc-data): A1 drivers progress log 2026-11-24 10:19:41 -05:00
Joseph Doherty eb688a4ee0 Merge A1 keys/placements/ids into A1 core 2026-11-24 10:02:34 -05:00
Joseph Doherty 5a42948c37 docs(grpc-data): A1-core gates and open questions 2026-11-24 10:01:57 -05:00
Joseph Doherty 1bc6a17ba9 docs(grpc-data): A1-core evidence — tests, mutations, driver-agent seams, scripted decisions 2026-11-24 09:49:31 -05:00
Joseph Doherty 3ad6d7e8c7 docs(grpc-data): A1-core progress log — publish actor + driver signal done 2026-11-24 09:35:15 -05:00
Joseph Doherty 45c38023a7 docs(grpc-data): A1 placements/keys/ids evidence, public API and deviations 2026-11-24 09:30:31 -05:00
Joseph Doherty f49e4e100b docs(grpc-data): A1-core progress log — NM + hub done 2026-11-24 09:24:43 -05:00
Joseph Doherty f7b0ff34d0 docs(grpc-data): A1-core progress log skeleton 2026-11-24 09:15:27 -05:00
Joseph Doherty 27d1501b69 docs(grpc-data): H4 evidence — review table, gates and live re-run after the review fixes 2026-11-24 09:08:52 -05:00
Joseph Doherty b5509dfc48 docs(grpc-data): H4 review 3 — origin history reads are counted per item per wire call 2026-11-24 08:37:58 -05:00
Joseph Doherty 005720bd02 fix(grpc-data): H4 review 2 — a fresh origin reports 'no peer traffic yet', not 'unavailable'
The origin services are composed on the first peer call (they need the driver host actor), so
CaptureOrigin returned null until then and a fresh H4 origin read like a pre-H4 build. The DI
singleton now probes the same deferred history port for backend availability and reports zeros
with PeerServicesStarted=false; the page says 'no peer has called since start'.
2026-11-24 08:37:38 -05:00
Joseph Doherty ce648523ab docs(grpc-data): H4 evidence — correct the live run window 2026-11-24 08:28:59 -05:00
Joseph Doherty 25b4fc5c45 docs(grpc-data): H4 evidence — diagnostics, metrics, live SqlServer gate, Gateway leg blocked (#923) 2026-11-24 08:28:54 -05:00
Joseph Doherty 1efe084833 docs(grpc-data): H4 remote history supported (SqlServer/QuestDB verified, Gateway pending #923), diagnostics and metrics, CLI projected-history note 2026-11-24 08:02:41 -05:00
Joseph Doherty 0afef26941 docs(grpc-data): H3 evidence — live H01-H06 re-runs after review rounds 2 and 3 2026-11-24 07:48:03 -05:00
Joseph Doherty 713cbfb212 docs(grpc-data): H3 evidence — review round 3 fixes and gates 2026-11-24 07:30:30 -05:00
Joseph Doherty 7aaa98751a fix(grpc-data): H3 review round 2 — no batch probe; budget stop; orphan tokens; lease-retired status
1: the separate capability probe is gone (through the unary path a cancelled
probe recorded an endpoint failure and put the connection into discovery
backoff). Projected calls split at the deployed connection's batch size;
GrpcDataConnection splits again at the origin's advertised MaxBatchItems from
the capabilities the history call already negotiated, sharing the assembly
budget across sub-batches. 3: once the connection reports the assembly budget
spent, no further origin call is made. 4: an answer that never became an
outcome (mismatch, exception mid-answer) releases its new origin token. 5: a
cancel that is neither the caller's nor the deadline (a lease retired by a
redeploy) is BadNoCommunication / BadContinuationPointInvalid, not BadTimeout.
Flush delay on the access's clock. Docs: the request deadline covers the local
half too; shared non-local slots; split. Red/green for each by mutation.
2026-11-24 06:25:19 -05:00
Joseph Doherty 022b297836 docs(grpc-data): H3 evidence — review fixes, gates and the H01-H06 re-run on both backends 2026-11-24 02:35:25 -05:00
Joseph Doherty 86c0934ad6 refactor(client): HistoryReadPageAsync is abstract; docs for the H3 review fixes
The page API is a required member of IOpcUaClientService / ISessionAdapter (the
fakes implement it). DataConnections.md: projected slot sub-limit, per-node
fault handling, request-order runs and sub-batches. Client.CLI.md: --aggregate
now asks for the server's default aggregate configuration.
2026-11-24 01:49:46 -05:00
Joseph Doherty 99c873e514 docs(grpc-data): H3 evidence — gates and H01-H06 live on SqlServer and QuestDB origins 2026-11-24 01:21:57 -05:00
Joseph Doherty 763669562e docs(grpc-data): H3 OPC UA HistoryRead on projected nodes; rig H3 gate recipe 2026-11-24 00:44:04 -05:00
Joseph Doherty b50019db9c feat(cli): historyread --held-marker-file for hand-paged reads 2026-11-24 00:42:46 -05:00
Joseph Doherty 3b630ab1a9 feat(cli): historyread --page-size/--pause-after-page/--abandon/--release and --at-time
Hand-paged raw reads in one session print each page's status and continuation
(a refused resume is printed, not thrown), can hold the session across a
failover (resume when a file appears, then one fresh read), abandon a point
to the session close or release it explicitly. --at-time reads AtTime and
prints value types. Backed by IOpcUaClientService.HistoryReadPageAsync
(default-throwing interface member so existing fakes compile). Used by the
gRPC data H3 live gate on projected nodes.
2026-11-24 00:36:47 -05:00
Joseph Doherty 180bd76578 docs(grpc-data): H2 live smoke on final HEAD (h2-history-smoke-final) 2026-11-23 23:46:50 -05:00
Joseph Doherty 99598637d5 docs(grpc-data): H2 evidence - second review pass and gates 2026-11-23 23:34:53 -05:00
Joseph Doherty f3f0af87a2 docs(grpc-data): missing export grant is PERMISSION_DENIED for the call; ACL-denied/unhistorized/unknown nodes are 0x80720000 2026-11-23 23:32:26 -05:00
Joseph Doherty a3e2f13815 test(grpc-data): H2 live smoke on the standalone rig - denied-principal modes, pinned-build check, parity; evidence 2026-11-23 23:31:30 -05:00
Joseph Doherty 1d824da124 docs(grpc-data): precise wording for history limit changes 2026-11-23 23:21:11 -05:00
Joseph Doherty 3c89a49fa1 docs(grpc-data): H2 review2-7b/f - limiter share at N=1, limit changes clear live history sessions 2026-11-23 23:21:01 -05:00
Joseph Doherty d8712b871c docs(grpc-data): H2 evidence - gate results after review fixes 2026-11-23 23:04:43 -05:00
Joseph Doherty a6ca919fb2 docs(grpc-data): H2 evidence - review fixes, flake check 2026-11-23 22:31:48 -05:00
Joseph Doherty 3c5cbea931 fix(grpc-data): H2 review 2/3/4/9 - readiness is Ready()'s job; client faults never escape
Origin advertises history whenever it has a historian, so a not-ready/demoted endpoint answers HistoryRead
Unavailable (ungranted: PermissionDenied) and the consumer fails over like v1 Read instead of 'unsupported'.
Client: malformed/undecodable answers are endpoint failures (fresh read moves on); a resumed item is
ContinuationPointInvalid while a fresh item of the same batch is BadNoCommunication; a fresh read tries the next
endpoint when one lacks history; discovery backoff honoured; origin Cancelled without a caller cancel is BadTimeout
(no RecordFailure); caller cancel throws. The deployment lease maps inner/scope faults to BadNoCommunication.
The UnaryTimeout cap is documented next to the AdminUI field and in DataConnections.md.
2026-11-23 22:04:23 -05:00
Joseph Doherty 6a621423f4 fix(grpc-data): H2 review 8 - history timeout rides the artifact, not the trust-scope fingerprint
DataConnectionScopeRevision covers consumer/connection/secret scope only; limits (TimeoutMilliseconds and now
HistoryTimeoutMilliseconds) reach DB-less nodes and the LocalDb cache in the artifact's entity JSON. Dropping the field
also avoids a one-time scope-version bump on upgrade. Plan 6 corrected.
2026-11-23 21:53:58 -05:00
Joseph Doherty e0956a55d6 docs(grpc-data): H2 evidence and docker-dev smoke recipe 2026-11-23 21:44:42 -05:00
Joseph Doherty 9bcdf92ff3 docs(grpc-data): remote history for runtime consumers; plan 4.1 probe-vs-RPC negotiation decision 2026-11-23 21:07:25 -05:00
Joseph Doherty 880cd89fe9 test(grpc-data): real-origin variant of the recorded-v1-client gate (#918)
Replays recorded v1 requests against the real DataConnectionGrpcService over the
real origin stack (LocalExportCatalog.Compile from a DraftSnapshot with Raw + UNS
exports, DataCapabilitiesProvider, PartitionedSampleHub, LocalDataServices,
DataWriteExecutor, LocalSubscriptionService/DataSubscriptionSession). Only the
physical driver write dispatch, upstream acquisition, transport and clock are
faked. Goldens captured on pre-H2 master 1086593a; nothing normalised.

Runtime gains InternalsVisibleTo Host.Tests for the Subscribe/Write seams.
Class added to the X0 manifest; X0.md section 2 records real vs faked,
determinism, the perturbation proof and the rule for H2/A2/A3.
2026-11-23 20:39:24 -05:00