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

ruby-grape / grape / 36054476266
100%

Build:
DEFAULT BRANCH: master
Ran 24 Sep 2026 08:23PM UTC
Jobs 32
Files 168
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

24 Sep 2026 08:22PM UTC coverage: 100.0%. Remained the same
36054476266

push

github

web-flow
Stop copying the formatter and calling empty filter phases per request (#3004)

Three costs every request paid for nothing:

- Middleware::Formatter was copied per request by Base#call so that
  #before and #after could find the env and the app's response in ivars.
  It keeps no other request state, so its own #call! now passes the env
  along and #call answers from the one instance the stack built, without
  the copy. #before and #after are gone, and an error raised while
  formatting is still reported the way Base reports one from #after.
  Base's per-request readers (env, context, rack_request, query_params,
  response) are private on it, since that instance holds no request.
- Endpoint#run called run_filters for all five filter phases, and most
  endpoints register nothing for most of them. It now skips an empty one.
- Grape::API.call and Router::Route#call were Forwardable delegators,
  which check the target with defined? and forward through `...` on every
  call. Both run once per request, so they are written out.

The formatter spec read the per-request state back through a stubbed dup;
it now asserts on the env the middleware was handed.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1498 of 1498 branches covered (100.0%)

Branch coverage included in aggregate %.

53 of 53 new or added lines in 5 files covered. (100.0%)

4336 of 4336 relevant lines covered (100.0%)

29147.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rails_8_0.gemfile - 36054476266.1 24 Sep 2026 08:23PM UTC 168
98.82
GitHub Action Run
2 run-4.0-gemfiles/rack_2_2.gemfile - 36054476266.2 24 Sep 2026 08:23PM UTC 167
98.78
GitHub Action Run
3 run-3.4-gemfiles/rails_7_2.gemfile - 36054476266.3 24 Sep 2026 08:23PM UTC 168
98.82
GitHub Action Run
4 run-4.0-gemfiles/rails_8_0.gemfile - 36054476266.4 24 Sep 2026 08:23PM UTC 168
98.82
GitHub Action Run
5 run-3.3-gemfiles/rails_8_0.gemfile - 36054476266.5 24 Sep 2026 08:23PM UTC 168
98.83
GitHub Action Run
6 run-4.0-gemfiles/multi_json_1_20.gemfile - 36054476266.6 24 Sep 2026 08:23PM UTC 166
46.07
GitHub Action Run
7 run-4.0-gemfiles/rails_8_1.gemfile - 36054476266.7 24 Sep 2026 08:23PM UTC 168
98.82
GitHub Action Run
8 run-4.0-gemfiles/multi_xml_0_8.gemfile - 36054476266.8 24 Sep 2026 08:24PM UTC 166
45.76
GitHub Action Run
9 run-3.4-gemfiles/rack_2_2.gemfile - 36054476266.9 24 Sep 2026 08:23PM UTC 167
98.78
GitHub Action Run
10 run-4.0-Gemfile - 36054476266.10 24 Sep 2026 08:23PM UTC 167
98.82
GitHub Action Run
11 run-3.4-gemfiles/rack_3_0.gemfile - 36054476266.11 24 Sep 2026 08:23PM UTC 167
98.82
GitHub Action Run
12 run-3.3-gemfiles/rack_3_2.gemfile - 36054476266.12 24 Sep 2026 08:23PM UTC 167
98.83
GitHub Action Run
13 run-4.0-gemfiles/dry_validation.gemfile - 36054476266.13 24 Sep 2026 08:23PM UTC 166
55.91
GitHub Action Run
14 run-3.4-gemfiles/rack_3_1.gemfile - 36054476266.14 24 Sep 2026 08:23PM UTC 167
98.82
GitHub Action Run
15 run-4.0-gemfiles/rack_3_2.gemfile - 36054476266.15 24 Sep 2026 08:23PM UTC 167
98.82
GitHub Action Run
16 run-3.3-gemfiles/rack_3_0.gemfile - 36054476266.16 24 Sep 2026 08:23PM UTC 167
98.83
GitHub Action Run
17 run-3.4-gemfiles/rack_3_2.gemfile - 36054476266.17 24 Sep 2026 08:23PM UTC 167
98.82
GitHub Action Run
18 run-3.3-gemfiles/rails_7_2.gemfile - 36054476266.18 24 Sep 2026 08:23PM UTC 168
98.83
GitHub Action Run
19 run-3.3-gemfiles/rails_8_1.gemfile - 36054476266.19 24 Sep 2026 08:23PM UTC 168
98.83
GitHub Action Run
20 run-3.3-Gemfile - 36054476266.20 24 Sep 2026 08:23PM UTC 167
98.83
GitHub Action Run
21 run-4.0-gemfiles/rack_3_0.gemfile - 36054476266.21 24 Sep 2026 08:24PM UTC 167
98.82
GitHub Action Run
22 run-4.0-gemfiles/grape_entity.gemfile - 36054476266.22 24 Sep 2026 08:23PM UTC 166
48.79
GitHub Action Run
23 run-3.3-gemfiles/rack_3_1.gemfile - 36054476266.23 24 Sep 2026 08:23PM UTC 167
98.83
GitHub Action Run
24 run-3.4-gemfiles/rails_8_1.gemfile - 36054476266.24 24 Sep 2026 08:23PM UTC 168
98.82
GitHub Action Run
25 run-4.0-gemfiles/grape_swagger.gemfile - 36054476266.25 24 Sep 2026 08:23PM UTC 166
53.34
GitHub Action Run
26 run-4.0-gemfiles/rack_3_1.gemfile - 36054476266.26 24 Sep 2026 08:23PM UTC 167
98.82
GitHub Action Run
27 run-4.0-gemfiles/multi_json.gemfile - 36054476266.27 24 Sep 2026 08:23PM UTC 166
46.04
GitHub Action Run
28 run-4.0-gemfiles/hashie.gemfile - 36054476266.28 24 Sep 2026 08:23PM UTC 166
59.98
GitHub Action Run
29 run-3.3-gemfiles/rack_2_2.gemfile - 36054476266.29 24 Sep 2026 08:23PM UTC 167
98.8
GitHub Action Run
30 run-4.0-gemfiles/multi_xml.gemfile - 36054476266.30 24 Sep 2026 08:23PM UTC 166
45.73
GitHub Action Run
31 run-4.0-gemfiles/rails_7_2.gemfile - 36054476266.31 24 Sep 2026 08:23PM UTC 168
98.82
GitHub Action Run
32 run-3.4-Gemfile - 36054476266.32 24 Sep 2026 08:23PM UTC 167
98.82
GitHub Action Run
Source Files on build 36054476266
  • Tree
  • List 168
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36054476266
  • b6f89a22 on github
  • Prev Build on master (#36049206838)
  • Next Build on master (#36111107564)
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