Repository navigation
test(backend): qualify the quiet finalization speech clock (PL-158) - #26563
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 checkpassed with private Firestore and Postgres instances, including the adapter race suite.Repository preflight passed all 36 selected checks.
Failure-Class: FC-split-mutation-authority
🤖 Generated with Claude Code