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

Remove Wrong Core Entities Error Handling #1103

Merged
merged 1 commit into from
May 28, 2024

Conversation

nytian
Copy link
Collaborator

@nytian nytian commented May 28, 2024

Whenever core entities start, they will generate both OrchestratorStarted and OrchestratorCompleted events. The DetermineWork function checks all events of entities' runtime status. Therefore, the default error handling is not appropriate, as it should at least exclude these two events from being caught.

Fixes #1095

@nytian nytian requested a review from davidmrdavid May 28, 2024 17:56
@@ -564,8 +564,6 @@ void DetermineWork(OrchestrationRuntimeState runtimeState, out SchedulerState sc

break;

default:
Copy link
Collaborator

Choose a reason for hiding this comment

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

let's please create a GH issue tracking that we do want some error handling here, but that we'll need to add it on a later release, with sufficient testing, due to this regression

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Issue page: #1104

@nytian nytian merged commit 0f252f0 into main May 28, 2024
2 checks passed
@nytian nytian deleted the nytian/remove-entities-error-handling branch May 28, 2024 18:30
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.

unexpected event type of type 'OrchestratorStarted'
2 participants