Skip to content

run.already_ended

The run has already ended

Type https://mthds.ai/errors/run.already_ended
Family run: A run's lifecycle and its reads.
Domain input: the caller acts, by changing the request or its inputs
Retry no: repeating the operation fails the same way
HTTP status 409
Raised as a problem document, sent as the body of an HTTP response or kept in a run's record

What it means

A change, such as a cancellation, was asked of a run whose outcome is final.

What to do

Read the run's outcome. To get a different one, start a new run.

Next steps

A problem carries the step aimed at whoever reads it: the first when its reader is the domain's actor, the caller, and the second for any other reader.

Reader Kind Detail
The domain's actor read_run Read the run's final outcome rather than change it.
Any other reader read_run Read the run's final outcome rather than change it.

Detail

The problem's detail is written from this template, filled with the occurrence's parameters:

The run '{pipeline_run_id}' has already ended as '{run_status}', so it cannot be changed.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
pipeline_run_id identifier The run.
run_status identifier The status it ended with.

See also