I use buildkite with preemptible VM instances. This means, agents can disappear in the middle of a build.
Looking through Top level pipeline env empty when queried through API, it seems I can set global settings in the YAML editor, so I went on and added the following in the web interface:
retry: automatic: - exit_status: -1 # Agent was lost limit: 2
The web interface seems to accept it, but I don’t see steps restarted when agents disappear.
I first commented on the thread there, but haven’t gotten any feedback, so opening a new thread here.