From 4d3f8b4cb5f3d8fb777e9f852f26f0b8e016f9dd Mon Sep 17 00:00:00 2001 From: Garry Tan Date: Mon, 23 Mar 2026 07:15:24 -0700 Subject: [PATCH] debug: more verbose claude CLI diagnostics --- .github/workflows/evals.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/evals.yml b/.github/workflows/evals.yml index fbbfa998..000b99f9 100644 --- a/.github/workflows/evals.yml +++ b/.github/workflows/evals.yml @@ -109,12 +109,16 @@ jobs: - run: bun run build - name: Debug claude CLI + env: + ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} 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 "=== which claude ===" && which claude 2>&1 || true + echo "=== claude path ===" && ls -la $(which claude 2>/dev/null) 2>&1 || true + echo "=== node version ===" && node --version 2>&1 || true + echo "=== claude version ===" && claude --version 2>&1 || true + echo "=== claude smoke ===" && echo "say hi" | claude -p --output-format text --dangerously-skip-permissions 2>&1 | head -10 || true echo "=== HOME ===" && echo $HOME - echo "=== whoami ===" && whoami || true + echo "=== id ===" && id 2>&1 || true - name: Run ${{ matrix.suite.name }} env: