fix step duplication

This commit is contained in:
Francesco Renzi
2026-01-22 11:42:34 +00:00
committed by GitHub
parent 514d122c9d
commit 7156f0a195
3 changed files with 198 additions and 1 deletions

View File

@@ -1770,8 +1770,8 @@ namespace GitHub.Runner.Worker.Dap
}
// Reset the step manipulator to match the restored state
// It will be re-initialized when the restored step starts
_stepManipulator?.ClearChanges();
_stepManipulator?.TrimCompletedSteps(checkpointIndex);
// Store restored checkpoint for StepsRunner to consume
_restoredCheckpoint = checkpoint;