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

ruby-grape / grape / 36849486132
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix/error-raises
DEFAULT BRANCH: master
Ran 01 Oct 2026 10:30AM UTC
Jobs 32
Files 167
Run time 2min
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

01 Oct 2026 10:29AM UTC coverage: 99.966%. First build
36849486132

push

github

ericproulx
Raise from error! instead of throwing :error

error! threw :error, and a throw is not an exception. Active Record
commits a transaction that a throw leaves, so error! inside a
transaction saved what the block had written while the client was told
the request failed. A throw cannot leave the fiber it was thrown in
either, so error! inside an Async task answered 500.

error! now raises Grape::Exceptions::Halt, a StandardError carrying the
same ErrorResponse. The error middleware takes it inside its catch, so
it is rendered where a thrown error is and never reaches rescue_from.
Its backtrace is preset empty, as Validation's is, so raise skips
capturing one.

throw :error from middleware and rescue_from handlers keeps working.

Fixes #2197

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

1512 of 1513 branches covered (99.93%)

Branch coverage included in aggregate %.

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

4399 of 4400 relevant lines covered (99.98%)

29574.59 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_3_2.gemfile - 36849486132.1 01 Oct 2026 10:30AM UTC 166
98.8
GitHub Action Run
2 run-4.0-gemfiles/multi_xml_0_8.gemfile - 36849486132.2 01 Oct 2026 10:31AM UTC 165
45.6
GitHub Action Run
3 run-4.0-gemfiles/grape_entity.gemfile - 36849486132.3 01 Oct 2026 10:31AM UTC 165
48.7
GitHub Action Run
4 run-3.4-gemfiles/rails_8_1.gemfile - 36849486132.4 01 Oct 2026 10:31AM UTC 167
98.8
GitHub Action Run
5 run-3.4-Gemfile - 36849486132.5 01 Oct 2026 10:30AM UTC 166
98.8
GitHub Action Run
6 run-4.0-gemfiles/multi_json.gemfile - 36849486132.6 01 Oct 2026 10:31AM UTC 165
45.88
GitHub Action Run
7 run-3.3-gemfiles/rack_3_0.gemfile - 36849486132.7 01 Oct 2026 10:30AM UTC 166
98.81
GitHub Action Run
8 run-3.3-gemfiles/rack_3_1.gemfile - 36849486132.8 01 Oct 2026 10:30AM UTC 166
98.81
GitHub Action Run
9 run-4.0-gemfiles/grape_swagger.gemfile - 36849486132.9 01 Oct 2026 10:30AM UTC 165
53.12
GitHub Action Run
10 run-3.4-gemfiles/rack_3_0.gemfile - 36849486132.10 01 Oct 2026 10:31AM UTC 166
98.8
GitHub Action Run
11 run-3.3-Gemfile - 36849486132.11 01 Oct 2026 10:31AM UTC 166
98.81
GitHub Action Run
12 run-4.0-gemfiles/multi_json_1_20.gemfile - 36849486132.12 01 Oct 2026 10:31AM UTC 165
45.91
GitHub Action Run
13 run-3.3-gemfiles/rack_3_2.gemfile - 36849486132.13 01 Oct 2026 10:31AM UTC 166
98.81
GitHub Action Run
14 run-4.0-gemfiles/hashie.gemfile - 36849486132.14 01 Oct 2026 10:31AM UTC 165
59.75
GitHub Action Run
15 run-3.4-gemfiles/rack_3_1.gemfile - 36849486132.15 01 Oct 2026 10:31AM UTC 166
98.8
GitHub Action Run
16 run-4.0-gemfiles/rails_8_1.gemfile - 36849486132.16 01 Oct 2026 10:31AM UTC 167
98.8
GitHub Action Run
17 run-4.0-gemfiles/rails_8_0.gemfile - 36849486132.17 01 Oct 2026 10:31AM UTC 167
98.8
GitHub Action Run
18 run-4.0-gemfiles/rack_3_1.gemfile - 36849486132.18 01 Oct 2026 10:31AM UTC 166
98.8
GitHub Action Run
19 run-4.0-gemfiles/rack_3_0.gemfile - 36849486132.19 01 Oct 2026 10:31AM UTC 166
98.8
GitHub Action Run
20 run-4.0-gemfiles/dry_validation.gemfile - 36849486132.20 01 Oct 2026 10:31AM UTC 165
55.7
GitHub Action Run
21 run-4.0-gemfiles/rails_7_2.gemfile - 36849486132.21 01 Oct 2026 10:31AM UTC 167
98.8
GitHub Action Run
22 run-3.3-gemfiles/rails_8_0.gemfile - 36849486132.22 01 Oct 2026 10:30AM UTC 167
98.82
GitHub Action Run
23 run-4.0-gemfiles/multi_xml.gemfile - 36849486132.23 01 Oct 2026 10:31AM UTC 165
45.57
GitHub Action Run
24 run-3.3-gemfiles/rack_2_2.gemfile - 36849486132.24 01 Oct 2026 10:31AM UTC 166
98.78
GitHub Action Run
25 run-3.4-gemfiles/rails_8_0.gemfile - 36849486132.25 01 Oct 2026 10:31AM UTC 167
98.8
GitHub Action Run
26 run-4.0-gemfiles/rack_2_2.gemfile - 36849486132.26 01 Oct 2026 10:30AM UTC 166
98.76
GitHub Action Run
27 run-4.0-Gemfile - 36849486132.27 01 Oct 2026 10:31AM UTC 166
98.8
GitHub Action Run
28 run-3.3-gemfiles/rails_8_1.gemfile - 36849486132.28 01 Oct 2026 10:31AM UTC 167
98.82
GitHub Action Run
29 run-3.3-gemfiles/rails_7_2.gemfile - 36849486132.29 01 Oct 2026 10:30AM UTC 167
98.82
GitHub Action Run
30 run-4.0-gemfiles/rack_3_2.gemfile - 36849486132.30 01 Oct 2026 10:31AM UTC 166
98.8
GitHub Action Run
31 run-3.4-gemfiles/rails_7_2.gemfile - 36849486132.31 01 Oct 2026 10:30AM UTC 167
98.8
GitHub Action Run
32 run-3.4-gemfiles/rack_2_2.gemfile - 36849486132.32 01 Oct 2026 10:31AM UTC 166
98.76
GitHub Action Run
Source Files on build 36849486132
  • Tree
  • List 167
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36849486132
  • 988103e3 on github
  • Prev Build on master (#36827966839)
  • Next Build on fix/error-raises (#36849504767)
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