Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions writing-workflows/continue-on.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ steps:
- id: fallback_method
run: echo "Processing with fallback settings"
preconditions:
- condition: "${env.TRY_OPTIMAL_METHOD_EXIT_CODE}"
- condition: "${try_optimal_method.exit_code}"
expected: "re:[1-9][0-9]*" # Only run if previous failed
depends: try_optimal_method
```
Expand Down Expand Up @@ -345,7 +345,7 @@ steps:
- id: check_secondary
run: curl -f https://secondary.example.com/health
preconditions:
- condition: "${env.CHECK_PRIMARY_EXIT_CODE}"
- condition: "${check_primary.exit_code}"
expected: "re:[1-9][0-9]*" # Only if primary failed
depends: check_primary
```
2 changes: 1 addition & 1 deletion writing-workflows/control-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ steps:
- id: simple_method
run: echo "Processing with simple settings"
preconditions:
- condition: "${env.TRY_ADVANCED_METHOD_EXIT_CODE}"
- condition: "${try_advanced_method.exit_code}"
expected: "re:[1-9][0-9]*"
depends: try_advanced_method

Expand Down
2 changes: 1 addition & 1 deletion writing-workflows/queues.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ steps:

`with.queue` overrides the child DAG's queue for that enqueued run. If it is omitted, Dagu uses the child DAG's top-level `queue`, the base-config default, or the child's local queue. The parent step succeeds after the child run is persisted and added to the queue.

Use `action: dag.run` instead when the parent workflow must wait for the child DAG result before continuing.
Use `action: dag.run` instead when the parent workflow must wait for the child DAG result before continuing. A `dag.run` child starts directly rather than through its queue, so the queue's `max_concurrency` does not limit it.
Loading