Skip to content

Implement error handling in ExecutionUpsertHandler to avoid unnecessary retries #4849

@coderabbitai

Description

@coderabbitai

Background

Currently, when the Bidder encounters errors while updating execution state, these errors are propagated to the ExecutionUpsertHandler. While the event watcher has a retry mechanism (3 retries before skipping), we need more sophisticated error handling to:

  • Avoid unnecessary retries for unrecoverable errors
  • Log appropriate error messages
  • Publish relevant metrics for monitoring

Links

Requirements

  1. Implement error handling logic in ExecutionUpsertHandler
  2. Add appropriate logging for different error scenarios
  3. Add metrics to track error occurrences and types
  4. Document the error handling strategy

Requested by @wdbaruni

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions