Skip to content

Commit 1a3ab16

Browse files
pedjakclaude
andcommitted
fix(ci): upgrade asciinema from 2.4 to 3.2.1 in update-demos workflow
The update-demos CI job fails with "Network is unreachable" when uploading recordings. The apt-packaged asciinema 2.4.0 (Python) uses urllib which tries IPv6 first and fails on runners without IPv6 connectivity. Replace with the asciinema 3.2.1 static binary (Rust) which handles dual-stack networking via happy eyeballs. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 96df561 commit 1a3ab16

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/update-demos.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,33 @@ jobs:
2323
env:
2424
TERM: linux
2525
steps:
26-
- run: sudo apt update && sudo apt install -y asciinema curl
26+
- name: Install asciinema
27+
env:
28+
ASCIINEMA_VERSION: "3.2.1"
29+
run: |
30+
curl -fsSL "https://github.com/asciinema/asciinema/releases/download/v${ASCIINEMA_VERSION}/asciinema-x86_64-unknown-linux-gnu" -o /usr/local/bin/asciinema
31+
chmod +x /usr/local/bin/asciinema
32+
asciinema --version
2733
- uses: actions/checkout@v6.0.2
2834
- uses: actions/setup-go@v6
2935
with:
3036
go-version-file: "go.mod"
37+
- name: Debug network connectivity to asciinema.org
38+
run: |
39+
echo "=== DNS resolution ==="
40+
host asciinema.org || true
41+
echo "=== IPv4 connectivity ==="
42+
curl -4 -sS --connect-timeout 5 -o /dev/null -w "HTTP %{http_code} via %{remote_ip}\n" https://asciinema.org || true
43+
echo "=== IPv6 connectivity ==="
44+
curl -6 -sS --connect-timeout 5 -o /dev/null -w "HTTP %{http_code} via %{remote_ip}\n" https://asciinema.org || true
3145
- name: Run Demo Update
3246
run: |
3347
env -i \
3448
HOME="$HOME" \
3549
PATH="$PATH" \
3650
TERM="xterm-256color" \
3751
SHELL="/bin/bash" \
52+
ASCIINEMA_SERVER_URL="https://asciinema.org" \
53+
RUST_LOG="debug" \
3854
make update-demos
3955

0 commit comments

Comments
 (0)