• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

codebar / planner / 27032928446 / 1
95%
master: 93%

Build:
Build:
LAST BUILD BRANCH: feature/strong-migrations
DEFAULT BRANCH: master
Ran 05 Jun 2026 06:34PM UTC
Files 1128
Run time 36s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

05 Jun 2026 06:30PM UTC coverage: 70.336% (+0.7%) from 69.684%
27032928446.1

Pull #2635

github

mroderick
fix: safely skip emails to members with invalid addresses

Replace the dangerous mail(mail_args(...)) pattern, which returned nil
for invalid emails and caused NoMethodError crashes in ActionMailer,
with a new mail_to_member helper that returns a SkippedEmail null object.

Changes:
- Add EmailHeaderHelper::SkippedEmail with no-op delivery methods
- Add mail_to_member that validates email before calling mail()
- Migrate all 8 mailers to use mail_to_member
- Guard EmailDelivery#log_sent_email when mail was skipped
- Remove the now-unused mail_args method
- Add skip-path tests for every mailer method

Fixes: https://app.rollbar.com/a/codebar-production/fix/item/codebar-production/690#detail
Pull Request #2635: fix: safely skip emails to members with invalid addresses

15720 of 22350 relevant lines covered (70.34%)

7.02 hits per line

Source Files on job 27032928446.1
  • Tree
  • List 1128
  • Changed 121
  • Source Changed 9
  • Coverage Changed 121
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27032928446
  • f18df398 on github
  • Prev Job for on feature/fix-mailer-crash-on-invalid-email (#26658007882.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc