diff --git a/.github/workflows/cloud-agent-smoke.yml b/.github/workflows/cloud-agent-smoke.yml index c5aa82cf..ec8bc4d7 100644 --- a/.github/workflows/cloud-agent-smoke.yml +++ b/.github/workflows/cloud-agent-smoke.yml @@ -19,7 +19,16 @@ jobs: shell: bash env: CLAUDE_CODE_REMOTE: "true" - run: ./.claude/hooks/session-start.sh + run: | + if ! ./.claude/hooks/session-start.sh; then + echo "=== /tmp/nix-daemon.log ===" + cat /tmp/nix-daemon.log 2>/dev/null || true + echo "=== /tmp/nix-seed.log ===" + cat /tmp/nix-seed.log 2>/dev/null || true + echo "=== /tmp/bd-install.log ===" + cat /tmp/bd-install.log 2>/dev/null || true + exit 1 + fi - name: Create, read back, and close a smoke-test bead shell: bash run: | @@ -38,7 +47,17 @@ jobs: - uses: actions/checkout@v7 - name: Bootstrap through Cursor install command shell: bash - run: nix-daemon >/tmp/nix-daemon.log 2>&1 & ./scripts/agent-bootstrap.sh + run: | + nix-daemon >/tmp/nix-daemon.log 2>&1 & + if ! ./scripts/agent-bootstrap.sh; then + echo "=== /tmp/nix-daemon.log ===" + cat /tmp/nix-daemon.log 2>/dev/null || true + echo "=== /tmp/nix-seed.log ===" + cat /tmp/nix-seed.log 2>/dev/null || true + echo "=== /tmp/bd-install.log ===" + cat /tmp/bd-install.log 2>/dev/null || true + exit 1 + fi - name: Create, read back, and close a smoke-test bead shell: bash run: |