File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed
Executions/TaskExecutionsList
common/MapTaskExecutionsList Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @flyteorg/console" ,
3
- "version" : " 0.0.30 " ,
3
+ "version" : " 0.0.31 " ,
4
4
"description" : " Flyteconsole main app module" ,
5
5
"main" : " ./dist/index.js" ,
6
6
"module" : " ./lib/index.js" ,
Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ export const MapTaskExecutionsListItem: React.FC<
74
74
< TaskExecutionError error = { error } />
75
75
</ section >
76
76
) : null }
77
-
78
77
{ /* If main map task has log attached - show it here */ }
79
78
{ logs && logs . length > 0 ? (
80
79
< section className = { styles . section } >
@@ -99,7 +98,6 @@ export const MapTaskExecutionsListItem: React.FC<
99
98
/>
100
99
) ;
101
100
} ) }
102
-
103
101
{ /* If map task is actively started - show 'started' and 'run time' details */ }
104
102
{ taskHasStarted && (
105
103
< section className = { styles . section } >
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import Typography from '@material-ui/core/Typography';
4
4
import classnames from 'classnames' ;
5
5
import { useCommonStyles } from 'components/common/styles' ;
6
6
import { TaskExecutionPhase } from 'models/Execution/enums' ;
7
- import { TaskExecution } from 'models/Execution/types' ;
7
+ import { MapTaskExecution , TaskExecution } from 'models/Execution/types' ;
8
8
import { Core } from '@flyteorg/flyteidl-types' ;
9
9
import { ExternalConfigHoc } from 'basics/ExternalConfigHoc' ;
10
10
import { useExternalConfigurationContext } from 'basics/ExternalConfigurationProvider' ;
@@ -36,7 +36,7 @@ const useStyles = makeStyles((theme: Theme) => ({
36
36
} ) ) ;
37
37
38
38
interface TaskExecutionLogsCardProps {
39
- taskExecution : TaskExecution ;
39
+ taskExecution : TaskExecution | MapTaskExecution ;
40
40
headerText : string ;
41
41
phase : TaskExecutionPhase ;
42
42
logs : Core . ITaskLog [ ] ;
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ export const TaskNameList = ({
64
64
onTaskSelected ( {
65
65
...taskExecution ,
66
66
taskIndex : ( log as any ) . index ,
67
+ parentRetryAttempt : taskExecution . id . retryAttempt ,
67
68
} ) ;
68
69
} ;
69
70
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ export interface TaskExecutionIdentifier extends Core.ITaskExecutionIdentifier {
118
118
}
119
119
export interface MapTaskExecution extends TaskExecution {
120
120
taskIndex : number | null ;
121
+ parentRetryAttempt ?: number ;
121
122
}
122
123
123
124
export interface TaskExecution extends Admin . ITaskExecution {
Original file line number Diff line number Diff line change 37
37
},
38
38
"dependencies" : {
39
39
"@flyteorg/common" : " ^0.0.4" ,
40
- "@flyteorg/console" : " ^0.0.30 " ,
40
+ "@flyteorg/console" : " ^0.0.31 " ,
41
41
"long" : " ^4.0.0" ,
42
42
"protobufjs" : " ~6.11.3" ,
43
43
"react-ga4" : " ^1.4.1" ,
Original file line number Diff line number Diff line change @@ -2020,7 +2020,7 @@ __metadata:
2020
2020
resolution: "@flyteconsole/client-app@workspace:website"
2021
2021
dependencies:
2022
2022
"@flyteorg/common": ^0.0.4
2023
- "@flyteorg/console": ^0.0.30
2023
+ "@flyteorg/console": ^0.0.31
2024
2024
"@types/long": ^3.0.32
2025
2025
long: ^4.0.0
2026
2026
protobufjs: ~6.11.3
@@ -2059,7 +2059,7 @@ __metadata:
2059
2059
languageName: unknown
2060
2060
linkType: soft
2061
2061
2062
- "@flyteorg/console@^0.0.30 , @flyteorg/console@workspace:packages/console":
2062
+ "@flyteorg/console@^0.0.31 , @flyteorg/console@workspace:packages/console":
2063
2063
version: 0.0.0-use.local
2064
2064
resolution: "@flyteorg/console@workspace:packages/console"
2065
2065
dependencies:
You can’t perform that action at this time.
0 commit comments