Skip to content

Deleting failed jobs via the provided view does not remove job results #801

Description

@JimNero009

Jobs and Results are stored separately in Redis, with the Job ID being the link between them. When clearing failed Jobs, the code iterates one-by-one over these Jobs and calls the delete() method on them. This correctly removes the Job keys from Redis, but it effectively orphans the Result keys, which then never get cleaned up and end up just holding memory space.

Expectation: deleting a failed Job should also delete all Results for that Job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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