Fix: pipeline parser log not display (#14251)

### What problem does this PR solve?

Fix: pipeline parser log not display

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2026-04-21 15:24:13 +08:00
committed by GitHub
parent 6e33d8722f
commit 05c39b90a8
4 changed files with 31 additions and 11 deletions

View File

@@ -16,6 +16,15 @@ export enum RunningStatus {
SCHEDULE = 'SCHEDULE',
}
export enum RunningStatusOld {
UNSTART = '0', // need to run
RUNNING = '1', // need to cancel
CANCEL = '2', // need to refresh
DONE = '3', // need to refresh
FAIL = '4', // need to refresh
SCHEDULE = '5',
}
export const RunningStatusMap = {
[RunningStatus.UNSTART]: 'Pending',
[RunningStatus.RUNNING]: 'Running',
@@ -23,6 +32,13 @@ export const RunningStatusMap = {
[RunningStatus.DONE]: 'Success',
[RunningStatus.FAIL]: 'Failed',
[RunningStatus.SCHEDULE]: 'Schedule',
[RunningStatusOld.UNSTART]: 'Pending',
[RunningStatusOld.RUNNING]: 'Running',
[RunningStatusOld.CANCEL]: 'Cancel',
[RunningStatusOld.DONE]: 'Success',
[RunningStatusOld.FAIL]: 'Failed',
[RunningStatusOld.SCHEDULE]: 'Schedule',
};
export enum ModelVariableType {