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:
@@ -19,7 +19,16 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
CLAUDE_CODE_REMOTE: "true"
|
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
|
- name: Create, read back, and close a smoke-test bead
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
@@ -38,7 +47,17 @@ jobs:
|
|||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- name: Bootstrap through Cursor install command
|
- name: Bootstrap through Cursor install command
|
||||||
shell: bash
|
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
|
- name: Create, read back, and close a smoke-test bead
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user