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)

This commit is contained in:
Ed Langley
2026-09-26 00:56:39 -07:00
parent ad1032d35f
commit 08a1b108d9
+21 -2
View File
@@ -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: |