test(grpc-data): pinned pre-H2 SOURCE option (rig.py up --source-revision), wire tap, H05 v1-origin gate (#921); A09 driver-failure ack revert scenario (#927)

This commit is contained in:
Joseph Doherty
2026-11-28 09:28:59 -05:00
parent a2a1104f20
commit a0901ddf39
7 changed files with 737 additions and 21 deletions
@@ -0,0 +1,25 @@
# lmxopcua#921 pinned-origin overlay (opt-in: `rig.py up --source-revision <sha>`). The SOURCE pair runs a Host image built
# from a pinned post-X0, pre-H2 commit (a "v1 origin": no HistoryRead RPC, no `history` feature), exported by the rig into the
# run folder; CONTROL and CONSUMER keep the current checkout's image. The only file the rig adds to the pinned tree is the
# self-contained node-probe wire tap (node-probe/WireTap.cs), enabled here with GRPC_DATA_WIRE_TAP: it records, per request
# on the data listener, the gRPC path and the x-otopcua-data-features header value into the node's restricted probe
# directory (wire-tap.jsonl) — never a credential or a body. Without this file the rig is unchanged.
x-pinned-env: &pinned-env
GRPC_DATA_WIRE_TAP: "1"
services:
source-1:
build:
context: ${GRPC_DATA_SOURCE_PINNED_CONTEXT:?pinned SOURCE export required}
dockerfile: scripts/validation/grpc-data/Dockerfile
target: runtime
labels:
otopcua.grpc-data.run: ${GRPC_DATA_RUN_ID}
com.docker.compose.project: ${GRPC_DATA_PROJECT}
args: {SOURCE_REVISION: "${GRPC_DATA_SOURCE_PINNED_REVISION:?pinned revision required}", SOURCE_TREE_HASH: "${GRPC_DATA_SOURCE_PINNED_TREE_HASH:?pinned tree hash required}"}
image: ${GRPC_DATA_SOURCE_IMAGE:?run-scoped pinned SOURCE image required}
environment: *pinned-env
source-2:
image: ${GRPC_DATA_SOURCE_IMAGE:?run-scoped pinned SOURCE image required}
environment: *pinned-env