From 96fb9cc082bfbf8a4ae209c115e1f0947307e558 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9A=B0=EC=88=98?= Date: Thu, 20 Aug 2026 14:51:12 +0900 Subject: [PATCH] chore: probe live dashboard health --- .github/workflows/session-live-health.yml | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/session-live-health.yml diff --git a/.github/workflows/session-live-health.yml b/.github/workflows/session-live-health.yml new file mode 100644 index 0000000..964ed25 --- /dev/null +++ b/.github/workflows/session-live-health.yml @@ -0,0 +1,27 @@ +name: Session live health probe + +on: + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + probe: + runs-on: ubuntu-latest + timeout-minutes: 3 + steps: + - name: Check public dashboard health + shell: bash + run: | + set -euo pipefail + echo "Checking public health endpoint" + code=$(curl -sS -o /tmp/health.json -w '%{http_code}' --max-time 15 https://ontology.oosu.dev/dev_dashboard/api/health || true) + echo "HTTP=$code" + if [ -f /tmp/health.json ]; then + head -c 1000 /tmp/health.json + echo + fi + test "$code" = "200" + grep -q '"status"[[:space:]]*:[[:space:]]*"ok"' /tmp/health.json