Skip to content

Commit

Permalink
feat: add run state PREEMPTED (#188)
Browse files Browse the repository at this point in the history
* Add in PREEMPTED.

* Resolve reorganization of yaml's into 1 single yaml.
  • Loading branch information
vsmalladi authored Jan 10, 2023
1 parent 2502698 commit de618a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openapi/workflow_execution_service.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ components:
- SYSTEM_ERROR
- CANCELED
- CANCELING
- PREEMPTED
type: string
description: >
State can take any of the following values:
Expand All @@ -532,6 +533,10 @@ components:
+ CANCELED: The task was canceled by the user.
+ CANCELING: The task was canceled by the user, and is in the process of stopping.
+ PREEMPTED: The task is stopped (preempted) by the system. The reasons for this would be tied to
the specific system running the job. Generally, this means that the system reclaimed the compute
capacity for reallocation.
RunStatus:
title: RunStatus
required:
Expand Down

0 comments on commit de618a8

Please sign in to comment.