From f178ecdcc77a96b48f53716f6365902bd4ecb530 Mon Sep 17 00:00:00 2001 From: Fernando Rivas Date: Thu, 27 Aug 2026 01:40:21 -0600 Subject: [PATCH] =?UTF-8?q?fix(ci):=20forzar=20entorno=20no=20interactivo?= =?UTF-8?q?=20y=20agregar=20diagn=C3=B3stico=20a=20runme-ci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit El job runme fallaba en el runner real con "could not execute command: aborted" justo al iniciar "runme run", algo que no se pudo reproducir localmente (incluso forzando stdin/stdout no interactivos) — probable diferencia de cómo act_runner en modo nativo/host expone el proceso frente a una sesión interactiva. Se agrega CI=true y TERM=dumb al job (convención estándar que muchas TUIs respetan) y --log/--log-file a runme-ci para que, si vuelve a fallar, el paso de diagnóstico imprima el log real en vez de repetir el ciclo de adivinar a ciegas. Co-Authored-By: Claude Sonnet 5 --- .gitea/workflows/ci.yml | 9 +++++++++ Makefile | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 987f81f..eb73626 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -66,6 +66,8 @@ jobs: env: DO_NOT_TRACK: "true" SCARF_NO_ANALYTICS: "true" + CI: "true" + TERM: "dumb" steps: - uses: actions/checkout@v4 @@ -90,3 +92,10 @@ jobs: - name: Ejecutar celdas ci-safe de RUNBOOK.md run: make runme-ci + + - name: Diagnóstico de runme (sólo si falló el paso anterior) + if: failure() + run: | + echo "runme version: $(runme --version)" + echo "--- /tmp/runme-ci.log ---" + cat /tmp/runme-ci.log 2>&1 || echo "(sin log)" diff --git a/Makefile b/Makefile index 7f2f2a0..50241ea 100644 --- a/Makefile +++ b/Makefile @@ -56,4 +56,4 @@ runme-check: build ./scripts/runme-check.sh runme-ci: build - runme run --filename RUNBOOK.md --tag ci-safe --all --skip-prompts + runme --log --log-file /tmp/runme-ci.log run --filename RUNBOOK.md --tag ci-safe --all --skip-prompts