wire-distinct-key-pin: the distinct-key production shape on the wire #71

Merged
xavier merged 1 commit from feat/wire-distinct-key-pin into dev 2026-11-20 19:53:33 +01:00
Owner

The two wire pins ft6eyx's diagnosis named as the suite gap (the
two-client tests raced one key only), in a sibling of
two_client_test.go over the production server composition:

  • the deterministic interleave pin: client A opens and stages its
    transaction, client B lands a FULL distinct-key commit round-trip
    server-side, then A commits — the explicit open → competitor-commit
    → commit sequence, never a timing race; both write-sets read back
    whole through both handles, no vanish, no rejection, and audit rows
    for every fact either ok commit landed.

  • the production wave pin: five fresh items, five concurrent
    distinct-key commits in the item-set-done-plus-evidence shape (item
    write and receipt landing as one write-set from five independent
    client handles), every commit answering ok, ALL FIVE read back done
    with their own receipt (a subset assertion is worthless — the
    production failure was 1/5 surviving), and an audit row for every
    ok commit's facts — ok must mean committed-and-visible.

Teeth demonstrated: against the pre-fix engine (2bee41b) the wave
fails with the production signature — a subset surviving with ok to
every caller — and passes over the fixed engine. Same-fact
arbitration stays with the existing same-key tests; the engine-level
race shape is pinned by the conformance suite's both-land family
(fresh-commit-basis).

Co-Authored-By: Xavier's assistant assistant@gijoe88.com

The two wire pins ft6eyx's diagnosis named as the suite gap (the two-client tests raced one key only), in a sibling of two_client_test.go over the production server composition: - the deterministic interleave pin: client A opens and stages its transaction, client B lands a FULL distinct-key commit round-trip server-side, then A commits — the explicit open → competitor-commit → commit sequence, never a timing race; both write-sets read back whole through both handles, no vanish, no rejection, and audit rows for every fact either ok commit landed. - the production wave pin: five fresh items, five concurrent distinct-key commits in the item-set-done-plus-evidence shape (item write and receipt landing as one write-set from five independent client handles), every commit answering ok, ALL FIVE read back done with their own receipt (a subset assertion is worthless — the production failure was 1/5 surviving), and an audit row for every ok commit's facts — ok must mean committed-and-visible. Teeth demonstrated: against the pre-fix engine (2bee41b) the wave fails with the production signature — a subset surviving with ok to every caller — and passes over the fixed engine. Same-fact arbitration stays with the existing same-key tests; the engine-level race shape is pinned by the conformance suite's both-land family (fresh-commit-basis). Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
wire-distinct-key-pin: the distinct-key production shape on the wire
All checks were successful
/ secrets-scan (gitleaks 8.28.0, all refs, redacted) (pull_request) Successful in 7s
/ test (linux/amd64, full suite) (pull_request) Successful in 1m37s
/ alias (re-point latest, main pushes only) (pull_request) Has been skipped
/ build darwin/arm64 (pull_request) Successful in 46s
/ build windows/amd64 (pull_request) Successful in 46s
/ build linux/amd64 (pull_request) Successful in 53s
/ build darwin/amd64 (pull_request) Successful in 54s
/ build linux/arm64 (pull_request) Successful in 43s
/ build windows/arm64 (pull_request) Successful in 54s
/ release (six binaries + checksums.txt, tag pushes only) (pull_request) Has been skipped
/ image (the release container, tag pushes only) (pull_request) Has been skipped
8d0a50c2f8
The two wire pins ft6eyx's diagnosis named as the suite gap (the
two-client tests raced one key only), in a sibling of
two_client_test.go over the production server composition:

- the deterministic interleave pin: client A opens and stages its
  transaction, client B lands a FULL distinct-key commit round-trip
  server-side, then A commits — the explicit open → competitor-commit
  → commit sequence, never a timing race; both write-sets read back
  whole through both handles, no vanish, no rejection, and audit rows
  for every fact either ok commit landed.

- the production wave pin: five fresh items, five concurrent
  distinct-key commits in the item-set-done-plus-evidence shape (item
  write and receipt landing as one write-set from five independent
  client handles), every commit answering ok, ALL FIVE read back done
  with their own receipt (a subset assertion is worthless — the
  production failure was 1/5 surviving), and an audit row for every
  ok commit's facts — ok must mean committed-and-visible.

Teeth demonstrated: against the pre-fix engine (2bee41b) the wave
fails with the production signature — a subset surviving with ok to
every caller — and passes over the fixed engine. Same-fact
arbitration stays with the existing same-key tests; the engine-level
race shape is pinned by the conformance suite's both-land family
(fresh-commit-basis).

Co-Authored-By: Xavier's assistant <assistant@gijoe88.com>
xavier deleted branch feat/wire-distinct-key-pin 2026-11-20 19:53:33 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
assistant/skuld!71
No description provided.