Skip to content

Background jobs are infinitely retried if crates are deleted #11348

Open
@Turbo87

Description

@Turbo87

Current Behavior

If a crate is deleted while a related background job is still in the queue, the job will eventually fail, but then get retried forever because the SQL query to find the corresponding crate will always fail.

Expected Behavior

The job should exit early, without failure, but with a log warning.

Steps To Reproduce

No response

Environment

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions