Add PRODUCTION alert for main branch CI failures

When CI fails on main, notification escalates to 🚨 with
"PRODUCTION CI FAILED" header and instructions to verify
tsharps.com is still working.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude BM 2026-04-28 15:03:18 +00:00
parent 8cf2b6c1cb
commit 6d31b9bf2e

View File

@ -35,6 +35,23 @@ ${SUITE_INFO}
elif [ "$STATUS" = "fail" ]; then
ICON="❌"
if [ "$BRANCH" = "main" ]; then
ICON="🚨"
MSG="${ICON} PRODUCTION CI FAILED on main (${COMMIT})
⚠️ PRODUCTION DEPLOY SHOULD BE BLOCKED — tests did not pass.
If deploy-production.yml ran, it should have reverted automatically.
Verify tsharps.com is still working!
Tests: ${SUMMARY}
Features: ${FEATURES}
Duration: ${DURATION}
Pushed by: ${ACTOR}
${SUITE_INFO}
${TAG_USERS} — PRODUCTION needs immediate attention.
@TSHARPSbm_bot"
else
MSG="${ICON} CI FAILED on ${BRANCH} (${COMMIT})
Tests: ${SUMMARY}
@ -45,6 +62,7 @@ ${SUITE_INFO}
${TAG_USERS} — this build needs attention.
@TSHARPSbm_bot"
fi
elif [ "$STATUS" = "error" ]; then
ICON="🚨"