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

Plugins - Do not error in several scenarios that could lead to infinite retries #480

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dimkouv
Copy link
Contributor

@dimkouv dimkouv commented Jan 21, 2025

If the plugin is throwing errors in specific scenarios based on the previousOutcome then in the next rounds the previousOutcome remains the same, leading to infinite retry loops that always lead to errors.

I am returning empty query, observation, outcome and simply log the error to prevent such scenarios.

Copy link

Metric dk/prevOutcome-usage main
Coverage 76.6% 76.7%

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.

2 participants