diff --git a/client/src/pages/run/RunDetailPage.tsx b/client/src/pages/run/RunDetailPage.tsx index 2a52cb9..487b50e 100644 --- a/client/src/pages/run/RunDetailPage.tsx +++ b/client/src/pages/run/RunDetailPage.tsx @@ -115,10 +115,10 @@ export function RunDetailPage() { const stepColumns: TableColumn[] = [ { key: 'order', header: t('runs.step_order'), render: (s) => s.order, width: 50 }, { - key: 'type', - header: t('runs.step_type'), - width: 80, - render: (s) => {s.scenarioStep?.type ?? '–'}, + key: 'title', + header: t('runs.step_title'), + width: 220, + render: (s) => s.scenarioStep?.title ?? , }, { key: 'status', diff --git a/server/src/scenario/scenario-scheduler.service.ts b/server/src/scenario/scenario-scheduler.service.ts index 15a7425..d8aaa36 100644 --- a/server/src/scenario/scenario-scheduler.service.ts +++ b/server/src/scenario/scenario-scheduler.service.ts @@ -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);