From 01f73c79535d9b6bad531f956a2959a008e764c9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 26 May 2026 17:41:58 +0000 Subject: [PATCH] ci: restore develop workflow debug step --- .github/workflows/develop.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index d0d2804c6a..71fa80fe1d 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -701,6 +701,19 @@ jobs: run: tar -xvf ./bins.tar.gz - name: Run sqlness run: RUST_BACKTRACE=1 ./bins/sqlness-runner bare ${{ matrix.mode.opts }} -c ./tests/cases --bins-dir ./bins --preserve-state + - name: Dump PostgreSQL debug info + if: ${{ failure() && contains(matrix.mode.opts, '--setup-pg') }} + shell: bash + run: | + set +e + echo "=== docker ps -a ===" + docker ps -a + echo "=== docker logs greptimedb_pg ===" + docker logs --tail 300 greptimedb_pg + echo "=== tail sqlness metasrv logs ===" + find /tmp -maxdepth 2 -type f -name "greptime-*-sqlness-metasrv.log" -print -exec tail -n 300 {} \; + echo "=== find sqlness temp files ===" + find /tmp -maxdepth 3 -path "/tmp/sqlness*" -print - name: Upload sqlness logs if: failure() uses: actions/upload-artifact@v4