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

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

Build:
Build:
LAST BUILD BRANCH: perf/hot-path-throughput
DEFAULT BRANCH: master
Ran 11 Sep 2026 08:45AM 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
34580750600

push

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>

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%)

27227.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/dry_validation.gemfile - 34580750600.1 11 Sep 2026 08:46AM UTC 167
57.76
GitHub Action Run
2 run-4.0-gemfiles/grape_swagger.gemfile - 34580750600.2 11 Sep 2026 08:45AM UTC 167
55.0
GitHub Action Run
3 run-4.0-gemfiles/grape_entity.gemfile - 34580750600.3 11 Sep 2026 08:45AM UTC 167
50.28
GitHub Action Run
4 run-4.0-gemfiles/rack_3_1.gemfile - 34580750600.4 11 Sep 2026 08:46AM UTC 168
97.88
GitHub Action Run
5 run-4.0-gemfiles/multi_json_1_20.gemfile - 34580750600.5 11 Sep 2026 08:46AM UTC 167
47.41
GitHub Action Run
6 run-3.4-gemfiles/rails_7_2.gemfile - 34580750600.6 11 Sep 2026 08:47AM UTC 169
97.88
GitHub Action Run
7 run-4.0-gemfiles/rails_7_2.gemfile - 34580750600.7 11 Sep 2026 08:46AM UTC 169
97.88
GitHub Action Run
8 run-3.3-gemfiles/rack_3_2.gemfile - 34580750600.8 11 Sep 2026 08:46AM UTC 168
97.9
GitHub Action Run
9 run-4.0-gemfiles/rack_3_0.gemfile - 34580750600.9 11 Sep 2026 08:46AM UTC 168
97.86
GitHub Action Run
10 run-3.3-gemfiles/rack_3_1.gemfile - 34580750600.10 11 Sep 2026 08:46AM UTC 168
97.9
GitHub Action Run
11 run-4.0-gemfiles/rails_8_1.gemfile - 34580750600.11 11 Sep 2026 08:47AM UTC 169
97.87
GitHub Action Run
12 run-4.0-Gemfile - 34580750600.12 11 Sep 2026 08:45AM UTC 168
97.86
GitHub Action Run
13 run-4.0-gemfiles/hashie.gemfile - 34580750600.13 11 Sep 2026 08:46AM UTC 167
61.74
GitHub Action Run
14 run-3.3-gemfiles/rails_7_2.gemfile - 34580750600.14 11 Sep 2026 08:46AM UTC 169
97.88
GitHub Action Run
15 run-3.4-gemfiles/rails_8_1.gemfile - 34580750600.15 11 Sep 2026 08:45AM UTC 169
97.88
GitHub Action Run
16 run-4.0-gemfiles/rack_3_2.gemfile - 34580750600.16 11 Sep 2026 08:45AM UTC 168
97.88
GitHub Action Run
17 run-3.3-gemfiles/rails_8_0.gemfile - 34580750600.17 11 Sep 2026 08:45AM UTC 169
97.9
GitHub Action Run
18 run-3.4-gemfiles/rack_3_1.gemfile - 34580750600.18 11 Sep 2026 08:45AM UTC 168
97.86
GitHub Action Run
19 run-3.4-gemfiles/rails_8_0.gemfile - 34580750600.19 11 Sep 2026 08:46AM UTC 169
97.87
GitHub Action Run
20 run-4.0-gemfiles/rack_2_2.gemfile - 34580750600.20 11 Sep 2026 08:45AM UTC 168
97.85
GitHub Action Run
21 run-3.3-Gemfile - 34580750600.21 11 Sep 2026 08:45AM UTC 168
97.88
GitHub Action Run
22 run-4.0-gemfiles/multi_xml_0_8.gemfile - 34580750600.22 11 Sep 2026 08:46AM UTC 167
47.01
GitHub Action Run
23 run-3.4-gemfiles/rack_2_2.gemfile - 34580750600.23 11 Sep 2026 08:45AM UTC 168
97.85
GitHub Action Run
24 run-3.4-gemfiles/rack_3_2.gemfile - 34580750600.24 11 Sep 2026 08:45AM UTC 168
97.88
GitHub Action Run
25 run-4.0-gemfiles/multi_json.gemfile - 34580750600.25 11 Sep 2026 08:45AM UTC 167
47.37
GitHub Action Run
26 run-3.4-gemfiles/rack_3_0.gemfile - 34580750600.26 11 Sep 2026 08:45AM UTC 168
97.88
GitHub Action Run
27 run-4.0-gemfiles/multi_xml.gemfile - 34580750600.27 11 Sep 2026 08:45AM UTC 167
46.98
GitHub Action Run
28 run-3.4-Gemfile - 34580750600.28 11 Sep 2026 08:45AM UTC 168
97.88
GitHub Action Run
29 run-3.3-gemfiles/rails_8_1.gemfile - 34580750600.29 11 Sep 2026 08:45AM UTC 169
97.9
GitHub Action Run
30 run-4.0-gemfiles/rails_8_0.gemfile - 34580750600.30 11 Sep 2026 08:45AM UTC 169
97.87
GitHub Action Run
31 run-3.3-gemfiles/rack_2_2.gemfile - 34580750600.31 11 Sep 2026 08:45AM UTC 168
97.85
GitHub Action Run
32 run-3.3-gemfiles/rack_3_0.gemfile - 34580750600.32 11 Sep 2026 08:46AM UTC 168
97.9
GitHub Action Run
Source Files on build 34580750600
  • 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 #34580750600
  • 11287b51 on github
  • Prev Build on master (#34515497970)
  • Next Build on perf/parser-errors-without-reraise (#34580757015)
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