From d2c12bb3bb9ffad461439bfa2df126879a8a7f60 Mon Sep 17 00:00:00 2001 From: Alejandro Roman Date: Tue, 9 Jun 2026 01:30:17 +0200 Subject: [PATCH] Solve previosu comments and refactor code --- .github/workflows/test-code-lint.yml | 2 -- roles/svc-runner/README.md | 2 ++ roles/svc-runner/files/test.sh | 11 +++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-code-lint.yml b/.github/workflows/test-code-lint.yml index c73c029aa7..dbca7abd54 100644 --- a/.github/workflows/test-code-lint.yml +++ b/.github/workflows/test-code-lint.yml @@ -34,7 +34,5 @@ jobs: - name: Build step summary from annotations if: always() working-directory: ${{ github.workspace }} - env: - PYTHONPATH: ${{ github.workspace }} run: | python3 -m utils.annotations.summarize /tmp/lint-output.txt "Lint Annotation Summary" diff --git a/roles/svc-runner/README.md b/roles/svc-runner/README.md index 873421f427..a7b2dc9042 100644 --- a/roles/svc-runner/README.md +++ b/roles/svc-runner/README.md @@ -148,3 +148,5 @@ Developed and maintained by **Kevin Veen-Birkenbach**. Learn more at [veen.world](https://www.veen.world). Part of the [Infinito.Nexus Project](https://s.infinito.nexus/code). Licensed under the [Infinito.Nexus Community License (Non-Commercial)](https://s.infinito.nexus/license). + +Role contributed by **Alejandro Roman Ibanez** — [GitHub](https://github.com/AlejandroRomanIbanez). diff --git a/roles/svc-runner/files/test.sh b/roles/svc-runner/files/test.sh index 562c245047..7ce910f2b5 100755 --- a/roles/svc-runner/files/test.sh +++ b/roles/svc-runner/files/test.sh @@ -51,3 +51,14 @@ if [[ "${DOCKER_IN_CONTAINER}" == "true" ]]; then echo "SKIP: nested deploy not supported in DinD (DOCKER_IN_CONTAINER=true)" exit 0 fi + +# On a real host: verify the compose stack is healthy +echo "Verifying runner compose stack on localhost..." +compose_output=$(compose --chdir "${RUNNER_INSTALL_DIR}" ps 2>&1) +if echo "${compose_output}" | grep -qi "fail\|exit\|dead"; then + echo "FAIL: runner compose stack reports failures" + echo "${compose_output}" + exit 1 +fi +echo "OK: runner compose stack healthy" +echo "${compose_output}"