Uh oh!
There was an error while loading. Please reload this page.
.NET: Add tests for subworkflow shared state behavior - #3444
Conversation
66a19e8 to
750bbc9CompareThere was a problem hiding this comment.
Pull request overview
This PR adds comprehensive test coverage for shared state behavior in subworkflows, documenting both working and isolated state scenarios. The tests verify that shared state operates correctly within a subworkflow while also documenting the current limitation where state is isolated across parent/subworkflow boundaries (issue #2419).
Changes:
- Added test file documenting shared state behavior in subworkflows with three executor classes that pass data through shared state
- Added two test methods validating shared state works within subworkflows and is isolated across boundaries
- Implemented helper methods to run different workflow configurations for testing state persistence
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| SampleSmokeTest.cs | Added two test methods to verify shared state behavior within and across subworkflow boundaries |
| 14_Subworkflow_SharedState.cs | New test file containing executor implementations and workflow configurations for testing shared state scenarios |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
750bbc9 to
bb6b25eCompareAdds tests documenting current shared state behavior in subworkflows: - State works correctly within a subworkflow - State is isolated across parent/subworkflow boundaries Related to #2419
bb6b25e to
d8685e1CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
Adds tests documenting current shared state behavior in subworkflows:
Related to #2419
Contribution Checklist
Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.