Skip to content

feat(execution): run the runs of one launch one after the other - #873

Draft
harenome wants to merge 1 commit into
ThinkFlowLab:mainfrom
harenome:suites/2-queue-alone
Draft

harenome wants to merge 1 commit into
ThinkFlowLab:mainfrom
harenome:suites/2-queue-alone

Conversation

@harenome

@harenome harenome commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

Refs #871

What

  • A launch started all its runs at once; nothing saved said which may start next.
  • A plan can name its queue and the run it waits for. A run starts once that run's saved record says it ended: done or failed, the next starts; stopped, the runs waiting are cancelled.
  • Its turn is saved before anything of it starts.
  • One Stop for the queue, saved before any run is told. Not saved: no run is told, and the Stop routes answer 503.
  • Rerun and Delete are refused until every run ended. A run that then runs tasks again is its own.
  • A name another launch took after a Delete neither holds the queue nor gets its Stop.
  • A run whose plan cannot be read back is held, with the runs after it, until none of its processes is left here; then it ends failed.
  • A queue's records have their own version: an older Nullius leaves them.
  • No page makes a queue yet. A run of no queue is unchanged.
  • Stands alone: it needs no other pull request.

Verified

  • test_execution_queue: 20. Killed at 7 points, each run once, in order; Stop saved then killed starts nothing.
  • Both Stop routes: 503 asserted.
  • Backend 3947, routes 1022, on this branch. One backend run had an error in test_osworld2_driver (a kill's timing, under load); the run before it, of the same backend files, passed.
  • Not checked: a queue on a host, macOS.

Risk

  • execution.stop replaces Execution.stop in the Stop routes.
  • A held run on a host, or on a machine without /proc, stays held until Stop.
  • Records edited by hand are not defended.
  • Undo: revert; no queue's record exists without a later change.

Agents

  • Claude Code, Fable 5.2 and Opus 5.5
  • Codex, GPT-6.2-Astra

@harenome
harenome force-pushed the suites/2-queue-alone branch from 29cb381 to 23c4349 Compare December 4, 2026 17:29

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant