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

[Feature]: Implementing Deadlock Detection Mechanism for Rule Execution #2494

Open
impy88 opened this issue Nov 20, 2024 · 0 comments
Open
Labels
enhancement New feature or request triage

Comments

@impy88
Copy link

impy88 commented Nov 20, 2024

Context

Hello,

We need to implement a mechanism for detecting deadlocks during rule execution. This occurs when a rule triggers and the application responds by requesting the rules to be executed again.

Proposal

Our expectation is that rules should operate continuously; however, if the same rule executes more than a specified number of times (N) with performing the same operation, it should raise an exception and stop executing that rule but continue to others. This exception should include debug information, such as the fact name and, if possible, a trace.

This solution could significantly enhance the stability and robustness of our user interface, especially in cases of poorly written code or unexpected scenarios.

@impy88 impy88 added enhancement New feature or request triage labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant