test: add focused grpc data phase gates and discovery isolation
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
# gRPC data implementation execution ledger
|
||||
|
||||
Implementation authorized by the user after plan review. Work starts at `5dbdee1ea3ad1f0b98cd4ae15bcf14f9b114c21b` on branch `codex/grpc-data-connections` in the managed isolated worktree. Unrelated AB CIP fixture edits remain in the original checkout.
|
||||
|
||||
The [implementation plan](../../2026-11-15-grpc-data-connections-implementation-plan.md) and [design](../../2026-11-15-grpc-data-connections-design.md) define scope. Only the applicable test selectors run per phase; the unfiltered whole-solution run is reserved for P12. No throughput claim is inferred from correctness tests.
|
||||
|
||||
## Preflight
|
||||
|
||||
- Host: macOS arm64; .NET SDK 10.0.403 (repository rolls forward from 10.0.100); Python 3.14.3.
|
||||
- Docker context: `orbstack`, local Unix socket; daemon architecture aarch64, approximately 15.7 GiB RAM. No fixture/container changes during initial inspection.
|
||||
- Managed worktree was clean at creation; feature branch is based on the committed design/plan/reviews.
|
||||
- Source feed/mapping/protocol work cannot begin before P00 focused test isolation passes. Tests remain coordinator-controlled.
|
||||
|
||||
## Phase status
|
||||
|
||||
| Phase | Scope | Status | Evidence |
|
||||
|---|---|---|---|
|
||||
| P00 | Unit discovery isolation and execution controls | Passed | 16 Python runner units; 2 C# guard units, zero failures/skips; phase run `20261116T020652.895154Z-0d06c2c1ac5f` |
|
||||
| P01 | Domain/protobuf contracts | In progress | Domain-contract worker next; codec follows frozen types |
|
||||
| P02 | Schema/artifact/consumer projection | Pending | |
|
||||
| P03 | Shared authorization and leases | Pending | |
|
||||
| P04 | Immutable publication, hub and local ports | Pending | |
|
||||
| P05 | Mutation tickets/outcomes | Pending | |
|
||||
| P06 | Streams/sharing/fair delivery | Pending | |
|
||||
| P07 | TLS/provisioning/node+cluster clients | Pending | |
|
||||
| P08 | Raw/UNS projection and adapter | Pending | |
|
||||
| P09 | Authoring/diagnostics/docs | Pending | |
|
||||
| P10 | Local Docker/CLI/probe integration | Pending | |
|
||||
| P11 | Scaling/recovery measurements | Pending | |
|
||||
| P12 | Full suite and final Astra review | Pending | |
|
||||
|
||||
## Requirement-to-verification ledger
|
||||
|
||||
| Design requirement / review finding | Implementation phases | Required evidence |
|
||||
|---|---|---|
|
||||
| H1 write replay/incarnation and per-item failover | P01/P05/P07 | Registry/outcome units; deterministic D08 effect ledger |
|
||||
| H2 dispatch gate, rich outcomes and late observation | P05 | Queue/demotion/revocation/late-driver units; D04/D08 |
|
||||
| H3 coherent served catalog without revocation rollback | P02/P03/P04 | Empty/failed apply activation units; D06 |
|
||||
| H4 mapped scopes ahead of legacy ACL bypass | P03/P08 | Raw and UNS mapped policy/cache/SDK tests; D06 |
|
||||
| H5 bounded metadata authority freshness | P03/P07/P08 | Request-start lease tests and quiet-mount D06 |
|
||||
| H6 explicit consumer-node execution scope | P02/P07/P08 | Artifact/manager scope units and D02/D10/D12 |
|
||||
| H7 pinned-cache and authorization isolation | P04/P06/P07 | Sharing/provenance units; target-mode matrix |
|
||||
| H8 immutable producer ownership | P01/P04 | Reused arrays/bytes, snapshot/pool lifetime tests |
|
||||
| H9 safe filter superset and writer baseline | P06 | Aggregate settings/baseline/commit tests |
|
||||
| M1 snapshot/command ordering | P04/P06 | Watermark/epoch/removal-barrier units and probe |
|
||||
| M2 original timestamp fidelity | P01/P04 | Codec/source-feed timestamp tests |
|
||||
| M3 bounded per-parent browse readiness | P08/P10 | SDK BrowseNext and CLI projection tests |
|
||||
| M4 bounded ingress/source dirty fairness | P04/P06/P11 | Overflow readiness, nonstarvation and workload evidence |
|
||||
| Plan H1 concrete local/mount-free service | P04/P10 | LocalDataConnection tests and D01a caller-node probe |
|
||||
| Plan H2 discovery isolation | P00 | Real counting C# probe/reaper test and sanitized runner units |
|
||||
| Plan H3 run-owned local fixtures | P10/P12 | Fake-process ownership units and local context/manifest |
|
||||
| Plan H4 local secret/trust lifecycle | P07/P10 | Provision/rotation/retirement units and D14 |
|
||||
| Plan M1 topology/realm/operation coverage | P10 | Full scenario matrix, real caller DI and CLI/probe evidence |
|
||||
| Plan M2 compile/EF prerequisites | P00/P02 | Focused baseline build/discovery; local-only migration |
|
||||
|
||||
Runtime artifacts belong under ignored `artifacts/grpc-data/`; this tracked ledger indexes redacted outcomes only. It must never contain private keys, bearer values, credential-bearing manifests or a claim that pending phases passed.
|
||||
|
||||
## P00 verification
|
||||
|
||||
The runner tests first failed as expected while `run-unit-phase.py` was absent. After implementation, 16 fake-subprocess Python units passed. The real P00 discovery/execution runner passed both counting-probe/reaper C# tests with no skips; the starting production graph compiled successfully. No solution test run or Docker mutation occurred. Raw TRX/commands/discovery identities remain in ignored artifacts. The runner validates discovery AND executed results for every required new class, retains parameterized class filters, and sanitizes both child environments.
|
||||
Reference in New Issue
Block a user