From a11575bae375651547f8b8829f3a82ddf07a195a Mon Sep 17 00:00:00 2001 From: simoleo89 Date: Mon, 31 Aug 2026 21:09:06 +0200 Subject: [PATCH] ci: add manual runtime diagnostics --- .gitea/workflows/ci.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 840ebfc5a2..ba1b360223 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -11,6 +11,19 @@ on: workflow_dispatch: jobs: + runtime-diagnostics: + if: gitea.event_name == 'workflow_dispatch' + runs-on: shell + steps: + - name: Read recent CMS runtime errors + run: | + set -e + echo "--- Recent CMS runtime errors ---" + pm2 logs next --lines 250 --nostream 2>&1 \ + | grep -Ei 'error|permissions|permission_ranks|permission_definitions|unknown column|doesn.t exist|digest' \ + | tail -120 \ + || true + check: if: startsWith(gitea.ref_name, 'v') == false runs-on: shell