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

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

Build:
Build:
LAST BUILD BRANCH: refactor/de-morgan-conditions
DEFAULT BRANCH: master
Ran 09 May 2026 06:58PM 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:58PM UTC coverage: 96.992% (+0.007%) from 96.985%
25609232382

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

3427 of 3483 relevant lines covered (98.39%)

32141.9 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rails_8_0.gemfile - 25609232382.1 09 May 2026 06:59PM UTC 157
95.7
GitHub Action Run
2 run-3.2-gemfiles/rails_8_0.gemfile - 25609232382.2 09 May 2026 06:58PM UTC 157
95.72
GitHub Action Run
3 run-3.2-gemfiles/rack_3_0.gemfile - 25609232382.3 09 May 2026 06:58PM UTC 156
95.72
GitHub Action Run
4 run-3.4-Gemfile - 25609232382.4 09 May 2026 06:58PM UTC 156
95.69
GitHub Action Run
5 run-3.3-gemfiles/rails_8_0.gemfile - 25609232382.5 09 May 2026 06:58PM UTC 157
95.67
GitHub Action Run
6 run-3.4-gemfiles/rails_7_2.gemfile - 25609232382.6 09 May 2026 06:59PM UTC 157
95.7
GitHub Action Run
7 run-3.3-gemfiles/rack_3_1.gemfile - 25609232382.7 09 May 2026 06:58PM UTC 156
95.67
GitHub Action Run
8 run-3.3-gemfiles/rails_8_1.gemfile - 25609232382.8 09 May 2026 06:58PM UTC 157
95.67
GitHub Action Run
9 run-3.2-gemfiles/rack_2_2.gemfile - 25609232382.9 09 May 2026 06:58PM UTC 156
95.67
GitHub Action Run
10 run-4.0-gemfiles/rails_7_2.gemfile - 25609232382.10 09 May 2026 06:59PM UTC 157
95.7
GitHub Action Run
11 run-4.0-gemfiles/multi_xml.gemfile - 25609232382.11 09 May 2026 06:58PM UTC 156
36.01
GitHub Action Run
12 run-4.0-gemfiles/dry_validation.gemfile - 25609232382.12 09 May 2026 06:59PM UTC 156
58.11
GitHub Action Run
13 run-3.4-gemfiles/rack_3_0.gemfile - 25609232382.13 09 May 2026 06:58PM UTC 156
95.69
GitHub Action Run
14 run-4.0-gemfiles/rack_2_2.gemfile - 25609232382.14 09 May 2026 06:58PM UTC 156
95.65
GitHub Action Run
15 run-3.3-gemfiles/rails_7_2.gemfile - 25609232382.15 09 May 2026 06:59PM UTC 157
95.67
GitHub Action Run
16 run-4.0-gemfiles/rails_8_1.gemfile - 25609232382.16 09 May 2026 06:59PM UTC 157
95.7
GitHub Action Run
17 run-3.4-gemfiles/rack_3_2.gemfile - 25609232382.17 09 May 2026 06:59PM UTC 156
95.69
GitHub Action Run
18 run-4.0-gemfiles/rack_3_1.gemfile - 25609232382.18 09 May 2026 06:59PM UTC 156
95.69
GitHub Action Run
19 run-4.0-gemfiles/rack_3_2.gemfile - 25609232382.19 09 May 2026 06:58PM UTC 156
95.69
GitHub Action Run
20 run-4.0-gemfiles/hashie.gemfile - 25609232382.20 09 May 2026 06:59PM UTC 156
62.7
GitHub Action Run
21 run-3.4-gemfiles/rails_8_1.gemfile - 25609232382.21 09 May 2026 06:59PM UTC 157
95.7
GitHub Action Run
22 run-3.4-gemfiles/rails_8_0.gemfile - 25609232382.22 09 May 2026 06:59PM UTC 157
95.7
GitHub Action Run
23 run-3.4-gemfiles/rack_3_1.gemfile - 25609232382.23 09 May 2026 06:59PM UTC 156
95.69
GitHub Action Run
24 run-3.3-gemfiles/rack_2_2.gemfile - 25609232382.24 09 May 2026 06:59PM UTC 156
95.63
GitHub Action Run
25 run-3.3-gemfiles/rack_3_0.gemfile - 25609232382.25 09 May 2026 06:58PM UTC 156
95.67
GitHub Action Run
26 run-3.2-Gemfile - 25609232382.26 09 May 2026 06:59PM UTC 156
95.72
GitHub Action Run
27 run-3.2-gemfiles/rails_7_2.gemfile - 25609232382.27 09 May 2026 06:58PM UTC 157
95.72
GitHub Action Run
28 run-4.0-gemfiles/grape_entity.gemfile - 25609232382.28 09 May 2026 06:59PM UTC 156
49.92
GitHub Action Run
29 run-3.2-gemfiles/rack_3_2.gemfile - 25609232382.29 09 May 2026 06:58PM UTC 156
95.72
GitHub Action Run
30 run-4.0-gemfiles/multi_json.gemfile - 25609232382.30 09 May 2026 06:59PM UTC 156
36.01
GitHub Action Run
31 run-3.3-Gemfile - 25609232382.31 09 May 2026 06:59PM UTC 156
95.67
GitHub Action Run
32 run-3.3-gemfiles/rack_3_2.gemfile - 25609232382.32 09 May 2026 06:58PM UTC 156
95.67
GitHub Action Run
33 run-3.2-gemfiles/rails_8_1.gemfile - 25609232382.33 09 May 2026 06:59PM UTC 157
95.72
GitHub Action Run
34 run-4.0-gemfiles/rack_3_0.gemfile - 25609232382.34 09 May 2026 06:58PM UTC 156
95.69
GitHub Action Run
35 run-3.4-gemfiles/rack_2_2.gemfile - 25609232382.35 09 May 2026 06:58PM UTC 156
95.65
GitHub Action Run
36 run-3.2-gemfiles/rack_3_1.gemfile - 25609232382.36 09 May 2026 06:58PM UTC 156
95.72
GitHub Action Run
37 run-4.0-Gemfile - 25609232382.37 09 May 2026 06:59PM UTC 156
95.69
GitHub Action Run
Source Files on build 25609232382
  • 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 #25609232382
  • Pull Request #2705
  • PR Base - master (#25608800647)
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