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

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

Build:
Build:
LAST BUILD BRANCH: fix/recompile-settings-mutation-race
DEFAULT BRANCH: master
Ran 08 May 2026 06:19PM 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

08 May 2026 06:18PM UTC coverage: 96.942% (+0.007%) from 96.935%
25572035795

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)

1084 of 1169 branches covered (92.73%)

Branch coverage included in aggregate %.

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

3418 of 3475 relevant lines covered (98.36%)

32092.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_2_2.gemfile - 25572035795.1 08 May 2026 06:19PM UTC 156
95.6
GitHub Action Run
2 run-3.4-gemfiles/rails_7_2.gemfile - 25572035795.2 08 May 2026 06:20PM UTC 157
95.64
GitHub Action Run
3 run-3.2-gemfiles/rack_3_2.gemfile - 25572035795.3 08 May 2026 06:19PM UTC 156
95.66
GitHub Action Run
4 run-4.0-gemfiles/rails_8_0.gemfile - 25572035795.4 08 May 2026 06:19PM UTC 157
95.64
GitHub Action Run
5 run-3.3-gemfiles/rack_3_2.gemfile - 25572035795.5 08 May 2026 06:19PM UTC 156
95.62
GitHub Action Run
6 run-3.3-gemfiles/rack_3_1.gemfile - 25572035795.6 08 May 2026 06:19PM UTC 156
95.62
GitHub Action Run
7 run-3.4-gemfiles/rack_3_1.gemfile - 25572035795.7 08 May 2026 06:19PM UTC 156
95.64
GitHub Action Run
8 run-4.0-gemfiles/rails_7_2.gemfile - 25572035795.8 08 May 2026 06:20PM UTC 157
95.64
GitHub Action Run
9 run-3.2-gemfiles/rack_3_1.gemfile - 25572035795.9 08 May 2026 06:19PM UTC 156
95.66
GitHub Action Run
10 run-3.2-Gemfile - 25572035795.10 08 May 2026 06:19PM UTC 156
95.66
GitHub Action Run
11 run-3.2-gemfiles/rack_2_2.gemfile - 25572035795.11 08 May 2026 06:19PM UTC 156
95.62
GitHub Action Run
12 run-3.3-gemfiles/rails_8_0.gemfile - 25572035795.12 08 May 2026 06:20PM UTC 157
95.62
GitHub Action Run
13 run-4.0-gemfiles/rack_3_1.gemfile - 25572035795.13 08 May 2026 06:19PM UTC 156
95.64
GitHub Action Run
14 run-4.0-gemfiles/rails_8_1.gemfile - 25572035795.14 08 May 2026 06:20PM UTC 157
95.64
GitHub Action Run
15 run-3.4-gemfiles/rack_2_2.gemfile - 25572035795.15 08 May 2026 06:20PM UTC 156
95.6
GitHub Action Run
16 run-4.0-Gemfile - 25572035795.16 08 May 2026 06:19PM UTC 156
95.64
GitHub Action Run
17 run-3.3-Gemfile - 25572035795.17 08 May 2026 06:19PM UTC 156
95.62
GitHub Action Run
18 run-3.4-gemfiles/rails_8_1.gemfile - 25572035795.18 08 May 2026 06:19PM UTC 157
95.64
GitHub Action Run
19 run-3.3-gemfiles/rack_2_2.gemfile - 25572035795.19 08 May 2026 06:19PM UTC 156
95.58
GitHub Action Run
20 run-3.2-gemfiles/rails_8_0.gemfile - 25572035795.20 08 May 2026 06:19PM UTC 157
95.67
GitHub Action Run
21 run-3.2-gemfiles/rack_3_0.gemfile - 25572035795.21 08 May 2026 06:20PM UTC 156
95.66
GitHub Action Run
22 run-4.0-gemfiles/rack_3_0.gemfile - 25572035795.22 08 May 2026 06:20PM UTC 156
95.64
GitHub Action Run
23 run-4.0-gemfiles/dry_validation.gemfile - 25572035795.23 08 May 2026 06:19PM UTC 156
57.85
GitHub Action Run
24 run-3.2-gemfiles/rails_7_2.gemfile - 25572035795.24 08 May 2026 06:19PM UTC 157
95.67
GitHub Action Run
25 run-3.2-gemfiles/rails_8_1.gemfile - 25572035795.25 08 May 2026 06:19PM UTC 157
95.67
GitHub Action Run
26 run-3.4-gemfiles/rack_3_2.gemfile - 25572035795.26 08 May 2026 06:20PM UTC 156
95.64
GitHub Action Run
27 run-3.3-gemfiles/rails_7_2.gemfile - 25572035795.27 08 May 2026 06:19PM UTC 157
95.62
GitHub Action Run
28 run-4.0-gemfiles/multi_json.gemfile - 25572035795.28 08 May 2026 06:19PM UTC 156
35.7
GitHub Action Run
29 run-4.0-gemfiles/multi_xml.gemfile - 25572035795.29 08 May 2026 06:19PM UTC 156
35.7
GitHub Action Run
30 run-3.3-gemfiles/rails_8_1.gemfile - 25572035795.30 08 May 2026 06:19PM UTC 157
95.62
GitHub Action Run
31 run-4.0-gemfiles/hashie.gemfile - 25572035795.31 08 May 2026 06:19PM UTC 156
62.44
GitHub Action Run
32 run-3.4-gemfiles/rails_8_0.gemfile - 25572035795.32 08 May 2026 06:19PM UTC 157
95.64
GitHub Action Run
33 run-4.0-gemfiles/rack_3_2.gemfile - 25572035795.33 08 May 2026 06:19PM UTC 156
95.64
GitHub Action Run
34 run-3.4-gemfiles/rack_3_0.gemfile - 25572035795.34 08 May 2026 06:20PM UTC 156
95.64
GitHub Action Run
35 run-3.4-Gemfile - 25572035795.35 08 May 2026 06:19PM UTC 156
95.64
GitHub Action Run
36 run-4.0-gemfiles/grape_entity.gemfile - 25572035795.36 08 May 2026 06:19PM UTC 156
49.67
GitHub Action Run
37 run-3.3-gemfiles/rack_3_0.gemfile - 25572035795.37 08 May 2026 06:20PM UTC 156
95.62
GitHub Action Run
Source Files on build 25572035795
  • 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 #25572035795
  • Pull Request #2705
  • PR Base - master (#25564552185)
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