Regenerate event bundles after conversation chain integration

This commit is contained in:
2026-11-07 12:30:42 +00:00
parent f419231ac4
commit 62feb38d44
+2 -2
View File
@@ -53141,8 +53141,8 @@ function conversationChains(harness2, context) {
let result = cache.get(id);
if (!result) {
result = (async () => {
const record = await harness2.commit((tx) => tx.conversation(id), context);
const up = record?.owner?.conversationId ?? record?.parent?.conversationId ?? (await harness2.snapshot(Started, id, context))?.by;
const record2 = await harness2.commit((tx) => tx.conversation(id), context);
const up = record2?.owner?.conversationId ?? record2?.parent?.conversationId ?? (await harness2.snapshot(Started, id, context))?.by;
return [String(id), ...up === void 0 ? [] : await chain2(up)];
})();
cache.set(id, result);