✨ Feature: Allow Challenge Hosts to Purge Submissions Queue from Manage Tab
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.
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.
Hi is this issue still open ?can i work on this
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?
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!
hey @vennelavarshini18 i am currently working on this issue
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!