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

healthchecks / healthchecks / 29913327451
92%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2026 10:49AM UTC
Jobs 1
Files 225
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

22 Jul 2026 10:48AM UTC coverage: 91.798% (+0.006%) from 91.792%
29913327451

push

github

cuu508
Fix the email integration to sanitize long lines in .eml attachments

The problem:

* User pings a check by sending an email. The email uses
  "Content-Transfer-Encoding: 8bit", and the email body is all one
  very long line (thousands of characters)
* Healthchecks accepts the email message
* After period of no pings, the check goes down and `sendalerts`
  sends a notification. The email integration includes the last
  received email message as a message/rfc822 attachment. It leaves
  the very long lines in the attachment as-is.
* A SMTP server downstream rejects the email (line too long).

The fix: call set_content(get_content()) on the attachment (or on
each of its parts if it is a multipart message). This causes python
to select an optimal content-transfer-encoding and wrap the lines.

14 of 14 new or added lines in 1 file covered. (100.0%)

8461 of 9217 relevant lines covered (91.8%)

0.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29913327451.1 22 Jul 2026 10:49AM UTC 225
91.8
GitHub Action Run
Source Files on build 29913327451
  • Tree
  • List 225
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2f79af0c on github
  • Prev Build on master (#29839036720)
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