Skip to content

test(backend): qualify the quiet finalization speech clock (PL-158) - #26563

Merged
Git-on-my-level merged 2 commits into
mainfrom
lane/parity-pl-158
Nov 28, 2026
Merged

Git-on-my-level merged 2 commits into
mainfrom
lane/parity-pl-158

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 28, 2026 •

Copy link
Copy Markdown
Member

What changed and why

Port PL-158 from the backend parity ledger into the Python and Go Firestore emulator suites. Quiet discovery and transactional admission use the same persisted speech clock. This covers a lifecycle-v2 row without finished_at, a later legacy heartbeat, and a new speech write committed after discovery.

Both adapters must bind a durable finalization intent at the exact speech deadline when the recording lease expires. After newer speech commits, admission against the old cutoff leaves the conversation version unchanged and creates no intent, including when the newer quiet deadline is already due. The Go proof then admits the same row with only the cutoff advanced to the new speech time. The Python leg runs in the existing Backend Emulator Proofs entry point. The Go leg runs with the normal adapter tests.

Source #23857. Rollback is a revert of this test commit.

Product invariants affected

none

How it was verified

  • Python: all three cases passed twice consecutively on the same private loopback Firestore emulator.

  • Go: make check passed with private Firestore and Postgres instances, including the adapter race suite.

  • Repository preflight passed all 36 selected checks.

Failure-Class: FC-split-mutation-authority

View guided diff Turn on auto-fix

🤖 Generated with Claude Code

@Git-on-my-level
Git-on-my-level merged commit cda736d into main Nov 28, 2026
73 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/parity-pl-158 branch November 28, 2026 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant