Skip to content

fix(api): honor self-hosted email sender settings - #803

Draft
izadoesdev wants to merge 3 commits into
stagingfrom
codex/selfhost-email-senders
Draft

izadoesdev wants to merge 3 commits into
stagingfrom
codex/selfhost-email-senders

Conversation

@izadoesdev

@izadoesdev izadoesdev commented Sep 15, 2026

Copy link
Copy Markdown
Member

Alarm notifications ignored configured sender addresses and used the hosted databuddy.cc sender. Resolve them through the existing ALERTS_EMAIL_FROMEMAIL_FROM fallback, make the example alert override optional, and forward both sender variables through Turbo. Hosted sender defaults and per-alarm overrides remain unchanged.

This six-file change covers notification sender resolution and its delivery regression test, the existing @databuddy/env workspace dependency, .env.example, and Turbo configuration. Self-hosted Compose wiring and setup documentation belong to companion #804; the two PRs can land independently.

Validation: root bun run lint, all 33 typecheck tasks, and all 27 root test tasks pass. The notifications suite passes 27 tests, including mocked outbound delivery and all four sender-precedence cases. The delivery regression also covers channel selection and the default recipient, replacing a duplicate target-construction test. Full pre-push command output was captured locally.

AI-assisted implementation and verification with Codex.

@vercel

vercel Bot commented Sep 15, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
dashboard Ready Ready Preview Sep 15, 2026 8:09pm UTC
databuddy-status Ready Ready Preview Sep 15, 2026 8:09pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
documentation Skipped Skipped Sep 15, 2026 8:09pm UTC

@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: b3d11467-6b73-407f-9299-67dfde1e1771

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@unkey-deploy

unkey-deploy Bot commented Sep 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Unkey Deploy

Name Status Preview Inspect Updated (UTC)
links (preview) Ready Visit Preview Inspect Sep 15, 2026 8:08pm

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