From b1946f041a417f53788dfc08e39306312e92a674 Mon Sep 17 00:00:00 2001 From: peppa-bot Date: Thu, 26 Nov 2026 11:23:10 +0000 Subject: [PATCH] =?UTF-8?q?PEP-301:=20=D1=88=D0=B0=D0=B3=20tools=20=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D0=B2=D0=B8=D1=82=20tmux=20=D1=81=20=D0=BF=D0=BE?= =?UTF-8?q?=D0=B2=D1=82=D0=BE=D1=80=D0=BE=D0=BC=20=D0=B8=20=D0=BF=D0=B0?= =?UTF-8?q?=D0=B4=D0=B0=D0=B5=D1=82=20=D1=8F=D0=B2=D0=BD=D0=BE,=20=D0=B5?= =?UTF-8?q?=D1=81=D0=BB=D0=B8=20=D0=BD=D0=B5=20=D0=BF=D0=BE=D1=81=D1=82?= =?UTF-8?q?=D0=B0=D0=B2=D0=B8=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Прогон 293 упал без tmux: сбой apt-get update внутри a && b не роняет шаг под bash -e, и все тесты агентов падали со spawn tmux ENOENT. Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 20b98310..a9026e04 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -34,7 +34,10 @@ jobs: node-version: "26" - name: tools run: | - apt-get update -qq && apt-get install -y -qq tmux >/dev/null + # PEP-301: a failed `apt-get update` inside `a && b` does not stop a `bash -e` step — tmux was + # silently missing and every agent test fell with `spawn tmux ENOENT`. Retry, then fail here. + for i in 1 2 3; do apt-get update -qq && apt-get install -y -qq tmux >/dev/null && break; sleep 10; done + command -v tmux >/dev/null || { echo "tmux is not installed — the test step cannot run agents" >&2; exit 1; } # Job-local prefix: the node toolcache is shared between jobs running at the same time # (PR + push of one commit), and two global installs into it collide (ENOTEMPTY/EEXIST). npm install -g --prefix "$RUNNER_TEMP/tools" pnpm@12.18.0 @fission-ai/openspec@2.0.0 >/dev/null