Skip to content

A crash between a multi-machine launch's first records runs one shard alone after a restart #768

Description

@harenome

Priority

P3

Components

  • Runs

Evidence

  • start_all (execution.py:1786-1790) saves every shard's record before starting any. A kill between two saves leaves the first in preparing.
  • Probe, process killed while writing shard2's record:
    folders: ['shard1', 'shard2']
    restart resumed: [('shard1', 'preparing')]
    after restart: [('shard1', 'done', True)]
    
  • The resumed shard skips the credentials check and, on a host, the name check. shard2's folder blocks its name (A run folder left without its run.json by a crash keeps its name taken and cannot be deleted #764).

Reproduction

  1. A launch on two machines.
  2. Kill Nullius after shard1's record, before shard2's.
  3. Restart.

Expected

A launch that never answered "started" does not start after a restart.

Acceptance

  • First records are not resumed until every record of the launch is saved (test)

Dependencies and related

#770, #764

Activity

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

P3bug

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions