Skip to content

Commit 016bf12

Browse files
algolia-botmillotp
andcommitted
fix(specs): update run reason in observability (generated)
algolia/api-clients-automation#5623 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent e3e5ada commit 016bf12

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

packages/ingestion/model/runReasonCode.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,13 @@
33
/**
44
* A code for the task run\'s outcome. A readable description of the code is included in the `reason` response property.
55
*/
6-
export type RunReasonCode = 'internal' | 'critical' | 'no_events' | 'too_many_errors' | 'ok' | 'discarded' | 'blocking';
6+
export type RunReasonCode =
7+
| 'internal'
8+
| 'cancelled'
9+
| 'critical'
10+
| 'no_events'
11+
| 'too_many_errors'
12+
| 'lacking_events'
13+
| 'ok'
14+
| 'blocking'
15+
| 'idle';

packages/ingestion/model/runStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
/**
44
* Task run status.
55
*/
6-
export type RunStatus = 'created' | 'started' | 'idled' | 'finished' | 'skipped';
6+
export type RunStatus = 'created' | 'started' | 'finished' | 'skipped';

0 commit comments

Comments
 (0)