Merge branch 'codex/work-folders-staging-hardening-refresh' into codex/work-folders-remote-recovery-refresh
* codex/work-folders-staging-hardening-refresh: fix: preserve validated conversation reset during admission recheck Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
commit
4ce7150424
|
|
@ -26299,9 +26299,11 @@ export function heartbeatService(
|
|||
return { kind: "deferred" as const };
|
||||
};
|
||||
const explicitContinuationRunId = randomUUID();
|
||||
const executionBlockerOptions = {
|
||||
conversationResetCommentId: opts.requestedByActorType === "user" ? wakeCommentId : null,
|
||||
};
|
||||
const executionBlocker = await getExecutionBlocker(
|
||||
tx as unknown as Db, issue.companyId, issue.id,
|
||||
{ conversationResetCommentId: opts.requestedByActorType === "user" ? wakeCommentId : null },
|
||||
tx as unknown as Db, issue.companyId, issue.id, executionBlockerOptions,
|
||||
);
|
||||
// Prove eligibility without retiring the hold. Later gates can still
|
||||
// decline this wake; hold retirement and successor creation stay atomic.
|
||||
|
|
@ -27081,7 +27083,7 @@ export function heartbeatService(
|
|||
// Recovery can change while earlier admission gates await I/O. Use
|
||||
// the current blocker, not the snapshot from the start of admission.
|
||||
const remainingExecutionBlocker = await getExecutionBlocker(
|
||||
tx as unknown as Db, issue.companyId, issue.id,
|
||||
tx as unknown as Db, issue.companyId, issue.id, executionBlockerOptions,
|
||||
);
|
||||
// A decision can reject a saved message after cleanup has removed
|
||||
// every recovery blocker; null can also mean no applicable hold to retire.
|
||||
|
|
|
|||
Loading…
Reference in New Issue