-
Notifications
You must be signed in to change notification settings - Fork 94
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
Implement error handling when updating execution state in Bidder #4684
Comments
Can I work on this? @wdbaruni |
Hi @virajbhartiya, thank you for contributing to the project. There might be some additional complexities around this issue. Mainly understanding when this edge case might happen, what the right action should be, and avoid returning unnecessary errors that might cause a poison pill upstream. Though I checked the event watcher that is calling the bidder, and its failure handling strategy is to skip after 3 retries. Meaning it wont block and won't cause poison pills if we become aggressive about returning errors. Lines 376 to 384 in e36b9ab
My recommendation with this is to just return the error. We should implement error handling in the ExecutionUpsertHandler to avoid unnecessary retries, log and publish certain metrics, but that is for another issue. @coderabbitai open an issue for implementing error handling in ExecutionUpsertHandler |
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain@wdbaruni I've created a new issue for implementing error handling in ExecutionUpsertHandler. The issue includes the context, requirements, and relevant links to help track this enhancement. 🏁 Script executed:
Length of output: 1123 @wdbaruni I've created issue #4849 for implementing error handling in ExecutionUpsertHandler. Let me know if you need any adjustments to the issue. (_/)< ✏️ Learnings added
|
That sounds great |
There is a TODO comment in
pkg/compute/bidder.go
indicating that error handling needs to be implemented when updating the execution state:It's important to handle these errors to ensure the system remains robust in case the execution state changes unexpectedly.
This issue was generated based on the discussion in PR #4683: #4683
Original comment: #4683 (comment)
Requested by @wdbaruni
The text was updated successfully, but these errors were encountered: