Skip to content

[sap-document-ai]: Configurable cleanup of completed extraction jobs #103

Description

@samyuktaprabhu

ExtractionJob records in terminal states (DONE or FAILED) are currently retained indefinitely. Over time, especially in high-volume deployments, this can result in unbounded database table growth and unnecessary storage consumption.

Introduce a configurable retention policy for completed extraction jobs. Jobs that have remained in a terminal state beyond the configured retention period should be automatically deleted or archived.

The retention period and cleanup mechanism should be configurable to support different deployment and operational requirements.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions