File tree 4 files changed +13
-5
lines changed
frontend/src/components/ActionCacheMetrics
4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export const ALL_STATUS_VALUES = [
20
20
'DIFFERENT_FILES' ,
21
21
'CORRUPTED_CACHE_ENTRY' ,
22
22
'NOT_CACHED' ,
23
-
23
+ 'UNCONDITIONAL_EXECUTION' ,
24
24
] as const ;
25
25
export type MissDetailTuple = typeof ALL_STATUS_VALUES ;
26
26
export type MissDetailEnum = MissDetailTuple [ number ] ;
@@ -65,7 +65,11 @@ const STATUS_TAGS: { [key in MissDetailEnum]: React.ReactNode } = {
65
65
< span className = { themeStyles . tagContent } > Not Cached</ span >
66
66
</ Tag >
67
67
) ,
68
-
68
+ UNCONDITIONAL_EXECUTION : (
69
+ < Tag icon = { < MinusCircleFilled /> } color = "green" className = { themeStyles . tag } >
70
+ < span className = { themeStyles . tagContent } > Unconditional Execution</ span >
71
+ </ Tag >
72
+ ) ,
69
73
} ;
70
74
71
75
const MissDetailTag : React . FC < Props > = ( { status } ) => {
Original file line number Diff line number Diff line change 24
24
25
25
.ac-miss-detail-NOT_CACHED {
26
26
color : "#ffbd33"
27
- }
27
+ }
28
+
29
+ .ac-miss-detail-UNCONDITIONAL_EXECUTION {
30
+ color : "#008000"
31
+ }
Original file line number Diff line number Diff line change @@ -30,7 +30,8 @@ var ac_colors =
30
30
"purple" , //different env
31
31
"cyan" , //diff files
32
32
"orange" , //corrupted cache entry
33
- "red" ] //not cached
33
+ "red" , //not cached
34
+ "green" ] //unconditional execution
34
35
35
36
const ac_columns : TableColumnsType < MissDetailDisplayDataType > = [
36
37
{
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ func (r MissReason) EnumIndex() int32 {
48
48
// String Enum helper method.
49
49
func (r MissReason ) String () string {
50
50
return [... ]string {
51
- "UNKNOWN" ,
52
51
"DIFFERENT_ACTION_KEY" ,
53
52
"DIFFERENT_DEPS" ,
54
53
"DIFFERENT_ENVIRONMENT" ,
You can’t perform that action at this time.
0 commit comments