fix(session-net): qualify persistent mTLS reuse on current main - #716
Conversation
Roll prewarmed lanes through fresh authenticated setup, serialize pool-wide reconnect recovery, bind revision-5 responses to unpredictable composite correlations, and preserve the exact below-TLS mutation write boundary. Retain bounded production mTLS/SPIFFE/ALPN/Hello authority and add focused current-main RED/GREEN evidence for issue #695.
|
Independent exact-head review record for
Provenance review found five direct signed additive commits, no merge commits, exact merge-base The reviews independently checked rolling fresh prewarm; one-wide reconnect admission and stale-epoch cooldown suppression; same-authority cooldown retention; resolver/TCP/TLS/Hello setup cancellation ordering; mTLS, exact ALPN/Hello revision, SPIFFE identity and scope revalidation; unpredictable sequence+UUID correlations; late/duplicate/unknown/wrong-family response rejection; exact below-TLS positive-write accounting; no replay after Independent focused results included: library 279/279, protocol 26/26, boundaries 7/7, transport 30/30, qualification profile 19/19, formatting/diff check, warning-denied all-feature/all-target Clippy, docs, feature surfaces, and cargo-deny. Compatibility caveat: revision 5 intentionally has no mixed-revision downgrade and requires a coordinated drained cutover. This review does not claim the outstanding real networked three-voter production-mTLS latency/failure/rotation qualification. The tracked v8 object remains |
|
Independent exact server-merge review: SHIP; P0/P1/P2 = 0/0/0. Reviewed immutable composition:
The reviewer verified whole-delta stable patch IDs in both directions: #716 base-to-source equals updated-main-to-merge, and #714 base-to-main equals #716-source-to-merge. That includes both overlapping files. The merge tree contains no conflict markers, and every #716 production/concurrency file is byte-identical to the previously reviewed source object. Focused checks on the exact merged tree:
No composition correction is required. No latency, cluster, or ePDG workload was run. |
|
Normal merge complete:
The redaction-safe landed evidence, exact 16-file list, fixed bounds, raw synthetic distribution, and unresolved real production qualification are recorded on #695. #695 remains open because no real networked three-voter production-mTLS latency/failure/rotation gate was run; the v8 schema remains explicitly |
Refs #695.
Current-main successor
This is the clean successor requested for the stale #695 work. It starts at the exact current SDK main and contains no stale qualification-branch, #704, or #715 ancestry:
f2ed1181c85540cc01ea0b4611fa3620891375fd945ceab3870d2c1d2d1396aff29e819288fce76a5f69c9bd1383a0b1efbb2c453fd5e2df50183bc6404390bf1b67e3971302fba59fb6e9c612381206origin/main:0/5Current main was not a supersession: #710 fixed authenticated server idle-lane reuse and #711 added receipt reconciliation, but neither supplies the remaining persistent-consumer freshness, reconnect serialization, correlation, effect-boundary, or cancellation properties below.
Generic SDK correction
The bounded delta preserves tenant-scoped mTLS, live peer SPIFFE identity, the exact consumer ALPN/Hello/scope authority, fixed request/watch capacity, fair admission, and mutation no-replay behavior. It adds only generic transport behavior:
NonZeroU32plus fresh UUID nonce), exact full-response matching, and fail-closed future/duplicate/unknown response handling;NotTransmitted; any positive lower write is ambiguous and is never automatically replayed;No ePDG policy is introduced. No cluster, ePDG repository, or latency-bearing workload was touched.
Preserved RED / GREEN evidence
Eight focused regressions preserve the causal RED observations and are tracked in
docs/qualification-695-persistent-consumer.md:2, required4;12, required1;Rejected(Unavailable), requiredOutcomeUnknown;1, required2without advancing paused time;MayHaveWritten, requiredNotTransmitted;Superseded;Drop, required admission only after I/O destruction.The exact corrected head is GREEN on:
The v8 schema SHA-256 is
5e3becf5094f3e222b94799e0fb7b6b77c3398aeabae743fc65b409c4cd4adfd; its exact-head test binds compiled revision 5. The schema requiresexperimental=trueandqualification_complete=false.Independent exact-head review
Three independent reviewers inspected the immutable head/tree and returned SHIP:
0/0/0;0/0/0; and0/0/0.They independently verified ancestry, all five signatures, reconnect permit/cooldown ordering, mTLS/SPIFFE/scope authority, write ambiguity, correlation isolation, bounds/fairness, cancellation/shutdown, redaction, and the focused test counts.
Qualification status and downstream ordering
This PR is the required generic correction and tracked non-latency evidence, not false closure evidence for #695. No real networked three-voter production-mTLS latency run was performed in this successor. The historical bounded distribution in the evidence document is explicitly synthetic and non-gating. Issue #695 must remain open until the real three-voter production-mTLS topology proves its full connection/bound/failure/rotation contract and warm p99/p99.9 SLO with bounded raw samples.
This head intentionally binds consumer transport revision 5 to the existing
/1ALPN with no downgrade fallback. Later #704/#715 and #707 work must start from the normal merge of this PR and reconcile their additive ALPN/protocol families incrates/opc-session-net/src/consumer.rs; they must not replay stale bulk history.