test(grpc-data): Gateway origin backend for the history rig — read-only AVEVA bindings, reverse/end-only H07, strict-ceiling H08 (#923)

This commit is contained in:
Joseph Doherty
2026-11-28 09:23:45 -05:00
parent 05f431f5d8
commit a6ae08146d
6 changed files with 316 additions and 15 deletions
@@ -1608,6 +1608,34 @@
"origin open continuations >= 1 while held, 0 after the consumer session close",
"resume after an origin rebuild BadContinuationPointInvalid, fresh Good"
]
},
{
"id": "H07",
"title": "Gateway origin: reverse and end-only raw reads through the projection (#923)",
"driver": "history_gate.py",
"backends": ["gateway"],
"restores_baseline": true,
"timeout_seconds": 600,
"coverage": [
"reverse (start > end) paged and whole: projected = origin = forward rows newest first",
"end-only (unspecified StartTime) paged: the latest 20 rows at or before EndTime, newest first, = origin"
]
},
{
"id": "H08",
"title": "Gateway origin behind a strict row ceiling: ceiling-bounded pages equal the unconstrained baseline (#923)",
"driver": "history_gate.py",
"backends": ["gateway"],
"run_alone": true,
"restores_baseline": true,
"timeout_seconds": 900,
"coverage": [
"run alone with --gateway-ceiling C after restarting the gateway (MaxValuesCeiling=C, AllowStreamingBeyondCeiling=false)",
"a read capped above the ceiling returns every baseline row (origin and projected)",
"100-row pages come back ceiling-sized (<= C - 17) with continuations, rows = baseline",
"reverse and end-only under the ceiling = baseline; AtTime = baseline",
"raw-evaluated Average over more rows than the ceiling: projected answer = origin answer"
]
}
]
}