From 20b0324d1794252e4ffa510f3c7202d84f9cc187 Mon Sep 17 00:00:00 2001 From: "Aleksei (Faumaray) Selikhov" Date: Sun, 6 Dec 2026 11:03:59 +0300 Subject: [PATCH] ci: collect diagnostics when the installer job fails Print disk usage and the materialized tree contents so the next failure shows whether files are missing at rest or deleted during the build. --- .gitea/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e5959bc..f2b1c02 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -284,6 +284,17 @@ jobs: install_archive "${fmt}" "${ext}" done ls -l "${out}/" + - name: Collect installer diagnostics + if: failure() + run: | + df -h . || true + for tree in $(find build/selfhost-* -type d -path '*snapshots/trees/*' \ + -not -name '*.staging_*' 2>/dev/null); do + echo "== ${tree}" + echo "files on disk: $(find "${tree}" -type f | wc -l)" + ls -la "${tree}" | head -5 + ls -la "${tree}/src/Log" 2>/dev/null | head -5 + done - name: Upload the installers uses: actions/upload-artifact@v3 with: