Skip to content

Deleting a launch while it is rerun removes the running rerun's folder #766

Description

@harenome

Priority

P2

Components

  • Runs

Evidence

  • delete checks the run ended (execution.py:2013), then adopts judgements and parses jobs, then removes the folder (:2094). again (:849) checks only the run's state. Nothing orders the two.
  • Probe, Rerun started between the check and the removal:
    rerun state when delete proceeds: running
    folder exists right after delete: False registered: False
    rerun process alive after delete: True
    run.json reappeared, state: failed
    

Reproduction

  1. A finished run. Start Delete launch.
  2. Before it removes the folder, press Rerun.

Expected

One wins: the delete refuses a running run, or the rerun refuses a run being deleted.

Acceptance

  • delete re-checks the state under the run's lock and marks it deleting (test)
  • again refuses a run being deleted (test)

Dependencies and related

#770

Activity

  1. self-assigned this
    on Dec 3, 2026
  2. added
    bug
    P2
    on Dec 3, 2026
  3. added theissue type on Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions