Skip to content

Cancel running submissions #872

Closed

Description

@Didayolo

When we cancel a running submission, does it really get killed inside the worker? Or is it just a front-end move?

In CodaLab Competitions, we had this known that we can't kill running submissions from the interface. The only way is to go inside the compute workers and kill the submissions by hand using docker stop or docker kill.

Do we have the same limitation on Codabench? I guess the problem is not that simple because the worker stops listening to the queue once a job has started, and the platform has no possible actions on the worker.

Activity

  1. added
    Discussion
    Post-it
    on May 12, 2023
  2. Didayolo commented on May 12, 2023

    @Didayolo
    MemberAuthor

    Couldn't the code of the worker check for cancellation, say every 15 minutes? Or that would not make sense either?

  3. ihsaan-ullah commented on Jul 3, 2025

    @ihsaan-ullah
    Collaborator

    The cancellation works and is coded here but the queue fetched may not be the right one. We should fetch the queue from submission and not from the competition. Check this line of code. This line actually cancels the submission in the worker

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

    DiscussionPost-it

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions