Skip to content

Runs: a launch resumed after a restart before it started skips the fresh launch checks #823

Description

@harenome

Priority

P3

Components

app/nullius/execution.py (restore, resumed preparation)

Evidence

Found in the review of #768 (merged as #820). A launch whose decision is committed but whose runs had not started yet is resumed after a restart through the preparation path. That path skips the checks a fresh launch makes before starting: the provider key is read from the saved plan, and the host-name and prerequisite checks are not repeated.

Observed: a plan whose key was removed was refused on an ordinary launch; after a kill just after the commit, the restart ran it.

Reproduction

  1. Launch a run whose provider key is valid.
  2. Kill Nullius after the launch decision is committed and before the run's worker starts.
  3. Remove the key from Settings.
  4. Start Nullius again.

Expected

A run that never started is checked like a fresh launch before it starts after a restart; a failed check leaves it ended with the reason.

Acceptance

  • A committed, never-started run repeats the fresh-launch checks (keys, host, prerequisites) before it starts after a restart
  • A run that had already started resumes as today
  • Test with a kill after the commit and a key removed meanwhile

Dependencies and related

#768, #770

Activity

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