fix(delegate-task): prevent stale-text abort recovery

This commit is contained in:
YeonGyu-Kim
2026-05-11 09:20:14 +09:00
parent 8e47d3a166
commit 8b1696f5e5
4 changed files with 89 additions and 3 deletions
+3 -1
View File
@@ -240,7 +240,9 @@ export async function executeSyncTask(
}, syncPollTimeoutMs)
if (pollError) {
if (shouldAttemptPollErrorRecovery(pollError)) {
const recoveredResult = await deps.fetchSyncResult(client, activeSessionID)
const recoveredResult = await deps.fetchSyncResult(client, activeSessionID, undefined, {
strictAbortRecovery: true,
})
if (recoveredResult.ok) {
const duration = formatDuration(startTime)