fix(spec): change pod restart policy to Always
Some checks failed
build / build (push) Successful in 43s
Go Tests / go-tests (push) Failing after 1m3s

Allow runner pods to automatically restart on failure instead of never restarting. This improves reliability and enables better recovery from transient failures.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Manuel Ganter 2025-10-24 14:55:30 +02:00
parent 97ffb6a6de
commit e1c5257388
No known key found for this signature in database

View file

@ -154,7 +154,7 @@ func GetPodSpec(gitHubScope GitHubScopeDetails, bootstrapParams params.Bootstrap
envs := GetRunnerEnvs(gitHubScope, bootstrapParams)
return corev1.PodSpec{
RestartPolicy: corev1.RestartPolicyNever,
RestartPolicy: corev1.RestartPolicyAlways,
Containers: []corev1.Container{
{
Name: "runner",