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

ruby-grape / grape / 33914348199
99%

Build:
DEFAULT BRANCH: master
Ran 04 Sep 2026 08:04PM UTC
Jobs 32
Files 169
Run time 4min
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

04 Sep 2026 08:03PM UTC coverage: 96.956% (+0.001%) from 96.955%
33914348199

push

github

web-flow
Stop eager loading grape/testing (#2898)

`Grape::Testing` has been documented as opt-in since 3.3 -- README and the
UPGRADING note for that release both say it is "intended for test environments
only and is not loaded by default" -- but nothing ever excluded it from the
eager load, so `require 'grape'` installed it in every process, production
included.

The two are simply out of order: `loader.eager_load` arrived with Zeitwerk in
2c79b2f9 (2024), and grape/testing.rb was added later in ba7386a8 without being
added to the exclusion list that already held the railtie. The released 3.3.5
gem excludes only `railtie`, so the module has never actually been opt-in.

Excluding it makes the documented behaviour the real one: `require 'grape'`
leaves `Grape::Endpoint` without `before_each` / `reset_before_each` and without
the `Grape::Endpoint#run` wrapper the module prepends. Zeitwerk still registers
the autoload, so referencing the `Grape::Testing` constant loads it as before,
and `require 'grape/testing'` -- what README and UPGRADING have asked for since
3.3 -- is unaffected. spec/grape/testing_spec.rb already requires it and needed
no change.

UPGRADING carries a note under 4.0.0, because an application that never read
the 3.3 one can still be relying on the accident.

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

1244 of 1338 branches covered (92.97%)

Branch coverage included in aggregate %.

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

3947 of 4016 relevant lines covered (98.28%)

26970.31 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rails_7_2.gemfile - 33914348199.1 04 Sep 2026 08:04PM UTC 169
95.72
GitHub Action Run
2 run-4.0-gemfiles/rack_2_2.gemfile - 33914348199.2 04 Sep 2026 08:04PM UTC 168
95.68
GitHub Action Run
3 run-4.0-gemfiles/rack_3_1.gemfile - 33914348199.3 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
4 run-4.0-Gemfile - 33914348199.4 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
5 run-3.4-gemfiles/rack_3_1.gemfile - 33914348199.5 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
6 run-4.0-gemfiles/grape_entity.gemfile - 33914348199.6 04 Sep 2026 08:04PM UTC 167
50.24
GitHub Action Run
7 run-3.4-gemfiles/rack_3_0.gemfile - 33914348199.7 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
8 run-4.0-gemfiles/rails_8_1.gemfile - 33914348199.8 04 Sep 2026 08:04PM UTC 169
95.72
GitHub Action Run
9 run-3.4-gemfiles/rails_8_1.gemfile - 33914348199.9 04 Sep 2026 08:04PM UTC 169
95.72
GitHub Action Run
10 run-4.0-gemfiles/rails_7_2.gemfile - 33914348199.10 04 Sep 2026 08:04PM UTC 169
95.72
GitHub Action Run
11 run-4.0-gemfiles/hashie.gemfile - 33914348199.11 04 Sep 2026 08:04PM UTC 167
61.78
GitHub Action Run
12 run-4.0-gemfiles/grape_swagger.gemfile - 33914348199.12 04 Sep 2026 08:04PM UTC 167
55.17
GitHub Action Run
13 run-3.3-gemfiles/rack_2_2.gemfile - 33914348199.13 04 Sep 2026 08:04PM UTC 168
95.68
GitHub Action Run
14 run-3.4-Gemfile - 33914348199.14 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
15 run-3.3-gemfiles/rack_3_0.gemfile - 33914348199.15 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
16 run-3.3-gemfiles/rack_3_2.gemfile - 33914348199.16 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
17 run-4.0-gemfiles/multi_json_1_20.gemfile - 33914348199.17 04 Sep 2026 08:04PM UTC 167
47.44
GitHub Action Run
18 run-3.3-Gemfile - 33914348199.18 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
19 run-3.4-gemfiles/rack_2_2.gemfile - 33914348199.19 04 Sep 2026 08:04PM UTC 168
95.68
GitHub Action Run
20 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33914348199.20 04 Sep 2026 08:04PM UTC 167
46.94
GitHub Action Run
21 run-4.0-gemfiles/multi_json.gemfile - 33914348199.21 04 Sep 2026 08:04PM UTC 167
47.41
GitHub Action Run
22 run-4.0-gemfiles/rack_3_0.gemfile - 33914348199.22 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
23 run-3.3-gemfiles/rack_3_1.gemfile - 33914348199.23 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
24 run-3.3-gemfiles/rails_8_1.gemfile - 33914348199.24 04 Sep 2026 08:04PM UTC 169
95.72
GitHub Action Run
25 run-3.4-gemfiles/rails_8_0.gemfile - 33914348199.25 04 Sep 2026 08:04PM UTC 169
95.72
GitHub Action Run
26 run-4.0-gemfiles/dry_validation.gemfile - 33914348199.26 04 Sep 2026 08:04PM UTC 167
57.76
GitHub Action Run
27 run-4.0-gemfiles/multi_xml.gemfile - 33914348199.27 04 Sep 2026 08:04PM UTC 167
46.9
GitHub Action Run
28 run-4.0-gemfiles/rack_3_2.gemfile - 33914348199.28 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
29 run-3.4-gemfiles/rack_3_2.gemfile - 33914348199.29 04 Sep 2026 08:04PM UTC 168
95.72
GitHub Action Run
30 run-3.3-gemfiles/rails_8_0.gemfile - 33914348199.30 04 Sep 2026 08:04PM UTC 169
95.72
GitHub Action Run
31 run-3.4-gemfiles/rails_7_2.gemfile - 33914348199.31 04 Sep 2026 08:04PM UTC 169
95.72
GitHub Action Run
32 run-4.0-gemfiles/rails_8_0.gemfile - 33914348199.32 04 Sep 2026 08:04PM UTC 169
95.72
GitHub Action Run
Source Files on build 33914348199
  • Tree
  • List 169
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33914348199
  • 0dda3f4b on github
  • Prev Build on master (#33774030780)
  • Next Build on master (#33920012157)
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