fix(sync): preserve part update ordering (#1167)

* fix(sync): preserve part update ordering

* test(sync): wait for pipeline delivery

---------

Co-authored-by: Isaac Sanchez <isanchez-hawkins@arize.com>
This commit is contained in:
Isaac Sanchez-Hawkins
2026-05-08 23:14:07 +03:00
committed by GitHub
co-authored by Isaac Sanchez
parent afe86a84b3
commit 9715b6c23c
2 changed files with 99 additions and 4 deletions
-4
View File
@@ -211,10 +211,6 @@ export function createEventPipeline(input: EventPipelineInput) {
if (payload.type === "lsp.updated") {
return "lsp.updated"
}
if (payload.type === "message.part.updated") {
const part = (payload.properties as { part: { messageID: string; id: string } }).part
return `message.part.updated:${part.messageID}:${part.id}`
}
if (payload.type === "message.part.delta") {
const props = payload.properties as { messageID: string; partID: string; field: string }
return `message.part.delta:${props.messageID}:${props.partID}:${props.field}`