Match receiver exclusive reconciliation end boundary
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

Assistant: codex
Assistant-Model: gpt-6-astra
Assistant-Session: 01a13eab-1e6a-7b33-9c37-372e90ada3a2
This commit is contained in:
codex 2026-10-15 21:32:08 +02:00
parent 19b13f6f36
commit ce5344da69
2 changed files with 7 additions and 1 deletions

View file

@ -102,7 +102,7 @@ def sanitize_record(record, source, tenant, instance, event_id, since, until):
)
accepted = record["accepted_at"]
require(
stamp(since) <= stamp(accepted) <= stamp(until),
stamp(since) <= stamp(accepted) < stamp(until),
"record_outside_acceptance_window",
)
action = record["action"]

View file

@ -66,6 +66,12 @@ class ReadbackBounds(unittest.TestCase):
with self.assertRaisesRegex(lane.LaneError, "acceptance_window"):
self.sanitize(record)
def test_exact_until_is_excluded_like_receiver_sql(self):
record = self.record()
record["accepted_at"] = UNTIL
with self.assertRaisesRegex(lane.LaneError, "acceptance_window"):
self.sanitize(record)
def test_paths_are_bounded_to_exact_approved_coordinates(self):
result = lane.paths(
"qonto-assistant",