Skip to content

Start a run over the API into a named workspace #513

Done

Description

@pierreleca

Priority

P2 · Planned: limited in scope, has a way around it, or a missing feature

Today

POST /api/v1/runs, Client.start, nullius remote run and MCP's start_run take no workspace.
The run's jobs go into the workspace open on the server, or into a new one with a random name when none is open.

nullius remote run he-nop.json --yes with dapper-vector open: the job is listed by nullius remote jobs, in dapper-vector.

Wanted

A start names the workspace its jobs go into.
For a script or an assistant that starts runs while a person reads another workspace.
Made when there is none. The open workspace stays open, its jobs untouched.
The builder's Run keeps no workspace choice.

Acceptance

  • POST /api/v1/runs puts the run's jobs in the workspace its workspace field names
  • A workspace that does not exist is made closed
  • The open workspace stays open with its jobs unchanged; a restart reopens it
  • Without workspace, a start behaves as today
  • A name that is not lowercase letters, digits and dashes is refused with 400 before anything starts
  • Client.start, nullius remote run --workspace NAME and start_run send it
  • docs/api.md names the field and says the builder's Run has none

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions