fix(ralph-loop): ignore synthetic idle replays

This commit is contained in:
YeonGyu-Kim
2026-05-12 15:28:46 +09:00
parent 07797e1975
commit 9ffef79dbb
6 changed files with 104 additions and 4 deletions
@@ -25,6 +25,7 @@ describe("normalizeSessionStatusToIdle", () => {
type: "session.idle",
properties: {
sessionID: "ses_abc123",
synthetic: true,
},
},
})
+1 -1
View File
@@ -18,7 +18,7 @@ export function normalizeSessionStatusToIdle(input: EventInput): EventInput | nu
return {
event: {
type: "session.idle",
properties: { sessionID },
properties: { sessionID, synthetic: true },
},
}
}