fix: Hide potentially-sensitive alert errors#2136
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🔴 Tier 4 — CriticalTouches auth, data models, config, tasks, OTel pipeline, ClickHouse, or CI/CD. Why this tier:
Review process: Deep review from a domain expert. Synchronous walkthrough may be required. Stats
|
PR Review✅ No critical issues found.
Overall: clean approach, well-tested, tests explicitly assert the raw error string does not leak ( |
E2E Test Results✅ All tests passed • 147 passed • 3 skipped • 1073s
Tests ran across 4 shards in parallel. |
Summary
This PR updates the recent alert runner error persistence + display (#2132) to hardcode webhook and unknown-type errors. The raw error messages could contain potentially sensitive information, so we won't persist them or show them in the UI.
How to test locally or on Vercel
This can be tested locally by running an alert with an invalid webhook destination.