Skip to content

Runner queue ​

The runner queue separates a request to run a workflow from the worker process that executes it.

Rattish compatibility boundary

The current Raticode runner queue path resolves workflows through the legacy loader. Registered Rattish workflows use local execution or an explicit Raticode rattish run invocation on the target machine. Selecting Runner queue does not add Rattish support to that loader.

Queue concepts ​

ConceptResponsibility
SubmissionRecord the workflow request and parameters
LabelsMatch a request to an appropriate runner
RunnerClaim and execute eligible work
StatusInspect queued, running, and terminal records
CancellationRequest that queued or active work stop

Submission is not successful execution. A queued record can wait indefinitely when no eligible worker is available.

Existing CLI controls ​

Raticode runner list lists known runners. Raticode runner status inspects work, optionally by queued run ID. Raticode runner register --name NAME --label LABEL registers a local runner record. Raticode runner start starts a worker, and --once processes at most one eligible run. Raticode runner cancel RUN_ID requests cancellation. Raticode runner queue WORKFLOW submits a legacy workflow ID or TOML path with optional --priority, --label and --param KEY=JSON.

Use each command's --help for workspace-root, provider capability, priority, and label options. Registration does not install a provider or copy a project to another machine.

Remote Rattish execution ​

Install the standalone CLI on the target machine, make the project and its required resources available there, and invoke Raticode rattish run with the source path. Validate and preflight on that machine first.

This is a CLI deployment pattern; it does not imply that the current local queue is a network transport. Desktop fleet is a separate experimental paired-device feature with target-local grants.

Review failures ​

Check label matching, project availability, interpreter paths, provider authentication, and the worker's own logs. Cancellation does not roll back completed effects. Preserve evidence of interrupted work before submitting it again.