From c4446eae907edad2ec53cdce41148cf28a42232f Mon Sep 17 00:00:00 2001 From: Kevin Liu Date: Wed, 18 Mar 2026 01:06:45 -0400 Subject: [PATCH] add debug --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c07b08bb..e79420adc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -226,6 +226,21 @@ jobs: with: enable-cache: true + - name: Debug host and Docker resources (pre-build) + if: inputs.build_mode == 'release' + run: | + set -x + uname -a + nproc + free -h + swapon --show || true + ulimit -a + df -h + docker version + docker info + docker system df + docker ps -a + - name: Build (release mode) uses: PyO3/maturin-action@v1 if: inputs.build_mode == 'release' @@ -251,6 +266,16 @@ jobs: name: dist-manylinux-aarch64 path: dist/* + - name: Debug OOM signals (post-build) + if: always() && inputs.build_mode == 'release' + run: | + set +e + docker ps -a + docker system df + docker stats --no-stream + sudo dmesg -T | grep -Ei 'out of memory|killed process|oom-killer|oom' | tail -n 100 + echo "debug step complete" + # ============================================ # Build - macOS arm64 / Windows # ============================================