Repository navigation
Conversation
Signed-off-by: joshvanl <me@joshvanl.dev>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #859 +/- ##
=======================================
Coverage 57.38% 57.38%
=======================================
Files 53 53
Lines 3888 3888
=======================================
Hits 2231 2231
Misses 1503 1503
Partials 154 154 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
🟡 Changes recommended
Purge verification treats any fetch error with nil metadata as success, so timeouts or an unavailable sidecar can falsely confirm deletion instead of requiring an instance-not-found error.
1 open issue
What changed in this PR
Adds a two-app example demonstrating how a client manages workflows owned by a separate Dapr host using explicit target app IDs.
Changes:
- Adds a workflow host and client covering scheduling, status checks, suspension, resumption, events, completion, termination, and purging.
- Documents execution and expected output, with shared Redis state-store configuration.
- Includes the example in automated example validation.
| File | Description |
|---|---|
examples/workflow-cross-app/README.md |
Documents cross-app options, run commands, cleanup, and expected output. |
examples/workflow-cross-app/host/host.go |
Registers and runs the workflow and its activities. |
examples/workflow-cross-app/config/redis.yaml |
Configures Redis as the actor state store. |
examples/workflow-cross-app/client/client.go |
Drives workflow lifecycle operations on the host app. |
.github/workflows/validate_examples.yaml |
Adds the example to the validation matrix. |
Review effort: Balanced
cicoyle
left a comment
There was a problem hiding this comment.
Could we name it multi app instead of cross app? That was something I got feedback on when this feature was introduced and all our existing examples/docs use the phrasing multi app
ex: https://docs.dapr.io/developing-applications/building-blocks/workflow/workflow-multi-app/ && https://github.com/dapr/samples/tree/master/multi-app-workflows
Signed-off-by: joshvanl <me@joshvanl.dev>

No description provided.