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

ruby-grape / grape / 32583282788
97%
master: 100%

Build:
Build:
LAST BUILD BRANCH: falcon_integration
DEFAULT BRANCH: master
Ran 22 Aug 2026 03:58PM UTC
Jobs 32
Files 168
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 Aug 2026 03:57PM UTC coverage: 96.991% (-0.004%) from 96.995%
32583282788

Pull #2840

github

ericproulx
Expose a swallowed exception on rack.exception in safe_default too (#2855)

safe_default is the unrecognised-error path: an exception raised inside a
rescue_from block that nothing else handles. Grape answers a generic 500 there
rather than letting it propagate, and records the exception on
env['grape.exception'].

That key is Grape's own and no error tracker reads it. Because the exception
never propagates, a tracker mounted above Grape has nothing to catch either, so
a bug in a rescue_from block has always been able to turn into a silent 500 —
the request is answered, the log says nothing, and the tracker never fires.

Publish it on env['rack.exception'] as well, the convention for an exception
that was handled rather than raised, which sentry-ruby collects as
env['rack.exception'] || env['sinatra.error']. Extracted as expose_exception,
now shared with the rendering failsafe.

The deliberate silence of this path is left alone: unlike the failsafe, a
rescue_from :internal_grape_exceptions handler can still own the response here,
so the logging stays the application's call.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2840: Answer 500 when an error response cannot be rendered

1228 of 1318 branches covered (93.17%)

Branch coverage included in aggregate %.

23 of 23 new or added lines in 3 files covered. (100.0%)

3865 of 3933 relevant lines covered (98.27%)

27123.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rails_8_0.gemfile - 32583282788.1 22 Aug 2026 03:58PM UTC 168
95.73
GitHub Action Run
2 run-3.3-gemfiles/rails_7_2.gemfile - 32583282788.2 22 Aug 2026 03:58PM UTC 168
95.73
GitHub Action Run
3 run-3.4-gemfiles/rails_8_1.gemfile - 32583282788.3 22 Aug 2026 03:58PM UTC 168
95.73
GitHub Action Run
4 run-4.0-gemfiles/hashie.gemfile - 32583282788.4 22 Aug 2026 03:58PM UTC 167
62.0
GitHub Action Run
5 run-4.0-gemfiles/rack_3_2.gemfile - 32583282788.5 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
6 run-4.0-gemfiles/multi_json.gemfile - 32583282788.6 22 Aug 2026 03:58PM UTC 167
47.55
GitHub Action Run
7 run-3.3-gemfiles/rack_2_2.gemfile - 32583282788.7 22 Aug 2026 03:58PM UTC 167
95.69
GitHub Action Run
8 run-4.0-gemfiles/grape_swagger.gemfile - 32583282788.8 22 Aug 2026 03:58PM UTC 167
55.31
GitHub Action Run
9 run-4.0-gemfiles/rack_3_1.gemfile - 32583282788.9 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
10 run-3.4-gemfiles/rails_7_2.gemfile - 32583282788.10 22 Aug 2026 03:58PM UTC 168
95.73
GitHub Action Run
11 run-3.4-gemfiles/rack_3_2.gemfile - 32583282788.11 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
12 run-4.0-gemfiles/grape_entity.gemfile - 32583282788.12 22 Aug 2026 03:58PM UTC 167
50.2
GitHub Action Run
13 run-3.4-gemfiles/rack_3_1.gemfile - 32583282788.13 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
14 run-3.3-gemfiles/rack_3_2.gemfile - 32583282788.14 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
15 run-4.0-gemfiles/rails_8_0.gemfile - 32583282788.15 22 Aug 2026 03:58PM UTC 168
95.73
GitHub Action Run
16 run-3.4-gemfiles/rack_2_2.gemfile - 32583282788.16 22 Aug 2026 03:58PM UTC 167
95.69
GitHub Action Run
17 run-3.3-Gemfile - 32583282788.17 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
18 run-4.0-gemfiles/multi_xml.gemfile - 32583282788.18 22 Aug 2026 03:58PM UTC 167
46.98
GitHub Action Run
19 run-3.4-gemfiles/rack_3_0.gemfile - 32583282788.19 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
20 run-3.4-Gemfile - 32583282788.20 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
21 run-3.3-gemfiles/rack_3_1.gemfile - 32583282788.21 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
22 run-4.0-gemfiles/multi_xml_0_8.gemfile - 32583282788.22 22 Aug 2026 03:58PM UTC 167
47.02
GitHub Action Run
23 run-4.0-Gemfile - 32583282788.23 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
24 run-4.0-gemfiles/rack_3_0.gemfile - 32583282788.24 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
25 run-4.0-gemfiles/rails_7_2.gemfile - 32583282788.25 22 Aug 2026 03:58PM UTC 168
95.73
GitHub Action Run
26 run-4.0-gemfiles/multi_json_1_20.gemfile - 32583282788.26 22 Aug 2026 03:58PM UTC 167
47.59
GitHub Action Run
27 run-4.0-gemfiles/dry_validation.gemfile - 32583282788.27 22 Aug 2026 03:58PM UTC 167
58.0
GitHub Action Run
28 run-4.0-gemfiles/rack_2_2.gemfile - 32583282788.28 22 Aug 2026 03:58PM UTC 167
95.69
GitHub Action Run
29 run-3.3-gemfiles/rack_3_0.gemfile - 32583282788.29 22 Aug 2026 03:58PM UTC 167
95.73
GitHub Action Run
30 run-4.0-gemfiles/rails_8_1.gemfile - 32583282788.30 22 Aug 2026 03:58PM UTC 168
95.73
GitHub Action Run
31 run-3.3-gemfiles/rails_8_1.gemfile - 32583282788.31 22 Aug 2026 03:58PM UTC 168
95.73
GitHub Action Run
32 run-3.4-gemfiles/rails_8_0.gemfile - 32583282788.32 22 Aug 2026 03:58PM UTC 168
95.73
GitHub Action Run
Source Files on build 32583282788
  • Tree
  • List 168
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32583282788
  • Pull Request #2840
  • PR Base - master (#32582889873)
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