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

coverallsapp / coverage-reporter / 31849246696
95%

Build:
DEFAULT BRANCH: master
Ran 14 Aug 2026 11:10PM UTC
Jobs 1
Files 44
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

14 Aug 2026 11:07PM UTC coverage: 94.383% (-0.03%) from 94.408%
31849246696

push

github

web-flow
Show trace IDs in API error output (#185)

* WIP: capture and display trace IDs in API error output

Adds a `headers` getter and `trace_id` helper to Api::HTTPError. The
helper probes common CDN/cloud tracing headers (cf-ray, x-request-id,
x-amzn-requestid, x-amzn-trace-id, x-trace-id) and returns the first
match. The CLI's error rescues for InternalServerError, UnprocessableEntity
and the generic HTTPError now print "Trace ID: ..." alongside the
existing status/response so users can include it when contacting support.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* Show trace IDs in API errors; drop 500 response-body dump

Finishes the trace-ID work:

- Suppress the `Trace ID:` line entirely when the response carried no
  tracing header, instead of emitting a blank line.
- Stop printing the response body for `InternalServerError`. A 500 is
  usually a CDN/proxy HTML error page, which is noise; the trace ID is
  the part support can act on.
- Add specs for `Api::HTTPError#trace_id`: every header in the probe
  chain, case-insensitive matching, precedence, fall-through, the nil
  cases, and both rescued subclasses.

Also resolves the codebase's only Warning-level ameba finding
(`Lint/UnusedRescueVariable` at cmd.cr:48).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

13 of 14 new or added lines in 2 files covered. (92.86%)

1025 of 1086 relevant lines covered (94.38%)

2.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
81.35
0.06% src/coverage_reporter/cli/cmd.cr
Jobs
ID Job ID Ran Files Coverage
1 31849246696.1 14 Aug 2026 11:10PM UTC 44
94.38
GitHub Action Run
Source Files on build 31849246696
  • Tree
  • List 44
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31849246696
  • 029a8fa7 on github
  • Prev Build on master (#31849215050)
  • Next Build on master (#31849307767)
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