feat(notifications): Slack alerts for new pilot requests

- Add src/notifications/slack.ts — Slack webhook integration with rich blocks
- Add src/notifications/index.ts — dispatcher with test-submission filtering
- Wire notifyNewPilotRequest() into POST /api/pilot-request (fire-and-forget)
- Filter out test submissions (@example.com, E2E, Smoke Test, QA Test, Browser Test)
- Skip alert gracefully when SLACK_PILOT_WEBHOOK_URL is not set
- Update .gitignore to exclude .playwright-mcp/ artifacts
This commit is contained in:
Garfield
2026-05-14 18:22:52 -04:00
parent 1ddc1aab19
commit 1742a2f599
4 changed files with 160 additions and 0 deletions

1
.gitignore vendored
View File

@@ -22,3 +22,4 @@ videos/remotion-demo/out
videos/remotion-demo/public/*.mov
product/*.mov
.gstack/
.playwright-mcp/