@@ -443,9 +443,7 @@ export class RunExecution {
443443 logger : this . logger ,
444444 snapshotPollIntervalSeconds : this . env . TRIGGER_SNAPSHOT_POLL_INTERVAL_SECONDS ,
445445 handleSnapshotChange : this . enqueueSnapshotChangeAndWait . bind ( this ) ,
446- } ) ;
447-
448- this . snapshotPoller . start ( ) ;
446+ } ) . start ( ) ;
449447
450448 const [ startError , start ] = await tryCatch (
451449 this . startAttempt ( { isWarmStart : runOpts . isWarmStart } )
@@ -500,7 +498,7 @@ export class RunExecution {
500498 }
501499
502500 if ( executeError instanceof SuspendedProcessError ) {
503- this . sendDebugLog ( "run was suspended" , {
501+ this . sendDebugLog ( "execution was suspended" , {
504502 run : run . friendlyId ,
505503 snapshot : snapshot . friendlyId ,
506504 error : executeError . message ,
@@ -510,7 +508,7 @@ export class RunExecution {
510508 }
511509
512510 if ( executeError instanceof ExecutionAbortError ) {
513- this . sendDebugLog ( "run was interrupted " , {
511+ this . sendDebugLog ( "execution was aborted " , {
514512 run : run . friendlyId ,
515513 snapshot : snapshot . friendlyId ,
516514 error : executeError . message ,
@@ -981,7 +979,7 @@ export class RunExecution {
981979 this . shutdownReason = reason ;
982980
983981 this . snapshotPoller ?. stop ( ) ;
984- this . snapshotManager ?. cleanup ( ) ;
982+ this . snapshotManager ?. dispose ( ) ;
985983
986984 this . taskRunProcess ?. unsafeDetachEvtHandlers ( ) ;
987985 }
0 commit comments