Skip to content
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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Docs updates #111

wants to merge 5 commits into from

Conversation

dustinblack
Copy link
Member

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.

Copy link
Contributor

@dbutenhof dbutenhof left a 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
Copy link
Contributor

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
Copy link
Contributor

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.
Copy link
Contributor

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.
Copy link
Contributor

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.

Comment on lines +343 to +345
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.
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants