auth: clarify Resend webhook log messages - #209
Conversation
Railway and similar log viewers emphasize message text, so the generic webhook message hid the event type and provider unless operators expanded structured properties.\n\nInclude the normalized event type and provider directly in each accepted webhook message while retaining the existing structured fields.\n\nCo-authored-by: OpenAI <noreply@openai.com>
🦋 Changeset detectedLatest commit: 0af6d7f The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughResend webhook logs now include the normalized email event type and provider in their human-readable messages. Info and warning log assertions were updated, and a Changesets entry documents the operator-facing change. ChangesResend webhook logging
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install timed out. The project may have too many dependencies for the sandbox. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Coverage Report for CI Build 29761633787Coverage remained the same at 57.272%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
|
🚅 Deployed to the ePDS-pr-209 environment in ePDS
|



Summary
Make Resend webhook events immediately legible in log viewers that emphasize message text over structured properties.
Changes
eventTypeandproviderfields.Testing
pnpm format:checkpnpm linttsc --build tsconfig.json)pnpm test— 1,067 tests passedpnpm test:coverageNotes
Messages now use text such as
Received email event delivered from resend.Summary by CodeRabbit