Commit Graph

6 Commits

Author SHA1 Message Date
Joseph Doherty 7f071955ba docs(grpc-data): lapsed-lease behaviour; H3 gate drops the re-browse workaround and idles past the lease (#922) 2026-11-28 09:45:04 -05:00
Joseph Doherty 60e594dddd test(grpc-data): H06 held legs start right after a deploy (idle projection authority lapses)
The review re-run showed a re-browse served from the cached page does not
renew an idle projected node's 15 s metadata lease (value Read is refused the
same way; pre-existing v1 projection behaviour). Each held H06 leg now starts
right after a baseline restore + re-browse.
2026-11-24 02:19:03 -05:00
Joseph Doherty 8f630bec98 test(grpc-data): H3 gate re-browses before held reads (projection authority lapses with the metadata lease)
Found on the review re-run (H06d, SqlServer): a projected node read more than
MetadataLeaseMilliseconds (15 s) after its last browse/renewal is
BadUserAccessDenied — the same for a value Read (pre-existing v1 projection
behaviour, confirmed in the Runtime harness), not an H3 defect. The gate now
re-browses before each held read.
2026-11-24 02:02:49 -05:00
Joseph Doherty f26b12085f test(grpc-data): H3 gate — Float32 legs in H01/H03, H06 origin refusal over the wire
Seed profile historizes a Float32 (registers 30..31) driven through two values;
H01/H03 compare its projected rows/types with the origin (Good Singles). H06(a)
also reads the denied and the unhistorized node through the consumer's deployed
connection (node probe) so the origin's per-item refusal itself is compared,
not only the metadata that drops the access bit.
2026-11-24 01:51:01 -05:00
Joseph Doherty af06183412 fix(grpc-data): projected Processed values keep their aggregate's type
Found by the H3 live gate (H02): a Double Average of a UInt16 node was decoded
against the node's catalog kind and came back null + BadTypeMismatch per
interval (the result status stayed Good, which is why the wire test missed
it). Raw/AtTime values are still checked against the catalog kind; Processed
values accept any scalar kind. The wire test now asserts the interval's value.
Gate: re-browse the projected leaves after every deploy (a deploy retires cold
projected nodes; the same opaque ids come back).
2026-11-24 01:04:04 -05:00
Joseph Doherty 8341c7f4ae 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).
2026-11-24 00:42:46 -05:00