Skip to content

Commit

Permalink
fix: retry only proper node (#11589) (#11839)
Browse files Browse the repository at this point in the history
Signed-off-by: toyamagu2021@gmail.com <toyamagu2021@gmail.com>
Signed-off-by: toyamagu-2021 <toyamagu2021@gmail.com>
  • Loading branch information
toyamagu-2021 authored and terrytangyuan committed Nov 3, 2023
1 parent d51a87a commit 98aba15
Show file tree
Hide file tree
Showing 31 changed files with 1,818 additions and 857 deletions.
17 changes: 17 additions & 0 deletions api/jsonschema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions api/openapi-spec/swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions docs/fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -1812,6 +1812,7 @@ NodeStatus contains status information about an individual node in the workflow
|`memoizationStatus`|[`MemoizationStatus`](#memoizationstatus)|MemoizationStatus holds information about cached nodes|
|`message`|`string`|A human readable message indicating details about why the node is in this condition.|
|`name`|`string`|Name is unique name in the node tree used to generate the node ID|
|`nodeFlag`|[`NodeFlag`](#nodeflag)|NodeFlag tracks some history of node. e.g.) hooked, retried, etc.|
|`outboundNodes`|`Array< string >`|OutboundNodes tracks the node IDs which are considered "outbound" nodes to a template invocation. For every invocation of a template, there are nodes which we considered as "outbound". Essentially, these are last nodes in the execution sequence to run, before the template is considered completed. These nodes are then connected as parents to a following step. In the case of single pod steps (i.e. container, script, resource templates), this list will be nil since the pod itself is already considered the "outbound" node. In the case of DAGs, outbound nodes are the "target" tasks (tasks with no children). In the case of steps, outbound nodes are all the containers involved in the last step group. NOTE: since templates are composable, the list of outbound nodes are carried upwards when a DAG/steps template invokes another DAG/steps template. In other words, the outbound nodes of a template, will be a superset of the outbound nodes of its last children.|
|`outputs`|[`Outputs`](#outputs)|Outputs captures output parameter values and artifact locations produced by this template invocation|
|`phase`|`string`|Phase a simple, high-level summary of where the node is in its lifecycle. Can be used as a state machine. Will be one of these values "Pending", "Running" before the node is completed, or "Succeeded", "Skipped", "Failed", "Error", or "Omitted" as a final state.|
Expand Down Expand Up @@ -3202,6 +3203,16 @@ MemoizationStatus is the status of this memoized node
|`hit`|`boolean`|Hit indicates whether this node was created from a cache entry|
|`key`|`string`|Key is the name of the key used for this node's cache|

## NodeFlag

_No description available_

### Fields
| Field Name | Field Type | Description |
|:----------:|:----------:|---------------|
|`hooked`|`boolean`|Hooked tracks whether or not this node was triggered by hook or onExit|
|`retried`|`boolean`|Retried tracks whether or not this node was retried by retryStrategy|

## NodeSynchronizationStatus

NodeSynchronizationStatus stores the status of a node
Expand Down
7 changes: 7 additions & 0 deletions manifests/base/crds/full/argoproj.io_workflows.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 98aba15

Please sign in to comment.