Prepares the step for being re-evaluated.
pub fn reset(step: *Step, maker: *Maker) void
pub fn reset(step: *Step, maker: *Maker) void {
assert(step.state == .precheck_done);
const gpa = maker.gpa;
clearFailedCommand(step, gpa);
clearResultStderr(step, gpa);
step.result_error_msgs.clearRetainingCapacity();
step.result_cached = false;
step.result_duration_ns = null;
step.result_peak_rss = 0;
step.test_results = .{};
clearWatchInputs(step, maker);
clearErrorBundle(step, gpa);
}