Skip to content
This repository was archived by the owner on Jun 3, 2026. It is now read-only.
This repository was archived by the owner on Jun 3, 2026. It is now read-only.

Enhance batch ingestion error handling with structured partial success responses #154

Description

@anirudhaacharyap

Problem

Current batch ingestion provides basic success/failure reporting. However:

  • Errors are not structured or categorized
  • Users cannot easily identify which items failed and why
  • No support for retry strategies

Goal

Improve error handling and reporting for batch ingestion.

Proposed Improvements

  • Return structured response:

    • success_count
    • failure_count
    • successful items
    • failed items with error messages
  • Classify errors:

    • Timeout
    • Validation errors
    • LLM failures
    • Internal errors
  • Optional future:

    • Retry failed items
    • Partial retry endpoint

Example Response

{
  "success_count": 48,
  "failure_count": 2,
  "results": [...],
  "errors": [
    {"index": 3, "error": "LLM timeout"},
    {"index": 7, "error": "Invalid input"}
  ]
}

#143 

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions