fix: avoid stale progress blocking app server completion
This commit is contained in:
@@ -3624,9 +3624,6 @@ export async function executeCodexAppServerTask(runnerConfig, task) {
|
||||
const activeTurnId = trimToDefined(turnResult?.turn?.id) || effectiveTurnRef;
|
||||
startActiveTurnInterruptPolling({ threadId, turnId: activeTurnId });
|
||||
await turnCompleted;
|
||||
if (progressEmits.length > 0) {
|
||||
await Promise.allSettled(progressEmits);
|
||||
}
|
||||
|
||||
const normalizedReply = (replyBody || completedMessageText).trim();
|
||||
if (interruptRequested) {
|
||||
|
||||
Reference in New Issue
Block a user