Commit Graph

5150 Commits

Author SHA1 Message Date
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 f441549a9e test(grpc-data): X0 unit-phase manifest key 2026-11-23 17:52:54 -05:00
Joseph Doherty 75cf5eb8f7 fix(grpc-data): X0 node-side re-validation tolerates only the reserved bits; runtime logger via init property
P02 GrpcDataArtifactReadTests pins an arbitrary bit (1<<30) as a malformed row that fails closed; keep that and
tolerate only DataOperationSets.Reserved. P07 GrpcDataHotRouteContinuityTests reflects over the runtime constructor
shape, so the logger moves from a ctor parameter to an init property.
2026-11-23 17:52:54 -05:00
Joseph Doherty a5ef7ea6d8 feat(grpc-data): X0 node-side tolerant readers drop unknown operation bits per row (counted) instead of rejecting the snapshot
Covers the deployment runtime (plan site) plus two node-side validator passes the plan missed:
DeploymentArtifact data-row parse and LocalExportCatalog.Compile now use DataConnectionValidator.ValidateDeployed.
Authoring (Validate) still rejects the reserved bits.
2026-11-23 17:21:35 -05:00
Joseph Doherty d96eafd138 feat(grpc-data): X0 consumer derives x-otopcua-data-features per selected endpoint; never sent in X0 2026-11-23 17:21:35 -05:00
Joseph Doherty 331350e2f4 feat(grpc-data): X0 server parses x-otopcua-data-features on every RPC and records requested/effective (effective always empty) 2026-11-23 17:16:24 -05:00
Joseph Doherty 984b1e122a feat(grpc-data): X0 tolerant metadata decode, feature header contract, proto field reservations with golden tests 2026-11-23 17:15:32 -05:00
Joseph Doherty d3a2002db1 feat(grpc-data): X0 reserve DataOperations bits 32-512, DataOperationSets authority, DataFeatures; capabilities mask unknown bits 2026-11-23 17:15:32 -05:00
Joseph Doherty 3279a7f9db test(grpc-data): X0 recorded-v1-client compatibility gate, goldens captured on pre-X0 master 2e4e4063 2026-11-23 17:11:59 -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 90ca3046c5 docs(readme): bring the top-level README up to date
v2-ci / unit-tests (push) Has been cancelled
Full driver set (Heidenhain, MTConnect, Sql, Calculation; Sparkplug B shipped),
Raw/UNS dual namespace, fused role-gated Host + Akka clusters, gRPC data
connections, pluggable historian backends (Gateway/SqlServer/QuestDb),
OpcUa:EnabledSecurityProfiles, docker-dev quick start, -Roles install, current
NodeId forms, and a complete docs index.
2026-11-23 12:26:21 -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 95c5e4843c Merge branch 'codex/grpc-data-connections': gRPC data connections between nodes and clusters (Raw/UNS mapped browse, read, write, subscribe)
v2-ci / unit-tests (push) Waiting to run
2026-11-23 12:20:16 -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 09f4f18d0e test: model modbus refusals and request accounting in grpc fixture 2026-11-23 09:55:04 -05:00
Joseph Doherty daea02b271 test: scaffold isolated grpc data docker fixtures 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 b2249ce2cb test: prepare isolated grpc data integration helpers 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 d5b3653012 feat: deploy scoped grpc data connection configuration 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 cdf433a351 Merge branch 'fix/913-adminui-ldap-options': AdminUI passes NAM LDAP options; no role, no login (#913)
v2-ci / unit-tests (push) Failing after 2h18m39s
Claude-Session: https://claude.ai/code/session_01GT67AFKC45MBz1wPZnVbX8
2026-11-17 11:29:18 -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 46d9a19bc5 fix(security): no role, no login — refuse zero-role and mapper-fault AdminUI sign-in and tokens (#913)
/auth/login signed users in with an empty role set (and did so when the role
mapper threw), and AuthenticatedRead / the fallback policy admit any
authenticated user — with a domain-root SearchBase any AD user would get AdminUI
read access and a token.

- Empty mapped role set: refused like bad credentials (JSON 401; form redirect to
  /login with a generic message), no cookie, Warning logged with the groups.
- Mapper throws: refused, fail closed (JSON 503 like an LDAP outage; form redirect
  with a generic "temporarily unavailable"), exception logged.
- /auth/token: refuses (401) a cookie session carrying no role claim.
- Replaces Login_when_role_mapper_throws_signs_in_with_no_role_claims with refusal
  tests (JSON + form), adds zero-role refused (JSON + form), one-mapped-role signs
  in, zero-role cookie gets no token. JwtConfigurationGateTests' stub user now holds
  a mapped group.

Claude-Session: https://claude.ai/code/session_01GT67AFKC45MBz1wPZnVbX8
2026-11-17 11:18:18 -05:00
Joseph Doherty c996b462c4 fix(security): pass FallbackServers/BindMode/UserBindTemplate/AcceptDomainQualifiedNames to the LDAP library, inject its logger (#913)
- LdapOptions gains the four properties (library defaults) and ToLibraryOptions()
  projects them; before this the AdminUI had no DC failover and the keys were
  silently ignored.
- OtOpcUaLdapAuthService builds the library service with ILogger<LdapAuthService>
  from DI, so failover Warnings, the sticky-preference line and stage diagnostics
  reach the log.
- LdapOptionsValidator ports only the library's FallbackServers parse rule and the
  BindMode=User -> UserBindTemplate {0}-exactly-once rule. ServiceAccountDn is NOT
  required: DEV boots on the empty default (plan review B2).
- Fix stale comments: no direct-bind path exists; code default server is localhost.
- Tests: two-way reflection completeness guard over the library LdapOptions
  (allow-list: ServerCertificateValidationCallback), JSON + env binding of the new
  keys, validator rules, DEV-shaped boot, and a DI-built service against two closed
  loopback ports proving library Warnings for primary AND fallback reach the log.

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 6dd2985b8b Merge branch 'fix/912-split-connect-budget' (#912)
v2-ci / unit-tests (push) Failing after 3h14m42s
2026-11-15 16:56:03 -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