gRPC data X0: real-origin variant of the recorded-v1-client compatibility gate #918

Closed
opened 2026-11-23 18:56:46 -05:00 by dohertj2 · 0 comments
Owner

Phase X0 of docs/plans/2026-11-23-grpc-data-connections-history-alarms-plan.md added GrpcDataV1CompatibilityTests (Host.Tests). It replays golden v1 request bytes against the real DataConnectionGrpcService + DataProtoMapper, but the origin is a fixed fake, so LocalDataServices, LocalExportCatalog and DataCapabilitiesProvider are not exercised.

H2 grows LocalDataServices.Implemented() (HistoryRead) and A2 adds condition data, so a headerless v1 call could regress inside the real origin while the fake-origin gate stays green.

Do: add a variant backed by the real origin stack (built through public APIs; Host.Tests cannot reach the Runtime.Tests fixture), with its own golden set captured against pre-H2 code. No header ⇒ byte-identical. Must exist before the H2 exit gate (plan §4.3 compatibility gate rule). Never re-record the X0 goldens.

Source: X0 Fable review finding 2(c).

Phase X0 of `docs/plans/2026-11-23-grpc-data-connections-history-alarms-plan.md` added `GrpcDataV1CompatibilityTests` (Host.Tests). It replays golden v1 request bytes against the real `DataConnectionGrpcService` + `DataProtoMapper`, but the origin is a fixed fake, so `LocalDataServices`, `LocalExportCatalog` and `DataCapabilitiesProvider` are not exercised. H2 grows `LocalDataServices.Implemented()` (HistoryRead) and A2 adds condition data, so a headerless v1 call could regress inside the real origin while the fake-origin gate stays green. **Do:** add a variant backed by the real origin stack (built through public APIs; Host.Tests cannot reach the Runtime.Tests fixture), with its own golden set captured against pre-H2 code. No header ⇒ byte-identical. Must exist before the H2 exit gate (plan §4.3 compatibility gate rule). Never re-record the X0 goldens. Source: X0 Fable review finding 2(c).
dohertj2 added the type:followuptype:testpriority:p2 labels 2026-11-23 18:56:46 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dohertj2/lmxopcua#918