test(grpc-data): H2 live smoke on the standalone rig - denied-principal modes, pinned-build check, parity; evidence

This commit is contained in:
Joseph Doherty
2026-11-23 23:31:30 -05:00
parent a4cd2a4b0e
commit a3e2f13815
5 changed files with 147 additions and 18 deletions
+10
View File
@@ -83,6 +83,16 @@ prune or prefix-based deletion. Interrupted setup leaves a restricted ownership
journal that enables the same cleanup. Run files are retained for evidence;
use a new run ID for another run.
## H2 history profile (opt-in)
`rig.py up --run-id <id> --history` adds `compose.history.yml`. SOURCE gets a SqlServer historian (schema `hist` in the
run's SQL container) and continuous historization. The seeder's history profile historizes Raw `counter`, adds HistoryRead to
the consumer's connection and exports, and seeds a second principal `fixture-nohistory`. That principal gets its own key
(`credentials.data_key_files.source_nohistory`), exports without HistoryRead and an origin ACL without HistoryRead.
`python3 scripts/validation/grpc-data/history_smoke.py --run-id <id>` runs the H2 smoke. It advances the counter, then exercises
the probe's `--scenario history` origin RPCs, the CLI `historyread` and the CONSUMER `history` node-probe operation, and checks
value parity. Without `--history` the rig, the seed and every D-scenario are unchanged.
## Scenario authoring and node probes
The seeder is available through `LocalRig.seed_helper(action, *arguments)`. Its