PEP-301: шаг tools ставит tmux с повтором и падает явно, если не поставил
All checks were successful
peppa/lint lint: success за 2с
peppa/typecheck typecheck: success за 51с
peppa/build build: success за 36с
peppa/test test: success за 1567с
peppa-ci / ci (pull_request) Successful in 28m31s

Прогон 293 упал без tmux: сбой apt-get update внутри a && b не роняет шаг под bash -e,
и все тесты агентов падали со spawn tmux ENOENT.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
peppa-bot 2026-11-26 11:23:10 +00:00
parent 9fa993b86c
commit b1946f041a

View File

@ -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