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

ruby-grape / grape / 35334563378
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: ractor-mode
DEFAULT BRANCH: master
Ran 18 Sep 2026 10:25AM UTC
Jobs 32
Files 167
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

18 Sep 2026 10:24AM UTC coverage: 99.043%. First build
35334563378

Pull #2953

github

ericproulx
Keep a String error message's status when the route names a failure entity

ErrorFormatter::Base#present applies the entity a route's failure codes
name for the response status to whatever error! was given. An entity
exposing attributes cannot read any off a String, so error!('Unauthorized',
401) under `failure: [[401, 'Unauthorized', API::Error]]` raised while
rendering, and the failsafe answered 500 in place of the 401.

That has been true of the `failure` block method and the `http_codes:`
keyword for as long as they presented errors. #2949 made the `failure:`
keyword present too -- the spelling grape-swagger's README recommends -- so
on master an API that documents its 401 that way and calls error! with a
String turns every 401 into a 500.

The failure entities document a structured error body, and every README
example hands error! a Hash, so a String message is now left to
#wrap_message, which renders it the way it renders without an entity. A
Hash or an object is presented as before, and `with:` and a class's own
Entity are untouched.

An entity written to take the String itself is no longer handed one;
UPGRADING shows moving it to a Hash message.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2953: Keep a String error message's status when the route names a failure entity

1428 of 1483 branches covered (96.29%)

Branch coverage included in aggregate %.

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

4266 of 4266 relevant lines covered (100.0%)

28550.52 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/grape_entity.gemfile - 35334563378.1 18 Sep 2026 10:25AM UTC 165
49.05
GitHub Action Run
2 run-4.0-gemfiles/rails_8_1.gemfile - 35334563378.2 18 Sep 2026 10:25AM UTC 167
97.86
GitHub Action Run
3 run-4.0-gemfiles/multi_json.gemfile - 35334563378.3 18 Sep 2026 10:26AM UTC 165
46.04
GitHub Action Run
4 run-4.0-gemfiles/multi_json_1_20.gemfile - 35334563378.4 18 Sep 2026 10:25AM UTC 165
46.07
GitHub Action Run
5 run-3.4-gemfiles/rails_8_0.gemfile - 35334563378.5 18 Sep 2026 10:26AM UTC 167
97.86
GitHub Action Run
6 run-4.0-gemfiles/rack_3_0.gemfile - 35334563378.6 18 Sep 2026 10:26AM UTC 166
97.86
GitHub Action Run
7 run-3.4-gemfiles/rack_2_2.gemfile - 35334563378.7 18 Sep 2026 10:25AM UTC 166
97.82
GitHub Action Run
8 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35334563378.8 18 Sep 2026 10:25AM UTC 165
45.79
GitHub Action Run
9 run-3.4-gemfiles/rack_3_2.gemfile - 35334563378.9 18 Sep 2026 10:26AM UTC 166
97.86
GitHub Action Run
10 run-3.4-Gemfile - 35334563378.10 18 Sep 2026 10:25AM UTC 166
97.84
GitHub Action Run
11 run-4.0-Gemfile - 35334563378.11 18 Sep 2026 10:25AM UTC 166
97.86
GitHub Action Run
12 run-3.3-Gemfile - 35334563378.12 18 Sep 2026 10:25AM UTC 166
97.86
GitHub Action Run
13 run-3.4-gemfiles/rack_3_1.gemfile - 35334563378.13 18 Sep 2026 10:25AM UTC 166
97.86
GitHub Action Run
14 run-4.0-gemfiles/rails_8_0.gemfile - 35334563378.14 18 Sep 2026 10:25AM UTC 167
97.84
GitHub Action Run
15 run-3.4-gemfiles/rails_7_2.gemfile - 35334563378.15 18 Sep 2026 10:25AM UTC 167
97.84
GitHub Action Run
16 run-4.0-gemfiles/rack_2_2.gemfile - 35334563378.16 18 Sep 2026 10:25AM UTC 166
97.81
GitHub Action Run
17 run-3.4-gemfiles/rails_8_1.gemfile - 35334563378.17 18 Sep 2026 10:25AM UTC 167
97.84
GitHub Action Run
18 run-4.0-gemfiles/rails_7_2.gemfile - 35334563378.18 18 Sep 2026 10:25AM UTC 167
97.86
GitHub Action Run
19 run-3.3-gemfiles/rack_2_2.gemfile - 35334563378.19 18 Sep 2026 10:25AM UTC 166
97.84
GitHub Action Run
20 run-4.0-gemfiles/multi_xml.gemfile - 35334563378.20 18 Sep 2026 10:26AM UTC 165
45.76
GitHub Action Run
21 run-3.3-gemfiles/rack_3_0.gemfile - 35334563378.21 18 Sep 2026 10:25AM UTC 166
97.86
GitHub Action Run
22 run-4.0-gemfiles/hashie.gemfile - 35334563378.22 18 Sep 2026 10:25AM UTC 165
59.8
GitHub Action Run
23 run-4.0-gemfiles/rack_3_2.gemfile - 35334563378.23 18 Sep 2026 10:25AM UTC 166
97.84
GitHub Action Run
24 run-4.0-gemfiles/rack_3_1.gemfile - 35334563378.24 18 Sep 2026 10:26AM UTC 166
97.86
GitHub Action Run
25 run-3.3-gemfiles/rails_8_0.gemfile - 35334563378.25 18 Sep 2026 10:25AM UTC 167
97.86
GitHub Action Run
26 run-3.3-gemfiles/rack_3_2.gemfile - 35334563378.26 18 Sep 2026 10:25AM UTC 166
97.86
GitHub Action Run
27 run-3.4-gemfiles/rack_3_0.gemfile - 35334563378.27 18 Sep 2026 10:26AM UTC 166
97.86
GitHub Action Run
28 run-4.0-gemfiles/dry_validation.gemfile - 35334563378.28 18 Sep 2026 10:25AM UTC 165
56.06
GitHub Action Run
29 run-3.3-gemfiles/rack_3_1.gemfile - 35334563378.29 18 Sep 2026 10:25AM UTC 166
97.86
GitHub Action Run
30 run-3.3-gemfiles/rails_8_1.gemfile - 35334563378.30 18 Sep 2026 10:25AM UTC 167
97.86
GitHub Action Run
31 run-3.3-gemfiles/rails_7_2.gemfile - 35334563378.31 18 Sep 2026 10:25AM UTC 167
97.86
GitHub Action Run
32 run-4.0-gemfiles/grape_swagger.gemfile - 35334563378.32 18 Sep 2026 10:25AM UTC 165
53.38
GitHub Action Run
Source Files on build 35334563378
  • 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 #35334563378
  • Pull Request #2953
  • PR Base - master (#35333720220)
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