With the new addition of security measures (e.g. stopping immediately with non-zero exit code), the action just stops when reaching 20 turns. Before, the action ran for around 35 turns, so the limit is increased to 40.
Additionally (because strictly stopping execution and we no longer get a Job Summary), a script was added to take the script output and post it.
So far, we no longer have tool call errors, just non-zero exit codes because of too many turns. Now, we can at least see the summary from the claude-execution-output.json.
Previous exit code 1 logs:
{
"type": "result",
"subtype": "error_max_turns",
"is_error": false,
...
}
Log saved to /home/runner/work/_temp/claude-execution-output.json
Error: Execution failed:
Error: Action failed with error: Claude execution failed:
Error: Process completed with exit code 1.