Skip to content

Commit 7f65ea5

Browse files
harden(regression.yml): notify step on live-regression failure — RR-03
Added notification for live-regression failures to Slack.
1 parent 20c9e4b commit 7f65ea5

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/regression.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,13 @@ jobs:
9898
[ "$TC" -ge 30 ] \
9999
&& echo "audit: turn_count=$TC OK" \
100100
|| { echo "audit: turn_count=$TC < 30"; exit 1; }
101+
102+
- name: Notify on live-regression failure
103+
if: failure()
104+
run: |
105+
echo "[DGAF] live-regression failed — Vercel unavailable or regression error. Suite still passing via continue-on-error."
106+
if [ -n "${{ secrets.SLACK_WEBHOOK }}" ]; then
107+
curl -s -X POST "${{ secrets.SLACK_WEBHOOK }}" \
108+
-H 'Content-type: application/json' \
109+
--data '{"text":"\u26a0\ufe0f DGAF live-regression failed (run ${{ github.run_id }}). Vercel may be unavailable. Suite overall: continue-on-error active."}'
110+
fi

0 commit comments

Comments
 (0)