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

Fix correlation handling #492

Merged
merged 2 commits into from
Jan 31, 2025
Merged

Fix correlation handling #492

merged 2 commits into from
Jan 31, 2025

Conversation

cdavernas
Copy link
Member

Many thanks for submitting your Pull Request ❤️!

What this PR does / why we need it:

  • Fixes the ConnectedWorkflowExecutionContext to remove handled correlation contexts from the WorkflowInstance they are associated to
  • Fixes the ConnectedWorkflowExecutionContext to populate WorkfowInstance correlation keys set by handled correlation contexts
  • Fixes a feature-breaking bug with the AsyncApiCallExecutor disposing inline of the IAsyncApiSubscribeOperationResult, thus irreversibly breaking the message stream
  • Fixes the AsyncApiCallExecutor, which was not properly evaluating while and until message consumption conditions
  • Fixes the AsyncApiCallExecutor, which was not passing the item and index arguments to the output.as and export.as expressions

…nts as the input of the workflow instance to create when the òutcome` has been set to instantiate

Signed-off-by: Charles d'Avernas <[email protected]>
…handled correlation contexts from the `WorkflowInstance` they are associated to

fix(Runner): Fixed the `ConnectedWorkflowExecutionContext` to populate `WorkfowInstance` correlation keys set by handled correlation contexts
fix(Runner): Fixed a feature-breaking bug with the `AsyncApiCallExecutor` disposing inline of the IAsyncApiSubscribeOperationResult, thus irreversibly breaking the message stream
fix(Runner): Fixed the `AsyncApiCallExecutor`, which was not properly evaluating `while` and `until` message consumption conditions
fix(Runner): Fixed the `AsyncApiCallExecutor`, which was not passing the `item` and `index` arguments to the `output.as` and `export.as` expressions

Signed-off-by: Charles d'Avernas <[email protected]>
@cdavernas cdavernas added type: bug Something isn't working priority: high Indicates a high priority issue weight: 3 An issue with an average development impact app: runner Concerns the Runner app: correlator Concerns the Correlator labels Jan 31, 2025
@cdavernas cdavernas added this to the v1.0.0 milestone Jan 31, 2025
@cdavernas cdavernas self-assigned this Jan 31, 2025
@cdavernas cdavernas merged commit 370a883 into main Jan 31, 2025
2 checks passed
@cdavernas cdavernas deleted the fix-correlation-handling branch January 31, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: correlator Concerns the Correlator app: runner Concerns the Runner priority: high Indicates a high priority issue type: bug Something isn't working weight: 3 An issue with an average development impact
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant