Skip to content

Relay: branded OTP email via Resend only - #267

Merged
0thernet merged 1 commit into
mainfrom
devin/relay-otp-email-20260928
Sep 28, 2026
Merged

0thernet merged 1 commit into
mainfrom
devin/relay-otp-email-20260928

Conversation

@0thernet

Copy link
Copy Markdown
Member

Summary

  • Pins @hraness/relay to 5ef01b0 (hraness/relay#7): sign-in codes now use the Accounts format — subject {code} is your xcb sign-in code, plain-text body with the 10-minute expiry line — via the new productName config
  • OTP delivery failures now surface to the CLI (relay error: Email delivery is unavailable.) instead of falsely printing that a code was emailed; the challenge records ambiguous
  • Removes the dead sendgrid transport branch and its XCB_SENDGRID_* env wiring; log, resend, webhook remain. Production is already configured for resend (xcb <xcb@auth.hraness.com>)

Test plan

  • bun run typecheck, check:versions, check:convex clean
  • bun test ./src ./test ./scripts — 1094/1094 pass
  • Upstream relay suite covers the new behavior (99/99, incl. end-to-end resend success + failure paths)

Generated with Devin

Pin @hraness/relay to 5ef01b0: sign-in codes now use the Accounts
format ({code} is your xcb sign-in code) and delivery failures surface
to the client instead of printing that a code was emailed. Drops the
dead sendgrid transport and its env wiring.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
xcb Ready Ready Preview Sep 28, 2026 3:46pm UTC

Request Review

@0thernet
0thernet enabled auto-merge (squash) September 28, 2026 15:46
@0thernet
0thernet merged commit 46aefa8 into main Sep 28, 2026
18 checks passed
@0thernet
0thernet deleted the devin/relay-otp-email-20260928 branch September 28, 2026 15:52

This branch was successfully deployed

1 active deployment
Preview — 760b0729 Deployed Sep 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant