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

sgerrand / ex_deputy / 26497017362
100%

Build:
DEFAULT BRANCH: main
Ran 27 May 2026 07:23AM UTC
Jobs 1
Files 13
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

27 May 2026 07:22AM UTC coverage: 98.997% (+0.02%) from 98.973%
26497017362

push

github

sgerrand
feat(telemetry): emit [:deputy, :request, :exception] on raise/throw/exit

`Deputy.HTTPClient.Req.request/1` previously dropped raises, throws and
exits from the underlying adapter on the floor: the `:stop` event never
fired and no `:exception` event was emitted, leaving instrumentation
blind to crash paths.

Wrap the request in a try/rescue/catch block that emits a new
`[:deputy, :request, :exception]` event with `duration`, `method`,
`url`, `kind`, `reason` and `stacktrace`, then re-raises the original
failure so callers still see it. The `:stop` event is suppressed for
the same request to avoid double-counting.

Document the event shape in `Deputy`'s moduledoc and cover both
exception and throw paths in tests.

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

296 of 299 relevant lines covered (99.0%)

16.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26497017362.1 27 May 2026 07:23AM UTC 13
99.0
GitHub Action Run
Source Files on build 26497017362
  • Tree
  • List 13
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26497017362
  • 81472b6e on github
  • Prev Build on main (#26496887830)
  • Next Build on main (#26500192526)
  • 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