fix: avoid blocking projection resume on running AgentRun result

This commit is contained in:
lyon
2026-06-22 01:06:31 +08:00
parent 286322ba22
commit f930b21bb6
+1 -1
View File
@@ -1510,7 +1510,7 @@ async function resumeAgentRunProjectionCandidate({ candidate, options = {}, trac
currentResult,
options: resumeOptions,
traceStore,
forceResultSync: true,
forceResultSync: false,
refreshEvents: true
});
const payload = codeAgentPayloadWithObservedTerminalStatus(synced?.result ?? currentResult, synced?.runnerTrace ?? traceStore?.snapshot?.(candidate.traceId)) ?? (synced?.result ?? currentResult);