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

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

Build:
Build:
LAST BUILD BRANCH: fix/recompile-settings-mutation-race
DEFAULT BRANCH: master
Ran 09 May 2026 06:20PM UTC
Jobs 37
Files 157
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

09 May 2026 06:20PM UTC coverage: 96.991% (+0.008%) from 96.983%
25608430073

Pull #2705

github

ericproulx
Add Grape.config.warn_on_helper_overrides

A helper method defined via `helpers do; def foo; end; end` is mixed
into the endpoint's singleton class and therefore takes precedence
over `Grape::Endpoint#foo` if one exists. That's the documented and
correct behaviour, but it's silent — when the framework gains a new
method (e.g. `Grape::Endpoint#logger`) and a user already defined a
helper of the same name, nothing tells them their helper now masks
the framework implementation.

Adds an opt-in dev-time signal:

    # config/environments/development.rb (or equivalent)
    Grape.config.warn_on_helper_overrides = true

When enabled, defining a `helpers` module — either via a block or by
passing an external module to `helpers SomeModule` — emits one
warning to `$stderr` per helper method that masks a `Grape::Endpoint`
instance method. Off by default; zero cost in production.

Enabled in `spec_helper.rb` so future test additions that
accidentally mask `Endpoint` methods via helpers surface as warnings
during CI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2705: Add Grape.config.warn_on_helper_overrides (opt-in dev-time signal)

1087 of 1171 branches covered (92.83%)

Branch coverage included in aggregate %.

7 of 7 new or added lines in 2 files covered. (100.0%)

3425 of 3481 relevant lines covered (98.39%)

32109.26 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.2-gemfiles/rack_3_2.gemfile - 25608430073.1 09 May 2026 06:20PM UTC 156
95.71
GitHub Action Run
2 run-4.0-gemfiles/rack_3_2.gemfile - 25608430073.2 09 May 2026 06:21PM UTC 156
95.69
GitHub Action Run
3 run-3.3-gemfiles/rails_7_2.gemfile - 25608430073.3 09 May 2026 06:20PM UTC 157
95.67
GitHub Action Run
4 run-4.0-gemfiles/grape_entity.gemfile - 25608430073.4 09 May 2026 06:21PM UTC 156
49.92
GitHub Action Run
5 run-3.4-Gemfile - 25608430073.5 09 May 2026 06:20PM UTC 156
95.69
GitHub Action Run
6 run-4.0-gemfiles/rack_3_1.gemfile - 25608430073.6 09 May 2026 06:20PM UTC 156
95.69
GitHub Action Run
7 run-3.4-gemfiles/rack_3_2.gemfile - 25608430073.7 09 May 2026 06:21PM UTC 156
95.69
GitHub Action Run
8 run-3.2-gemfiles/rails_8_1.gemfile - 25608430073.8 09 May 2026 06:20PM UTC 157
95.72
GitHub Action Run
9 run-3.2-Gemfile - 25608430073.9 09 May 2026 06:20PM UTC 156
95.71
GitHub Action Run
10 run-3.4-gemfiles/rack_2_2.gemfile - 25608430073.10 09 May 2026 06:21PM UTC 156
95.65
GitHub Action Run
11 run-3.3-gemfiles/rack_2_2.gemfile - 25608430073.11 09 May 2026 06:20PM UTC 156
95.63
GitHub Action Run
12 run-4.0-Gemfile - 25608430073.12 09 May 2026 06:20PM UTC 156
95.69
GitHub Action Run
13 run-4.0-gemfiles/rails_8_1.gemfile - 25608430073.13 09 May 2026 06:21PM UTC 157
95.69
GitHub Action Run
14 run-3.3-gemfiles/rails_8_1.gemfile - 25608430073.14 09 May 2026 06:20PM UTC 157
95.67
GitHub Action Run
15 run-3.4-gemfiles/rack_3_1.gemfile - 25608430073.15 09 May 2026 06:21PM UTC 156
95.69
GitHub Action Run
16 run-3.2-gemfiles/rack_2_2.gemfile - 25608430073.16 09 May 2026 06:20PM UTC 156
95.67
GitHub Action Run
17 run-4.0-gemfiles/rack_2_2.gemfile - 25608430073.17 09 May 2026 06:21PM UTC 156
95.65
GitHub Action Run
18 run-3.2-gemfiles/rack_3_0.gemfile - 25608430073.18 09 May 2026 06:20PM UTC 156
95.71
GitHub Action Run
19 run-3.3-gemfiles/rails_8_0.gemfile - 25608430073.19 09 May 2026 06:20PM UTC 157
95.67
GitHub Action Run
20 run-3.3-gemfiles/rack_3_2.gemfile - 25608430073.20 09 May 2026 06:20PM UTC 156
95.67
GitHub Action Run
21 run-3.2-gemfiles/rails_7_2.gemfile - 25608430073.21 09 May 2026 06:20PM UTC 157
95.72
GitHub Action Run
22 run-3.4-gemfiles/rack_3_0.gemfile - 25608430073.22 09 May 2026 06:20PM UTC 156
95.69
GitHub Action Run
23 run-4.0-gemfiles/dry_validation.gemfile - 25608430073.23 09 May 2026 06:20PM UTC 156
58.11
GitHub Action Run
24 run-3.4-gemfiles/rails_8_0.gemfile - 25608430073.24 09 May 2026 06:21PM UTC 157
95.69
GitHub Action Run
25 run-4.0-gemfiles/hashie.gemfile - 25608430073.25 09 May 2026 06:21PM UTC 156
62.7
GitHub Action Run
26 run-3.3-gemfiles/rack_3_1.gemfile - 25608430073.26 09 May 2026 06:21PM UTC 156
95.67
GitHub Action Run
27 run-3.4-gemfiles/rails_8_1.gemfile - 25608430073.27 09 May 2026 06:21PM UTC 157
95.69
GitHub Action Run
28 run-4.0-gemfiles/multi_json.gemfile - 25608430073.28 09 May 2026 06:20PM UTC 156
36.01
GitHub Action Run
29 run-4.0-gemfiles/rack_3_0.gemfile - 25608430073.29 09 May 2026 06:20PM UTC 156
95.69
GitHub Action Run
30 run-3.4-gemfiles/rails_7_2.gemfile - 25608430073.30 09 May 2026 06:20PM UTC 157
95.69
GitHub Action Run
31 run-3.2-gemfiles/rails_8_0.gemfile - 25608430073.31 09 May 2026 06:20PM UTC 157
95.72
GitHub Action Run
32 run-4.0-gemfiles/rails_7_2.gemfile - 25608430073.32 09 May 2026 06:21PM UTC 157
95.69
GitHub Action Run
33 run-3.3-Gemfile - 25608430073.33 09 May 2026 06:20PM UTC 156
95.67
GitHub Action Run
34 run-3.2-gemfiles/rack_3_1.gemfile - 25608430073.34 09 May 2026 06:20PM UTC 156
95.71
GitHub Action Run
35 run-4.0-gemfiles/rails_8_0.gemfile - 25608430073.35 09 May 2026 06:21PM UTC 157
95.69
GitHub Action Run
36 run-3.3-gemfiles/rack_3_0.gemfile - 25608430073.36 09 May 2026 06:20PM UTC 156
95.67
GitHub Action Run
37 run-4.0-gemfiles/multi_xml.gemfile - 25608430073.37 09 May 2026 06:20PM UTC 156
36.01
GitHub Action Run
Source Files on build 25608430073
  • Tree
  • List 157
  • 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 #25608430073
  • Pull Request #2705
  • PR Base - master (#25583959632)
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