File tree Expand file tree Collapse file tree
src/agents/embedded-agent-runner Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1853,6 +1853,7 @@ async function runEmbeddedAgentInternal(
18531853 } else {
18541854 parentAbortSignal ?. addEventListener ( "abort" , relayParentAbort , { once : true } ) ;
18551855 }
1856+ const laneHeartbeat = setInterval ( noteLaneTaskProgress , 30_000 ) ;
18561857 const rawAttempt = await runEmbeddedAttemptWithBackend ( {
18571858 sessionId : activeSessionId ,
18581859 sessionKey : resolvedSessionKey ,
@@ -2011,6 +2012,7 @@ async function runEmbeddedAgentInternal(
20112012 throw postCompactionAbortError ?? err ;
20122013 } )
20132014 . finally ( ( ) => {
2015+ clearInterval ( laneHeartbeat ) ;
20142016 parentAbortSignal ?. removeEventListener ?.( "abort" , relayParentAbort ) ;
20152017 if ( postCompactionAbortController === attemptAbortController ) {
20162018 postCompactionAbortController = undefined ;
You can’t perform that action at this time.
0 commit comments