Skip to content

Submissions stuck in "Scoring" when broker error occurs during compute_worker PATCH (non-transactional re-enqueue) #2419

@AybH26

Description

@AybH26

Problem

When the compute_worker PATCHes a submission with status=Scoring, the site re-enqueues the scoring task before committing the new status and outside any transaction. If the broker publish raises (RabbitMQ unreachable, ConnectionError, channel error, broker restart, …), no message ever reaches the compute-worker queue. The DB row is still moved
to Scoring on the next code path, so the submission stays in Scoring forever — no retry, no failover, no cleanup picks it up.

Metadata

Metadata

Assignees

No one assigned

    Type

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