Continue a finished run
Pick a finished run up where it left off. The agent wrote a fix but skipped the tests, or the run timed out halfway through a migration: continue it with one instruction instead of starting over. The new run already holds the old run’s conversation, and your message is its first instruction. The old run does not change.
Before you start
- Role: you may act on the run, for example because you started it.
- The run has finished.
- Available when your administrator enables runs and deputies.
Steps
- Open the finished run from Runs.
- In the header, click Continue….
- Read the note in the popover Continue this run. It says whether the files come across (“The files come across.”) or not (“The files do not come across.”). If the files are gone, the agent is told to clone the repository again.
- In Instruction for the agent, say what to do next, or what to do differently. For example “Keep going, but skip the tests.”
- Click Continue run. The keyboard shortcut is Ctrl+Enter or Cmd+Enter.
If a run ended because nobody answered its question, the run page tells you so and points to Continue run. Your instruction can carry the answer.
When a run cannot be continued, the header shows Can’t continue with the reason:
- The run’s conversation is past its retention period.
- The chain has been continued 10 times. “This would be number N in the chain; 10 is the limit.” shows before you send.
- The run was already continued. The header shows Continued by the other run.
From the CLI
Run marshal runs continue with the run’s ID and your instruction:
marshal runs continue <run-id> --message "Keep going, but skip the tests." --follow--message is required. It plays the role --task plays for marshal run. The command prints the new run’s ID and time budget. With --follow, it streams the new run until it ends and exits with an error code unless the run succeeded. With --json, it prints the new run as one JSON object, and continues_run_id holds the ID of the run you continued.
If the run cannot be continued, for example because it is still working, the command shows the reason and exits with an error code.
Continue on bigger compute
When a run stops because it ran out of memory, its page offers Continue on bigger compute. Click it to pick the compute class for the next run. The list shows the classes your organization allows, with the next size up already selected. Write your instruction, click Continue, and the new run starts on that class with the conversation so far.
The new run opens with a short note from the platform that says it moved to a larger class. A second line tells you what came across: either “The working tree came across from the previous run”, or “Only the conversation came across and the files did not”.
If the conversation was not saved, the dialog offers Retry on this class instead. It starts a fresh run on the class you picked.
From the CLI, add --compute-class with the class ID to marshal runs continue or marshal runs retry:
marshal runs continue <run-id> --message "Carry on." --compute-class <class-id>
marshal runs retry <run-id> --compute-class <class-id> --confirmLeave the flag off and the new run starts on the same class as before.
What you should see
- The new run opens. Its header says it is a continuation of the earlier run.
- The first thing it does is act on your instruction.
- The old run now shows Continued by the new run. On the Details tab, a Chain panel lists the runs that belong together.
Next
Run a mission on a schedule or event: once the work runs the way you want, let the deputy start it on its own.