We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33da3b4 commit 598291dCopy full SHA for 598291d
1 file changed
src/agents/pi-embedded-runner/run/attempt.ts
@@ -789,6 +789,9 @@ function resolveEmbeddedAttemptSessionWriteLockOptions(params: {
789
compactionTimeoutMs: number;
790
env?: NodeJS.ProcessEnv;
791
}): { timeoutMs: number; staleMs: number; maxHoldMs: number } {
792
+ // Bound embedded-attempt lock holds to the compaction window, not the full run timeout.
793
+ // With defaults this permits roughly 900s compaction time plus the shared 120s
794
+ // timeout grace before the watchdog releases a stuck live-process lock.
795
return resolveSessionWriteLockOptions(params.config, {
796
env: params.env,
797
maxHoldMsFallback: resolveSessionLockMaxHoldFromTimeout({
0 commit comments