-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs updates #111
base: main
Are you sure you want to change the base?
Docs updates #111
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool
|
||
Sometimes it is important to serialize workflow steps even if they do not have a data | ||
passing relationship. An example may be running a series of benchmarks where you want to | ||
ensure that you get valid results without one step interfereing with another. In this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"s/interfereing/interfering"
Sometimes it is important to serialize workflow steps even if they do not have a data | ||
passing relationship. An example may be running a series of benchmarks where you want to | ||
ensure that you get valid results without one step interfereing with another. In this | ||
case, you can use the `wait_for` option of the step to provide an expression or a oneof |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should "or a oneof condition" be linked to your new section on that topic?
|
||
It is also possible to use oneof conditions as part of the `wait_for` flow control. An | ||
explicit relationshp between steps in a workflow in this case becomes a oneof condition | ||
for either the requested step output or otherwise the disabled state of the step. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "otherwise" feels unnecessary here. This also implies explaining the implicit assumption that you're using "oneof" here because you're either running or disabling a step.
|
||
Any time the input of a step relies on the output of another step via an [Arcaflow | ||
expression](http://127.0.0.1:8000/arcaflow/workflows/expressions/), an implicit step | ||
relationship is established. In this case, the Arcaflow engine holds the execution of the dependent step until the output from the supplier step is available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line doesn't wrap like the others.
It is also possible to use oneof conditions as part of the `wait_for` flow control. An | ||
explicit relationshp between steps in a workflow in this case becomes a oneof condition | ||
for either the requested step output or otherwise the disabled state of the step. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: relationshp
Maybe also state that this will create an OR relationship that will allow the step to run either when the step is disabled OR when it gets the intended result.
Changes introduced with this PR
Some fixes and cleanup of the getting started guide, and some expansion of the flow control docs.
By contributing to this repository, I agree to the contribution guidelines.