Skip to content

Commit 7c9cfb9

Browse files
authored
feat(specs): add reason code to run outcome (#1531)
1 parent dd795d2 commit 7c9cfb9

File tree

1 file changed

+7
-0
lines changed
  • specs/ingestion/common/schemas

1 file changed

+7
-0
lines changed

specs/ingestion/common/schemas/run.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ Run:
5050
reason:
5151
type: string
5252
description: 'Explains the result of outcome.'
53+
reasonCode:
54+
$ref: '#/RunReasonCode'
5355
type:
5456
$ref: '#/RunType'
5557
createdAt:
@@ -80,3 +82,8 @@ RunOutcome:
8082
RunType:
8183
type: string
8284
enum: ['reindex', 'update']
85+
86+
RunReasonCode:
87+
type: string
88+
description: 'An identifier that pairs with the outcome reason.'
89+
enum: ['internal', 'critical', 'no_events', 'too_many_errors', 'ok', 'discarded']

0 commit comments

Comments
 (0)