ops: bsky DM on deploy failure (#1027)
* ops: bsky DM on deploy failure
prod deploy v284 silently failed and went unnoticed for ~5h. add a
self-contained notification script that sends a bsky DM when the deploy
workflow fails, using the same atproto DM pattern as the backend.
- scripts/notify_deploy_failure.py: standalone script (no backend deps)
- deploy-prod.yml: if: failure() step runs via uvx --with atproto
requires 3 GHA secrets: BSKY_NOTIFY_HANDLE, BSKY_NOTIFY_PASSWORD,
BSKY_NOTIFY_RECIPIENT
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: add setup-uv step before uvx notify script
uvx isn't available on GHA runners by default — need
astral-sh/setup-uv first, matching other workflows.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: reuse existing NOTIFY_BOT_* / NOTIFY_RECIPIENT_HANDLE secrets
these are already set in GHA — no need for new BSKY_NOTIFY_* secrets.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
authored by
zzstoatzz.io