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

mroderick / codebar-planner / 24353712796
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: fix/invalid-emails
DEFAULT BRANCH: master
Ran 13 Apr 2026 04:30PM UTC
Jobs 1
Files 182
Run time 2min
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

13 Apr 2026 04:08PM UTC coverage: 95.568% (+0.003%) from 95.565%
24353712796

push

github

mroderick
fix: validate email format and add defensive mailer checks

- Add email format validation to Member model (conditional on can_log_in)
- Add defensive validation in EmailHeaderHelper with warning logs
- Add tests for email format validation
- Add tests for EmailHeaderHelper#mail_args

The SMTP error was caused by invalid email addresses in the database.
Member 2413 had 'emmalepinay.yahoo.com' (missing @) causing 501 errors.

Resolves the root cause at three layers:
1. Database cleanup (set NULL for bad emails)
2. Member model validation (reject invalid at registration)
3. Mailer defense (skip invalid with log warning)

8 of 8 new or added lines in 2 files covered. (100.0%)

2 existing lines in 1 file now uncovered.

3493 of 3655 relevant lines covered (95.57%)

46.11 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
98.08
0.02% app/models/member.rb
Jobs
ID Job ID Ran Files Coverage
1 24353712796.1 13 Apr 2026 04:30PM UTC 1092
69.68
GitHub Action Run
Source Files on build 24353712796
  • Tree
  • List 182
  • Changed 120
  • Source Changed 2
  • Coverage Changed 120
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24353712796
  • 23d0eb25 on github
  • Prev Build on fix/invalid-emails (#24354182821)
  • Next Build on fix/invalid-emails (#24388053531)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc