Skip to content

Commit 36c6a3f

Browse files
committed
fix(run-engine): log snapshot ids instead of full objects on the unblock path
1 parent 9cffdce commit 36c6a3f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

internal-packages/run-engine/src/engine/systems/waitpointSystem.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -905,12 +905,15 @@ export class WaitpointSystem {
905905
completedWaitpoints: completedWaitpointArgs,
906906
});
907907

908+
// Log IDs only — full snapshots include completedWaitpoint outputs, and this
909+
// runs at debug level in prod where cloning them would burn event-loop time.
908910
this.$.logger.debug(
909911
`continueRunIfUnblocked: run was still executing, sending notification`,
910912
{
911913
runId,
912-
snapshot,
913-
newSnapshot,
914+
previousSnapshotId: snapshot.id,
915+
newSnapshotId: newSnapshot.id,
916+
completedWaitpointCount: blockingWaitpoints.length,
914917
}
915918
);
916919

0 commit comments

Comments
 (0)