Commit Graph

1634 Commits

Author SHA1 Message Date
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
Joseph Doherty 4c29eaf266 docs(grpc-data): H1 evidence 2026-11-23 20:20:38 -05:00
Joseph Doherty 100dd5ca44 fix(grpc-data): H1 peer takes consume before verifying, scopes snapshot the incarnation per request, wiring faults are BadInternalError (verification 1-3, 7b)
- a take computes its expectation only after consuming the record, so a
  throwing incarnation source cannot leave a token replayable;
- a PeerHistoryContinuationScope is per request and reads the serving
  incarnation once, so a request straddling a failover binds its next
  token to the incarnation it started under (Save never answers null);
- a non-owner principal or a blank/throwing incarnation source raises
  PeerHistoryContinuationWiringException, answered BadInternalError (not
  BadHistoryOperationUnsupported); plan H2 note added;
- ConnectionIncarnation documented as identity only.
2026-11-23 20:09:01 -05:00
Joseph Doherty 6c70c93c62 docs(grpc-data): H1 review notes for H2/H3 (details resend, store lifecycle, off-thread port, IVT/facade, transport chunking) 2026-11-23 19:54:08 -05:00
Joseph Doherty 4ded3b004b docs(grpc-data): X0 evidence — final review round results, follow-ups #918 #919 2026-11-23 19:11:59 -05:00
Joseph Doherty ffa70287ac docs(grpc-data): X0 gate results on 981c60784 after review fixes 2026-11-23 18:55:55 -05:00
Joseph Doherty 981c60784c docs(grpc-data): X0 review - real vs faked layers of the v1 gate, extension rule, extra tolerance sites, drop counter semantics 2026-11-23 18:28:53 -05:00
Joseph Doherty 59a1654dfe docs(grpc-data): X0 gate results 2026-11-23 18:14:06 -05:00
Joseph Doherty d89bc86194 docs(grpc-data): X0 evidence (rev-4 investigations + scratch harness) and mixed-version rollout note 2026-11-23 17:52:54 -05:00
Joseph Doherty 2e4e4063fd docs(plans): history+alarms plan rev 6-7 (F1-F6, G1-G5); Fable fifth pass
v2-ci / unit-tests (push) Waiting to run
RefreshEnd as the OpcUaClient known-signal with SequentialPublishing; signals
ordered behind alarm events incl. the deploy-deferral queue; real poll/document
signals for FOCAS/AbCip/Heidenhain/MTConnect; per-device signal scope (G1);
never-arriving signal stays Uncertain; activation marker on any un-ack edge;
EventId behaviour across origin failover made explicit. Fifth Fable pass:
X0 + H approved, A approved with one change (G1, now folded in).
2026-11-23 16:58:45 -05:00
Joseph Doherty 9a977a74fa docs(plans): history+alarms plan rev 5 (T1-T3, m-T4..m-T7); Fable fourth pass
v2-ci / unit-tests (push) Has been cancelled
MarkConditionsKnown delta, input/driver-signal-based known state with
per-driver timer backstop, origin activation marker, cluster-wide condition
key. Fourth Fable pass: X0 + H approved; A approved with changes (F1-F2 Major,
F3-F6) — small A1 edits.
2026-11-23 16:50:22 -05:00
Joseph Doherty 310b42e3fc docs(plans): history+alarms plan rev 4 — settle B5, node budget, state_known; Fable third pass
v2-ci / unit-tests (push) Has been cancelled
B5 settled: OtOpcUaNodeManager implements ICallAsyncNodeManager.CallAsync for
imported conditions, awaiting the owner with no Lock (verified against SDK
2.0.1). 48-49 nodes / ~157 KiB per imported condition; budgets recomputed.
state_known mechanism named; live measurements L1-L5 listed (§9.3). Third
Fable pass: X0 + H approved; A approved with changes (T1-T3). Pre-existing v1
defects: #916, #917.
2026-11-23 16:37:49 -05:00
Joseph Doherty 10a18ebd77 docs(plans): history+alarms plan rev 3 — fold in second Fable pass (N1-N8), settle Q1/Q2
v2-ci / unit-tests (push) Has been cancelled
Owner snapshot from live conditions (not the event callback); root-scoped
condition subscription; realm-local placement with a keyed condition_key;
NodeIds keyed on (connection, condition_key) so re-homing never changes them;
dedicated condition budgets; sixth mask site; repeated v1-client gates.
Q1: condition streams run under the connection service principal, re-gated per
local caller. Q2: re-home is NodeId-stable; unavoidable changes are accepted
as remove+add+RefreshRequired. Pre-existing v1 stable_source_id leak: #916.
2026-11-23 16:23:14 -05:00
Joseph Doherty 274d629fb4 docs(plans): gRPC data connections remote history + alarm forwarding plan, with Fable review
v2-ci / unit-tests (push) Waiting to run
Multi-phase plan (X0 preflight, H1-H4 remote HistoryRead, A1-A4 alarm/condition
forwarding); relay deferred to a separate design (§8). Two Fable review passes:
history approved, alarms approved with changes (N1-N5 to fold in before A1).
The 14-day v1 soak (G0) is a deferred, non-blocking deploy gate: #915.
2026-11-23 15:38:35 -05:00
Joseph Doherty 649f2ecd22 docs(index): bring docs/README.md up to date
v2-ci / unit-tests (push) Waiting to run
Full driver list (all 13 driver docs + fixtures) instead of Galaxy only and
'eight shipped drivers'; Raw/UNS dual namespace, roles, cluster mesh, data
connections and pluggable historian in the platform overview; index the
previously unlisted Raw, Telemetry, Historian, ui-consistency-validation and
v2 component docs; v1 archive links grouped.
2026-11-23 12:27:39 -05:00
Joseph Doherty 1c3a500cd5 docs(plans): grpc data connections design status — merged 95c5e484, not deployed
v2-ci / unit-tests (push) Has been cancelled
2026-11-23 12:22:00 -05:00
Joseph Doherty 1efc15a786 docs: sequence gRPC validation and scope section replays 2026-11-23 09:55:04 -05:00
Joseph Doherty 9c8c1054fa test: complete grpc data solution validation 2026-11-23 09:55:04 -05:00
Joseph Doherty 4cf3acb1c5 perf: measure grpc fanout and recovery bounds 2026-11-23 09:55:04 -05:00
Joseph Doherty 29fec57fac test: validate grpc data connections with local docker and opcua cli 2026-11-23 09:55:04 -05:00
Joseph Doherty 1df29a3124 feat: author and inspect grpc data connections 2026-11-23 09:55:04 -05:00
Joseph Doherty 8ad03e9c5d feat: expose mapped raw and uns data through grpc adapters 2026-11-23 09:55:04 -05:00
Joseph Doherty 47960a6d57 feat: host tls data service and route node and cluster connections 2026-11-23 09:55:04 -05:00
Joseph Doherty af30a0266a feat: add bounded shared grpc subscriptions and delivery scheduling 2026-11-23 09:55:04 -05:00
Joseph Doherty 862dbc8e90 feat: preserve grpc write admission and uncertain outcomes 2026-11-23 09:55:04 -05:00
Joseph Doherty 8f28a0eabf feat: add immutable partitioned data publication hub 2026-11-23 09:55:03 -05:00
Joseph Doherty 078abfb250 feat: share grpc mapped authorization and authority leases 2026-11-23 09:55:03 -05:00
Joseph Doherty a323373a45 docs: record approved grpc protocol contract freeze 2026-11-23 09:55:03 -05:00
Joseph Doherty 9cda2dd8d0 feat: define validated grpc data contracts and codecs 2026-11-23 09:55:03 -05:00
Joseph Doherty 28aabaf82d test: require existing regression classes in grpc phase gates 2026-11-23 09:55:03 -05:00
Joseph Doherty 88f0a57ab4 test: add focused grpc data phase gates and discovery isolation 2026-11-23 09:55:03 -05:00
Joseph Doherty e037085a38 docs(deploy): DEV vd03 + QA vq03/vq04 on cdf433a3 (#913), AdminUI login on NAM AD
v2-ci / unit-tests (push) Failing after 2h15m0s
Claude-Session: https://claude.ai/code/session_01GT67AD5mc2BnaaAfY3hqqQ
2026-11-19 16:21:36 -05:00
Joseph Doherty 19a445bb61 docs(security): AdminUI LDAP failover/bind-mode keys, no-role-no-login, validator scope (#913)
Claude-Session: https://claude.ai/code/session_01GT67AFKC45MBz1wPZnVbX8
2026-11-17 11:18:18 -05:00
Joseph Doherty 5dbdee1ea3 docs: plan grpc data connections and record Astra reviews
v2-ci / unit-tests (push) Failing after 2h40m48s
2026-11-15 20:59:53 -05:00
Joseph Doherty 678498a4a6 fix(opcuaclient): split the per-endpoint connect budget into reachability + session phases (#912)
PerEndpointConnectTimeout (3 s) now bounds only TCP + discovery, so failover past a
dead endpoint stays fast. The new SessionCreateTimeout (10 s) bounds OpenSecureChannel
+ CreateSession on an endpoint that answered discovery, where the client-side cert and
crypto work lives (#910). 2 x (3 + 10) s stays inside the host's 30 s initialise bound.
Expiries name the budget that ran out; both budgets must be positive; AdminUI form
carries the new field so a save does not drop it; driver docs updated.

Closes #912
2026-11-15 16:55:22 -05:00
Joseph Doherty 8ff424fc5a Record coordinator acceptance of verified OT candidate
v2-ci / unit-tests (push) Failing after 3h3m20s
2026-11-14 02:26:31 -05:00
Joseph Doherty fdff7500a2 docs(admin-ui): record verified final UI consistency candidate 2026-11-14 02:23:43 -05:00
Joseph Doherty c8edd65f3e Keep driver address builders inline within their owning dialog 2026-11-14 02:14:13 -05:00
Joseph Doherty cb26ed9179 Keep cloned collection edits inside their owning driver dialog 2026-11-14 02:10:43 -05:00
Joseph Doherty 03ace0f9ee fix(admin-ui): close measured cluster field and narrow layout gaps 2026-11-14 02:00:20 -05:00
Joseph Doherty 455c874875 fix(ui): name role grant fields and wrap security details 2026-11-14 01:55:00 -05:00
Joseph Doherty ef1609f523 Observe serialized modal activation through its actual JS invocation 2026-11-14 01:46:16 -05:00
Joseph Doherty 50ab406de7 fix(admin-ui): bind equipment callers and recovery to presentations 2026-11-14 01:44:09 -05:00