A step stopped by the operator is recorded and drawn as failed: say "interrupted", in a calm tone #152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stop Run works, but afterwards the console tells a story of failure. The step that was running shows a red ✗ and "failed", its band says "1 failed", Step details lists the attempt as "#1 failed", and the transcript ends with a red "✗ interrupted" and "Implement task group 2 — failed".
Cause
An attempt that ends because of the operator's interrupt finishes with reason
aborted(AgentExecutor,TerminalReason.ABORTED) and is recorded asosf.step.failed.StepStatus.INTERRUPTEDexists, and the console has a look for it, but nothing ever sets it, and that look uses the error tone (text-bad).Want
When the operator ends a step with Stop, whether on the run or on the step, the step is interrupted, not failed, everywhere it is shown:
interrupted. A timeout, budget abort or crash staysfailed. Mediation (#119) does not retry an interrupted step. Resume accepts one. The run staysabandoned(shown as "stopped").A simulated run (
osf.sim) that stops a run mid-apply should cover the engine side, and a browser spec the console side.