From 08a1b108d9674c4dc9c00e3b18bc87aceecfb396 Mon Sep 17 00:00:00 2001 From: Ed Langley Date: Sat, 26 Sep 2026 00:56:39 -0700 Subject: [PATCH] test: surface cloud bootstrap failure logs\n\nEmit Nix and beads bootstrap diagnostics from the smoke jobs on failure.\n\nPosted-by: ChatGPT (GPT-5.6 Sol) --- .github/workflows/cloud-agent-smoke.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) 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: |