Skip to content

Commit 7a53dc2

Browse files
committed
fix(server): a failed delegate release no longer holds up the child's effects
The release runs as an outbox effect on the child thread, and a pending effect blocks later effects on that thread, so a failed release made a follow-up wait for the retry of an optional cleanup. The retry can't help either: the live entry is already gone and retryReleaseRecords owns the record. Log and swallow the failure, like the other release paths.
1 parent e6a670b commit 7a53dc2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/orchestration-v2/ProviderSessionManager.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2411,7 +2411,7 @@ export const layerWithOptions = (
24112411
reason: "idle_timeout",
24122412
detail: input.detail ?? "Delegated task finished.",
24132413
onlyIfIdleGeneration: generations.get(entry)!,
2414-
});
2414+
}).pipe(logReleaseFailure(entry.runtime.providerSessionId));
24152415
}
24162416
},
24172417
),

0 commit comments

Comments
 (0)