Skip to content

Adding in new test for parallel raise events in workflow#1155

Merged
halspang merged 2 commits into
dapr:masterfrom
RyanLettieri:workflow-raise-event-fix
Oct 6, 2023
Merged

Adding in new test for parallel raise events in workflow#1155
halspang merged 2 commits into
dapr:masterfrom
RyanLettieri:workflow-raise-event-fix

Conversation

@RyanLettieri
Copy link
Copy Markdown
Contributor

Description

Previously, raising multiple events of the same name in parallel in workflow led to a series of events being incomplete. A change was made to durable task framework in the .NET SDK to fix this issue. This PR adds in a test to ensure that the fix works in this SDK as well.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #[1129]

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • [ X] Created/updated tests
  • Extended the documentation

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
@RyanLettieri RyanLettieri requested review from a team as code owners September 28, 2023 16:15
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 28, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (99d874a) 66.42% compared to head (69f2eaa) 66.42%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1155   +/-   ##
=======================================
  Coverage   66.42%   66.42%           
=======================================
  Files         171      171           
  Lines        5758     5758           
  Branches      626      626           
=======================================
  Hits         3825     3825           
  Misses       1784     1784           
  Partials      149      149           
Flag Coverage Δ
net6 66.42% <ø> (ø)
net7 66.42% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Copy Markdown
Contributor

@cgillum cgillum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@halspang halspang merged commit 3b979e6 into dapr:master Oct 6, 2023
halspang pushed a commit to halspang/dotnet-sdk that referenced this pull request Oct 6, 2023
* Adding in new test for parallel raise events in workflow

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
halspang pushed a commit to halspang/dotnet-sdk that referenced this pull request Oct 6, 2023
* Adding in new test for parallel raise events in workflow

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
halspang pushed a commit to halspang/dotnet-sdk that referenced this pull request Oct 6, 2023
* Adding in new test for parallel raise events in workflow

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
Signed-off-by: Hal Spang <halspang@microsoft.com>
halspang added a commit that referenced this pull request Oct 6, 2023
* Adding in new test for parallel raise events in workflow

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
Signed-off-by: Hal Spang <halspang@microsoft.com>
Co-authored-by: Ryan Lettieri <67934986+RyanLettieri@users.noreply.github.com>
iliaspoli pushed a commit to iliaspoli/dotnet-sdk that referenced this pull request Oct 13, 2023
* Adding in new test for parallel raise events in workflow

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
iliaspoli pushed a commit to iliaspoli/dotnet-sdk that referenced this pull request Oct 13, 2023
* Adding in new test for parallel raise events in workflow

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
@philliphoff philliphoff modified the milestone: v1.14 Jul 23, 2024
divzi-p pushed a commit to divzi-p/dotnet-sdk that referenced this pull request Dec 10, 2024
* Adding in new test for parallel raise events in workflow

Signed-off-by: Ryan Lettieri <ryanLettieri@microsoft.com>
Signed-off-by: Divya Perumal <diperuma@microsoft.com>
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.

4 participants