GeezerVison is showing github.com — fix(v2): stop promising a paused discriminator the response cannot al… · simstudioai/sim@f6e0952
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: apps/docs/openapi-v2-workflows.json +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 3929 | 3929 | "failed", | 3930 | 3930 | "cancelled" | 3931 | 3931 | ], | 3932 | | - "description": "Current or terminal run status. `redacting` is transient, reported while the output of a finished run is being scrubbed. `paused` covers two states a client may need to tell apart: the run is waiting at a human-in-the-loop pause point, or a resume attempt did not run to completion and the run is waiting to be resumed again (automatically when a retry is scheduled). Read the `paused` object on the single-run response to distinguish them." | | 3932 | + "description": "Current or terminal run status. `redacting` is transient, reported while the output of a finished run is being scrubbed. `paused` means the run is not executing and is waiting to be resumed: either held at a human-in-the-loop pause point, or left paused because a resume attempt did not run to completion. This field does not distinguish the two. On the single-run response a non-null `paused.automaticResumeWaitingReason` identifies a run waiting on a scheduled automatic retry, but it is cleared once retries are disabled, exhausted, or the failure is classified non-retryable — so its absence does not imply a human-input pause." | 3933 | 3933 | }, | 3934 | 3934 | "trigger": { | 3935 | 3935 | "type": "string", | | 4070 | 4070 | "cancelled", | 4071 | 4071 | "queued" | 4072 | 4072 | ], | 4073 | | - "description": "Current or terminal run status. `redacting` is transient, reported while the output of a finished run is being scrubbed. `paused` covers two states a client may need to tell apart: the run is waiting at a human-in-the-loop pause point, or a resume attempt did not run to completion and the run is waiting to be resumed again (automatically when a retry is scheduled). Read the `paused` object on the single-run response to distinguish them." | | 4073 | + "description": "Current or terminal run status. `redacting` is transient, reported while the output of a finished run is being scrubbed. `paused` means the run is not executing and is waiting to be resumed: either held at a human-in-the-loop pause point, or left paused because a resume attempt did not run to completion. This field does not distinguish the two. On the single-run response a non-null `paused.automaticResumeWaitingReason` identifies a run waiting on a scheduled automatic retry, but it is cleared once retries are disabled, exhausted, or the failure is classified non-retryable — so its absence does not imply a human-input pause." | 4074 | 4074 | }, | 4075 | 4075 | "trigger": { | 4076 | 4076 | "anyOf": [ | |
Collapse file Copy file name to clipboardExpand all lines: apps/sim/lib/api/contracts/v2/workflows.ts +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -983,7 +983,7 @@ export const v2ResumeWorkflowContract = defineRouteContract({ | 983 | 983 | }) | 984 | 984 |
| 985 | 985 | const RUN_STATUS_DESCRIPTION = | 986 | | - 'Current or terminal run status. `redacting` is transient, reported while the output of a finished run is being scrubbed. `paused` covers two states a client may need to tell apart: the run is waiting at a human-in-the-loop pause point, or a resume attempt did not run to completion and the run is waiting to be resumed again (automatically when a retry is scheduled). Read the `paused` object on the single-run response to distinguish them.' | | 986 | + 'Current or terminal run status. `redacting` is transient, reported while the output of a finished run is being scrubbed. `paused` means the run is not executing and is waiting to be resumed: either held at a human-in-the-loop pause point, or left paused because a resume attempt did not run to completion. This field does not distinguish the two. On the single-run response a non-null `paused.automaticResumeWaitingReason` identifies a run waiting on a scheduled automatic retry, but it is cleared once retries are disabled, exhausted, or the failure is classified non-retryable — so its absence does not imply a human-input pause.' | 987 | 987 |
| 988 | 988 | /** | 989 | 989 | * The list projection passes `workflow_execution_logs.status` through except where it | |
|