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

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

Build:
Build:
LAST BUILD BRANCH: perf/hot-path-throughput
DEFAULT BRANCH: master
Ran 11 Sep 2026 08:46AM UTC
Jobs 32
Files 169
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

11 Sep 2026 08:45AM UTC coverage: 99.184%. Remained the same
34580757015

Pull #2932

github

ericproulx
Let a parser's Grape errors through the formatter without re-raising

`Formatter#read_rack_input` answers a parser's StandardErrors with a 400,
and let Grape's own errors go on to the error middleware by rescuing them
first, `rescue Grape::Exceptions::Base => e; raise e`. Re-raising an
exception makes Ruby read its backtrace, which builds it as Strings, and
at request depth that is the dearest part of the error: about 25 µs. It
was paid by every malformed body, since the built-in parsers report one
as `InvalidMessageBody`.

A matcher module in the `rescue` clause now selects the errors to answer
here, StandardErrors that are not Grape errors, so a Grape error is
never rescued at this frame and travels on as it is.

A parser raising something that is not a StandardError, such as an
Interrupt or a SystemExit, keeps propagating rather than being answered
as a 400. Nothing pinned that; it now has a spec, which passes before and
after this change.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2932: Let a parser's Grape errors through the formatter without re-raising

1306 of 1350 branches covered (96.74%)

Branch coverage included in aggregate %.

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

4042 of 4042 relevant lines covered (100.0%)

27225.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_json_1_20.gemfile - 34580757015.1 11 Sep 2026 08:47AM UTC 167
47.41
GitHub Action Run
2 run-3.3-gemfiles/rails_8_1.gemfile - 34580757015.2 11 Sep 2026 08:47AM UTC 169
97.9
GitHub Action Run
3 run-4.0-Gemfile - 34580757015.3 11 Sep 2026 08:48AM UTC 168
97.86
GitHub Action Run
4 run-4.0-gemfiles/rails_8_1.gemfile - 34580757015.4 11 Sep 2026 08:48AM UTC 169
97.88
GitHub Action Run
5 run-3.4-gemfiles/rails_7_2.gemfile - 34580757015.5 11 Sep 2026 08:47AM UTC 169
97.87
GitHub Action Run
6 run-4.0-gemfiles/rails_7_2.gemfile - 34580757015.6 11 Sep 2026 08:47AM UTC 169
97.87
GitHub Action Run
7 run-3.4-gemfiles/rack_3_1.gemfile - 34580757015.7 11 Sep 2026 08:47AM UTC 168
97.86
GitHub Action Run
8 run-4.0-gemfiles/multi_xml_0_8.gemfile - 34580757015.8 11 Sep 2026 08:47AM UTC 167
47.01
GitHub Action Run
9 run-3.3-gemfiles/rack_3_2.gemfile - 34580757015.9 11 Sep 2026 08:47AM UTC 168
97.88
GitHub Action Run
10 run-3.4-gemfiles/rack_3_0.gemfile - 34580757015.10 11 Sep 2026 08:47AM UTC 168
97.86
GitHub Action Run
11 run-3.3-gemfiles/rails_8_0.gemfile - 34580757015.11 11 Sep 2026 08:47AM UTC 169
97.9
GitHub Action Run
12 run-3.4-gemfiles/rails_8_0.gemfile - 34580757015.12 11 Sep 2026 08:48AM UTC 169
97.88
GitHub Action Run
13 run-3.4-gemfiles/rails_8_1.gemfile - 34580757015.13 11 Sep 2026 08:47AM UTC 169
97.87
GitHub Action Run
14 run-3.3-gemfiles/rails_7_2.gemfile - 34580757015.14 11 Sep 2026 08:47AM UTC 169
97.9
GitHub Action Run
15 run-4.0-gemfiles/rack_2_2.gemfile - 34580757015.15 11 Sep 2026 08:47AM UTC 168
97.85
GitHub Action Run
16 run-3.3-gemfiles/rack_3_0.gemfile - 34580757015.16 11 Sep 2026 08:47AM UTC 168
97.9
GitHub Action Run
17 run-4.0-gemfiles/rack_3_2.gemfile - 34580757015.17 11 Sep 2026 08:46AM UTC 168
97.86
GitHub Action Run
18 run-4.0-gemfiles/rails_8_0.gemfile - 34580757015.18 11 Sep 2026 08:47AM UTC 169
97.87
GitHub Action Run
19 run-4.0-gemfiles/rack_3_0.gemfile - 34580757015.19 11 Sep 2026 08:47AM UTC 168
97.86
GitHub Action Run
20 run-4.0-gemfiles/grape_swagger.gemfile - 34580757015.20 11 Sep 2026 08:47AM UTC 167
55.0
GitHub Action Run
21 run-3.3-gemfiles/rack_3_1.gemfile - 34580757015.21 11 Sep 2026 08:47AM UTC 168
97.88
GitHub Action Run
22 run-3.4-Gemfile - 34580757015.22 11 Sep 2026 08:47AM UTC 168
97.88
GitHub Action Run
23 run-3.4-gemfiles/rack_3_2.gemfile - 34580757015.23 11 Sep 2026 08:47AM UTC 168
97.86
GitHub Action Run
24 run-4.0-gemfiles/grape_entity.gemfile - 34580757015.24 11 Sep 2026 08:47AM UTC 167
50.28
GitHub Action Run
25 run-3.3-Gemfile - 34580757015.25 11 Sep 2026 08:47AM UTC 168
97.9
GitHub Action Run
26 run-4.0-gemfiles/hashie.gemfile - 34580757015.26 11 Sep 2026 08:47AM UTC 167
61.74
GitHub Action Run
27 run-4.0-gemfiles/rack_3_1.gemfile - 34580757015.27 11 Sep 2026 08:47AM UTC 168
97.88
GitHub Action Run
28 run-4.0-gemfiles/multi_xml.gemfile - 34580757015.28 11 Sep 2026 08:47AM UTC 167
46.98
GitHub Action Run
29 run-4.0-gemfiles/dry_validation.gemfile - 34580757015.29 11 Sep 2026 08:46AM UTC 167
57.76
GitHub Action Run
30 run-3.4-gemfiles/rack_2_2.gemfile - 34580757015.30 11 Sep 2026 08:47AM UTC 168
97.85
GitHub Action Run
31 run-4.0-gemfiles/multi_json.gemfile - 34580757015.31 11 Sep 2026 08:47AM UTC 167
47.37
GitHub Action Run
32 run-3.3-gemfiles/rack_2_2.gemfile - 34580757015.32 11 Sep 2026 08:47AM UTC 168
97.85
GitHub Action Run
Source Files on build 34580757015
  • Tree
  • List 169
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34580757015
  • Pull Request #2932
  • PR Base - master (#34515497970)
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