feat(runs): add step title column, step descriptions, and snippet logging
This commit is contained in:
@@ -286,6 +286,8 @@ export class ScenarioSchedulerService {
|
||||
);
|
||||
const vr = this.parseValidateResult(result);
|
||||
if (!vr.success) throw new Error(vr.description ?? "Validation failed");
|
||||
await this.passStepRun(stepRun, vr.description ?? null);
|
||||
return;
|
||||
}
|
||||
|
||||
await this.passStepRun(stepRun, null);
|
||||
@@ -334,6 +336,8 @@ export class ScenarioSchedulerService {
|
||||
);
|
||||
const vr = this.parseValidateResult(result);
|
||||
if (!vr.success) throw new Error(vr.description ?? "Validation failed");
|
||||
await this.passStepRun(stepRun, vr.description ?? null, execOutput);
|
||||
return;
|
||||
}
|
||||
|
||||
await this.passStepRun(stepRun, null, execOutput);
|
||||
@@ -375,6 +379,8 @@ export class ScenarioSchedulerService {
|
||||
);
|
||||
const vr = this.parseValidateResult(result);
|
||||
if (!vr.success) throw new Error(vr.description ?? "Validation failed");
|
||||
await this.passStepRun(stepRun, vr.description ?? null);
|
||||
return;
|
||||
}
|
||||
|
||||
await this.passStepRun(stepRun, null);
|
||||
|
||||
Reference in New Issue
Block a user