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

codebar / planner / 27032928446
95%
master: 93%

Build:
Build:
LAST BUILD BRANCH: feature/embed-email-css-in-style-block
DEFAULT BRANCH: master
Ran 05 Jun 2026 06:34PM UTC
Jobs 1
Files 188
Run time 1min
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: 95.329% (+0.01%) from 95.319%
27032928446

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

36 of 36 new or added lines in 9 files covered. (100.0%)

3551 of 3725 relevant lines covered (95.33%)

42.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 27032928446.1 05 Jun 2026 06:34PM UTC 1128
70.34
GitHub Action Run
Source Files on build 27032928446
  • Tree
  • List 188
  • Changed 121
  • Source Changed 9
  • Coverage Changed 121
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #27032928446
  • Pull Request #2635
  • PR Base - master (#26658007882)
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