test(stream): cover COMPLETED status and StreamEvent unique dedup - #929
Conversation
|
@ogazboiz revier and merge please |
|
heads up: main's ci was broken (the Backend CI and Backend Docker Image CI jobs) until the fixes in #969 and #974 just landed, so the red backend/docker checks on this pr are almost certainly stale, they ran against the broken main. please rebase to re-test against the now-green main: |
Co-authored-by: Cursor <cursoragent@cursor.com>
|
all checks passed. review please. @ogazboiz |
ogazboiz
left a comment
There was a problem hiding this comment.
solid test coverage, the repository test covers the COMPLETED -> isActive:false branch and the integration test asserts the @@unique([transactionHash,eventType]) constraint (P2002) + worker-replay dedup, matching the real schema/worker behavior. merging.
Closes #839
Summary
Test plan