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

automod: configurable circuit breaker thresholds #830

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

haileyok
Copy link
Contributor

No description provided.

Copy link
Collaborator

@bnewbold bnewbold left a comment

Choose a reason for hiding this comment

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

a Go thing is that code should be resilient when empty structs are passed. eg, an empty EngineConfig{} would have the nil value for all the config values. we should probably detect and handle that. this can be an issue for test code, third part code, etc.

but this should work for now

@bnewbold
Copy link
Collaborator

test that is failing might be related to above. might want to check if values are nil/empty when doing the actual value checks, and insert a default there

@haileyok haileyok merged commit 9198b79 into main Nov 19, 2024
8 checks passed
@bnewbold bnewbold deleted the hailey/circuit-breaker branch November 20, 2024 00:27
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