test(grpc-data): H3 live gate harness (H01-H06, SqlServer and QuestDB origins)

rig.py up --history --history-backend questdb adds a run-owned QuestDB for the
SOURCE historian. History seed profile: mappings grant HistoryRead, the CLI
principal's CONSUMER HistoryRead comes only from mapping-scoped grants, text is
historized (per-type aggregate refusal), new acl_permissions mutation.
history_gate.py drives H01-H06 through the Client CLI on projected NodeIds
resolved by browse from the mapping anchor, compares with the origin, and
restores the baseline after every scenario. The node probe reports the
origin's open history continuations (LocalDataServices.HistoryOpenContinuations,
now public).
This commit is contained in:
Joseph Doherty
2026-11-24 00:42:46 -05:00
parent b50019db9c
commit 8341c7f4ae
7 changed files with 535 additions and 9 deletions
@@ -44,7 +44,7 @@ public sealed partial class LocalDataServices
internal int HistorySessionCount => _historySessions.Count;
/// <summary>Open origin continuations (page cursors + chunk remainders) across every session (diagnostics/tests).</summary>
internal int HistoryOpenContinuations => _historySessions.OpenContinuations;
public int HistoryOpenContinuations => _historySessions.OpenContinuations;
/// <summary>Remainder bytes retained for a principal across its sessions (diagnostics/tests).</summary>
internal long HistoryRetainedBytes(string principal) => _historySessions.RetainedBytes(principal);