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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions