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

microlinkhq / html-get / 31159685158
98%

Build:
DEFAULT BRANCH: master
Ran 07 Aug 2026 07:59AM UTC
Jobs 1
Files 4
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

07 Aug 2026 07:57AM UTC coverage: 97.589% (-0.3%) from 97.847%
31159685158

push

github

web-flow
fix: fall back when mutool fails instead of returning empty HTML (#272)

* fix: fall back when mutool fails instead of returning empty HTML

PDF conversion had no try/catch (unlike pandoc after #265). A mutool
throw after a successful fetch escaped into fetch's outer catch, which
returned html:'' with no statusCode/headers — a blank success shell.

Catch mutool failures (and empty output), log them, and fall through to
the raw body path so the successful response is preserved.

Co-authored-by: kikohumanbeatbox <kikohumanbeatbox@gmail.com>

* perf(pdf): skip decoding PDF payload when mutool fails

The fallback path decoded the entire PDF buffer through toEncode, but
addBody drops non-media, non-JSON bodies, so the result was discarded.
A 20MB PDF with a failing mutool spent 7.5s producing a 190-char document.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017693rzpJsPgMSn8xPq3pz2

* refactor(pdf): collapse duplicated mutool empty handling

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017693rzpJsPgMSn8xPq3pz2

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: kikohumanbeatbox <kikohumanbeatbox@gmail.com>
Co-authored-by: Kiko Beats <josefrancisco.verdu@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

205 of 218 branches covered (94.04%)

Branch coverage included in aggregate %.

16 of 17 new or added lines in 1 file covered. (94.12%)

807 of 819 relevant lines covered (98.53%)

30.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.04
-0.45% src/index.js
Jobs
ID Job ID Ran Files Coverage
1 31159685158.1 07 Aug 2026 07:59AM UTC 4
97.59
GitHub Action Run
Source Files on build 31159685158
  • Tree
  • List 4
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #31159685158
  • 32202add on github
  • Prev Build on master (#30847277983)
  • Next Build on master (#31406280424)
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