From 57ca0107bc5f42194b8c62d4e48b57d47b2c181c Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Mon, 23 Mar 2026 07:05:55 -0700 Subject: [PATCH] debug: add claude CLI smoke test step to diagnose exit_code_1 Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/evals.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/evals.yml b/.github/workflows/evals.yml index 2da62b5a..011f2083 100644 --- a/.github/workflows/evals.yml +++ b/.github/workflows/evals.yml @@ -107,6 +107,14 @@ jobs: - run: bun run build + - name: Debug claude CLI + run: | + echo "=== claude version ===" && claude --version || true + echo "=== claude smoke test ===" && echo "say hello" | claude -p --output-format text --dangerously-skip-permissions 2>&1 | head -5 || true + echo "=== bun version ===" && bun --version + echo "=== HOME ===" && echo $HOME + echo "=== whoami ===" && whoami || true + - name: Run ${{ matrix.suite.name }} env: ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}