EvalAI icon indicating copy to clipboard operation
EvalAI copied to clipboard

✨ Feature: Allow Challenge Hosts to Purge Submissions Queue from Manage Tab

Open RishabhJain2018 opened this issue 3 months ago • 3 comments

Description: Currently, challenge hosts do not have the ability to purge the submissions queue from the Manage tab in EvalAI. This feature would allow hosts to clear out pending/running submissions for their challenge when necessary (e.g., stuck jobs, debugging, challenge resets).

Proposed Solution:

  • Add a “Purge Queue” button to the Manage tab UI for challenge hosts.

  • Clicking this button should:

    • Prompt for confirmation (with clear warning: “This action will delete all pending submissions in the queue. This cannot be undone.”).
    • On confirmation, call a backend API endpoint that purges the submissions queue for that challenge.
  • Backend:

    • Implement a new endpoint (accessible only by challenge hosts/admins) that clears all pending/running submissions for the given challenge.
    • Ensure proper authorization checks to prevent misuse.
  • UI/UX:

    • Place the button in the Submissions/Queue management section.
    • Provide success/error messages after action.
      • Shows the current number of submissions in the queue

Benefits:

  • Helps challenge hosts quickly resolve issues like stuck queues.
  • Reduces dependency on super-admins for manual purges.
  • Improves host autonomy in managing their challenges.

RishabhJain2018 avatar Sep 05 '25 22:09 RishabhJain2018

Hi 👋 I noticed this issue was assigned a few days ago. I’m also very interested in working on it. @Zahed-Riyaz , are you already making progress? If not, I’d be happy to collaborate or pick it up.

rohan-019 avatar Sep 09 '25 19:09 rohan-019

Hi is this issue still open ?can i work on this

DecodeX15 avatar Sep 23 '25 13:09 DecodeX15

Hi @RishabhJain2018,

This issue has been inactive for over two months. I would like to pick it up, specifically focusing on the backend API endpoint implementation.

I can start working on this immediately. Could you please assign it to me?

kushxagra avatar Dec 10 '25 09:12 kushxagra

Hello @RishabhJain2018 , I’m interested in tackling this issue. Is it available to pick up? Please assign it to me if it’s free; otherwise, could you point me to other good starter issues? Thank you!

vennelavarshini18 avatar Dec 11 '25 20:12 vennelavarshini18

hey @vennelavarshini18 i am currently working on this issue

kushxagra avatar Dec 12 '25 09:12 kushxagra

Hi! @RishabhJain2018 , I’m interested in working on this issue and have started reviewing the EvalAI submission queue and authorization flow.

Before proceeding, I wanted to confirm a couple of things:

1--> Should the purge action target only PENDING and RUNNING submissions, excluding completed/failed ones?

2--> Is the queue currently managed by background task workers, and are there any existing admin utilities for purging that could be reused?

Once clarified, I’ll start with a safe backend implementation and then connect it to the UI.

Thanks!

Mukesh642 avatar Dec 13 '25 10:12 Mukesh642