@@ -555,7 +555,7 @@ export class WaitpointSystem {
555555 if ( blockingWaitpoints . some ( ( w ) => w . waitpoint . status !== "COMPLETED" ) ) {
556556 this . $ . logger . debug ( `continueRunIfUnblocked: blocking waitpoints still exist` , {
557557 runId,
558- blockingWaitpoints,
558+ blockingWaitpointCount : blockingWaitpoints . length ,
559559 } ) ;
560560
561561 return {
@@ -599,7 +599,7 @@ export class WaitpointSystem {
599599 case "RUN_CREATED" : {
600600 this . $ . logger . info ( `continueRunIfUnblocked: run is run created, skipping` , {
601601 runId,
602- snapshot,
602+ snapshotId : snapshot . id ,
603603 executionStatus : snapshot . executionStatus ,
604604 } ) ;
605605
@@ -611,7 +611,7 @@ export class WaitpointSystem {
611611 case "DELAYED" : {
612612 this . $ . logger . debug ( `continueRunIfUnblocked: run is delayed, skipping` , {
613613 runId,
614- snapshot,
614+ snapshotId : snapshot . id ,
615615 executionStatus : snapshot . executionStatus ,
616616 } ) ;
617617
@@ -623,7 +623,7 @@ export class WaitpointSystem {
623623 case "QUEUED" : {
624624 this . $ . logger . info ( `continueRunIfUnblocked: run is queued, skipping` , {
625625 runId,
626- snapshot,
626+ snapshotId : snapshot . id ,
627627 executionStatus : snapshot . executionStatus ,
628628 } ) ;
629629
@@ -635,7 +635,7 @@ export class WaitpointSystem {
635635 case "PENDING_EXECUTING" : {
636636 this . $ . logger . info ( `continueRunIfUnblocked: run is pending executing, skipping` , {
637637 runId,
638- snapshot,
638+ snapshotId : snapshot . id ,
639639 executionStatus : snapshot . executionStatus ,
640640 } ) ;
641641
@@ -647,7 +647,7 @@ export class WaitpointSystem {
647647 case "QUEUED_EXECUTING" : {
648648 this . $ . logger . info ( `continueRunIfUnblocked: run is already queued executing, skipping` , {
649649 runId,
650- snapshot,
650+ snapshotId : snapshot . id ,
651651 executionStatus : snapshot . executionStatus ,
652652 } ) ;
653653
@@ -659,7 +659,7 @@ export class WaitpointSystem {
659659 case "EXECUTING" : {
660660 this . $ . logger . info ( `continueRunIfUnblocked: run is already executing, skipping` , {
661661 runId,
662- snapshot,
662+ snapshotId : snapshot . id ,
663663 executionStatus : snapshot . executionStatus ,
664664 } ) ;
665665
@@ -672,7 +672,7 @@ export class WaitpointSystem {
672672 case "FINISHED" : {
673673 this . $ . logger . debug ( `continueRunIfUnblocked: run is finished, skipping` , {
674674 runId,
675- snapshot,
675+ snapshotId : snapshot . id ,
676676 executionStatus : snapshot . executionStatus ,
677677 } ) ;
678678 return {
@@ -710,8 +710,10 @@ export class WaitpointSystem {
710710 `continueRunIfUnblocked: run was still executing, sending notification` ,
711711 {
712712 runId,
713- snapshot,
714- newSnapshot,
713+ snapshotId : snapshot . id ,
714+ snapshotExecutionStatus : snapshot . executionStatus ,
715+ newSnapshotId : newSnapshot . id ,
716+ newSnapshotExecutionStatus : newSnapshot . executionStatus ,
715717 }
716718 ) ;
717719
@@ -731,7 +733,12 @@ export class WaitpointSystem {
731733 if ( snapshot . runStatus === "CANCELED" ) {
732734 this . $ . logger . warn (
733735 `continueRunIfUnblocked: run was canceled while suspended, skipping` ,
734- { runId, snapshot }
736+ {
737+ runId,
738+ snapshotId : snapshot . id ,
739+ executionStatus : snapshot . executionStatus ,
740+ runStatus : snapshot . runStatus ,
741+ }
735742 ) ;
736743 return {
737744 status : "skipped" ,
@@ -741,7 +748,9 @@ export class WaitpointSystem {
741748
742749 this . $ . logger . error ( `continueRunIfUnblocked: run is suspended, but has no checkpoint` , {
743750 runId,
744- snapshot,
751+ snapshotId : snapshot . id ,
752+ executionStatus : snapshot . executionStatus ,
753+ runStatus : snapshot . runStatus ,
745754 } ) ;
746755 throw new Error (
747756 `continueRunIfUnblocked: run is suspended, but has no checkpoint: ${ runId } `
@@ -767,8 +776,10 @@ export class WaitpointSystem {
767776
768777 this . $ . logger . debug ( `continueRunIfUnblocked: run goes to QUEUED` , {
769778 runId,
770- snapshot,
771- newSnapshot,
779+ snapshotId : snapshot . id ,
780+ snapshotExecutionStatus : snapshot . executionStatus ,
781+ newSnapshotId : newSnapshot . id ,
782+ newSnapshotExecutionStatus : newSnapshot . executionStatus ,
772783 } ) ;
773784
774785 break ;
@@ -787,7 +798,7 @@ export class WaitpointSystem {
787798
788799 this . $ . logger . debug ( `continueRunIfUnblocked: removed blocking waitpoints` , {
789800 runId,
790- blockingWaitpoints,
801+ blockingWaitpointCount : blockingWaitpoints . length ,
791802 } ) ;
792803 }
793804
0 commit comments