Skip to content

Resources full, submissions can not be deleted due to "belong to competition" but the submissions are not visible on the competition page and can not be deleted from there. #2686

Closed

Description

@vojirt

Submissions remain in the resource tabs for competition without deadline, but are not visible from the competition page or I deleted them from competition page but they remain in the resources and can not be deleted.

The competition is "Segment Me If You Can": https://segmentmeifyoucan.com/submit

And the submission ID are e.g.:
old one: fe90b184-10a0-49cd-b5d2-978185774023
new one: c39a0946-ec6e-4bce-9016-21f3e809f8fe (that I have deleted from the competition page and disappeared there but remain in resource tab)

Can this be quickly fixed or at least remove all the resources that were already deleted from competition?
Thank You.

Activity

  1. Didayolo commented on Nov 13, 2026

    @Didayolo
    Member

    I could indeed observe the problem on your account.

    I'll investigate this to know if the behavior is always problematic, and propose a fix.

    Update: indeed, we have a problem for multi-task submissions. When a phase has several tasks (or several group/queue combinations), each child submission is created with the same Data object as its parent. When a participant deletes their submission, Submission.soft_delete() runs only on the parent. The children still use that Data, so it's not deleted. The parent just drops its reference to it. The children are not marked soft-deleted, and their own result files and details stay in storage.

  2. Didayolo commented on Nov 13, 2026

    @Didayolo
    Member

    I think #2629 might fix this already.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions