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

ruby-grape / grape / 25855125689
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 14 May 2026 10:28AM UTC
Jobs 37
Files 159
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

14 May 2026 10:28AM UTC coverage: 97.032% (-0.02%) from 97.051%
25855125689

Pull #2712

github

ericproulx
Switch error_formatter to keyword arguments; expose status and headers

The error_formatter contract previously took five positional arguments —
`(message, backtrace, options, env, original_exception)` — which made it
impossible to thread additional context through to custom formatters
without breaking every existing override. Switch to keyword arguments and
add two fields that have been asked for in #2527:

    def call(message:, backtrace:, options:, env:,
             status:, headers:, original_exception:)

`status:` makes JSON:API-style error bodies straightforward (the spec
embeds the HTTP status code in the response). `headers:` lets formatters
react to the response content-type or trace the marker headers set by
`error!`. Both were previously only reachable via
`env[Grape::Env::API_ENDPOINT].status` and friends.

This is a contract break — existing custom formatters that re-declare
`call` with the positional signature will need to migrate. See
UPGRADING.md for the before/after.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2712: Switch error_formatter to keyword arguments; expose status and headers

1075 of 1157 branches covered (92.91%)

Branch coverage included in aggregate %.

8 of 9 new or added lines in 2 files covered. (88.89%)

1 existing line in 1 file now uncovered.

3469 of 3526 relevant lines covered (98.38%)

32139.41 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.0
-0.62% lib/grape/middleware/error.rb

Coverage Regressions

Lines Coverage ∆ File
1
95.0
-0.62% lib/grape/middleware/error.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/dry_validation.gemfile - 25855125689.1 14 May 2026 10:29AM UTC 158
58.26
GitHub Action Run
2 run-3.3-gemfiles/rack_3_1.gemfile - 25855125689.2 14 May 2026 10:29AM UTC 158
95.72
GitHub Action Run
3 run-3.2-Gemfile - 25855125689.3 14 May 2026 10:29AM UTC 158
95.76
GitHub Action Run
4 run-3.3-gemfiles/rack_2_2.gemfile - 25855125689.4 14 May 2026 10:29AM UTC 158
95.68
GitHub Action Run
5 run-3.4-gemfiles/rack_3_2.gemfile - 25855125689.5 14 May 2026 10:28AM UTC 158
95.74
GitHub Action Run
6 run-3.4-Gemfile - 25855125689.6 14 May 2026 10:29AM UTC 158
95.74
GitHub Action Run
7 run-3.2-gemfiles/rack_3_1.gemfile - 25855125689.7 14 May 2026 10:29AM UTC 158
95.76
GitHub Action Run
8 run-3.4-gemfiles/rack_3_1.gemfile - 25855125689.8 14 May 2026 10:29AM UTC 158
95.74
GitHub Action Run
9 run-4.0-gemfiles/multi_xml.gemfile - 25855125689.9 14 May 2026 10:28AM UTC 158
36.24
GitHub Action Run
10 run-3.2-gemfiles/rack_3_0.gemfile - 25855125689.10 14 May 2026 10:29AM UTC 158
95.76
GitHub Action Run
11 run-4.0-gemfiles/hashie.gemfile - 25855125689.11 14 May 2026 10:28AM UTC 158
62.76
GitHub Action Run
12 run-3.4-gemfiles/rails_8_0.gemfile - 25855125689.12 14 May 2026 10:29AM UTC 159
95.74
GitHub Action Run
13 run-4.0-gemfiles/rack_2_2.gemfile - 25855125689.13 14 May 2026 10:29AM UTC 158
95.7
GitHub Action Run
14 run-3.2-gemfiles/rack_2_2.gemfile - 25855125689.14 14 May 2026 10:29AM UTC 158
95.72
GitHub Action Run
15 run-4.0-gemfiles/rails_7_2.gemfile - 25855125689.15 14 May 2026 10:29AM UTC 159
95.74
GitHub Action Run
16 run-4.0-gemfiles/rack_3_2.gemfile - 25855125689.16 14 May 2026 10:28AM UTC 158
95.74
GitHub Action Run
17 run-4.0-gemfiles/grape_entity.gemfile - 25855125689.17 14 May 2026 10:29AM UTC 158
50.15
GitHub Action Run
18 run-3.3-Gemfile - 25855125689.18 14 May 2026 10:29AM UTC 158
95.72
GitHub Action Run
19 run-3.3-gemfiles/rails_8_1.gemfile - 25855125689.19 14 May 2026 10:29AM UTC 159
95.72
GitHub Action Run
20 run-3.4-gemfiles/rack_2_2.gemfile - 25855125689.20 14 May 2026 10:29AM UTC 158
95.7
GitHub Action Run
21 run-3.4-gemfiles/rails_8_1.gemfile - 25855125689.21 14 May 2026 10:29AM UTC 159
95.74
GitHub Action Run
22 run-4.0-gemfiles/rails_8_1.gemfile - 25855125689.22 14 May 2026 10:29AM UTC 159
95.74
GitHub Action Run
23 run-3.4-gemfiles/rack_3_0.gemfile - 25855125689.23 14 May 2026 10:29AM UTC 158
95.74
GitHub Action Run
24 run-4.0-Gemfile - 25855125689.24 14 May 2026 10:28AM UTC 158
95.74
GitHub Action Run
25 run-3.2-gemfiles/rails_7_2.gemfile - 25855125689.25 14 May 2026 10:29AM UTC 159
95.77
GitHub Action Run
26 run-3.2-gemfiles/rails_8_1.gemfile - 25855125689.26 14 May 2026 10:29AM UTC 159
95.77
GitHub Action Run
27 run-4.0-gemfiles/rack_3_0.gemfile - 25855125689.27 14 May 2026 10:29AM UTC 158
95.74
GitHub Action Run
28 run-3.3-gemfiles/rails_7_2.gemfile - 25855125689.28 14 May 2026 10:29AM UTC 159
95.72
GitHub Action Run
29 run-3.3-gemfiles/rack_3_2.gemfile - 25855125689.29 14 May 2026 10:29AM UTC 158
95.72
GitHub Action Run
30 run-4.0-gemfiles/multi_json.gemfile - 25855125689.30 14 May 2026 10:29AM UTC 158
36.24
GitHub Action Run
31 run-4.0-gemfiles/rack_3_1.gemfile - 25855125689.31 14 May 2026 10:29AM UTC 158
95.74
GitHub Action Run
32 run-3.2-gemfiles/rack_3_2.gemfile - 25855125689.32 14 May 2026 10:29AM UTC 158
95.76
GitHub Action Run
33 run-4.0-gemfiles/rails_8_0.gemfile - 25855125689.33 14 May 2026 10:29AM UTC 159
95.74
GitHub Action Run
34 run-3.4-gemfiles/rails_7_2.gemfile - 25855125689.34 14 May 2026 10:29AM UTC 159
95.74
GitHub Action Run
35 run-3.2-gemfiles/rails_8_0.gemfile - 25855125689.35 14 May 2026 10:29AM UTC 159
95.77
GitHub Action Run
36 run-3.3-gemfiles/rails_8_0.gemfile - 25855125689.36 14 May 2026 10:29AM UTC 159
95.72
GitHub Action Run
37 run-3.3-gemfiles/rack_3_0.gemfile - 25855125689.37 14 May 2026 10:29AM UTC 158
95.72
GitHub Action Run
Source Files on build 25855125689
  • Tree
  • List 159
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25855125689
  • Pull Request #2712
  • PR Base - master (#25854383996)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc