Skip to content

Commit 81b8723

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 47b51a2 commit 81b8723

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Sources/Ingestion/Models/RunReasonCode.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ import Foundation
99
/// A code for the task run's outcome. A readable description of the code is included in the `reason` response property.
1010
public enum RunReasonCode: String, Codable, CaseIterable {
1111
case `internal`
12+
case cancelled
1213
case critical
1314
case noEvents = "no_events"
1415
case tooManyErrors = "too_many_errors"
16+
case lackingEvents = "lacking_events"
1517
case ok
16-
case discarded
1718
case blocking
19+
case idle
1820
}
1921

2022
extension RunReasonCode: Hashable {}

Sources/Ingestion/Models/RunStatus.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import Foundation
1010
public enum RunStatus: String, Codable, CaseIterable {
1111
case created
1212
case started
13-
case idled
1413
case finished
1514
case skipped
1615
}

0 commit comments

Comments
 (0)