Skip to content

A launch refused at its first record leaves its jobs folder as a root of the workspace #772

Description

@harenome

Priority

P3

Components

  • Runs

Evidence

On main, a launch into workspace trials whose first run.json cannot be written:

begin: 503 The run's record could not be saved (No space left on device
workspace 'trials' roots: ['.../runs/launch1/jobs']
root exists on disk: [False]
  • begin adopts the run's jobs folder into the workspace before the first record.
  • Nothing removes it when that record fails.

Reproduction

  1. Start a run into a workspace with the runs folder unable to take run.json.
  2. The page says 503.
  3. The workspace lists a root that does not exist.

Expected

A refused launch leaves the workspace as it was.

Acceptance

  • A refused launch leaves no root it added (test)
  • A concurrent successful retry of the same name keeps its root (test)
  • A root registered before the launch is kept (test)
  • A failure between the manifest and the open workspace's state write leaves no root (test)

Dependencies and related

#770, #360, #522

Activity

  1. added
    bug
    P3
    on Dec 3, 2026
  2. added theissue type on Dec 3, 2026
  3. self-assigned this
    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

P3bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions