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

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

Build:
Build:
LAST BUILD BRANCH: router-compile-registered-methods
DEFAULT BRANCH: master
Ran 31 Aug 2026 10:28AM UTC
Jobs 32
Files 169
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

31 Aug 2026 10:23AM UTC coverage: 96.978%. Remained the same
33382226079

Pull #2873

github

ericproulx
Read the params builder setting with `[]` instead of `method_missing`

`Grape::Request#initialize` runs once per request and resolves the default
params builder through `Grape.config.param_builder`. dry-configurable's Config
defines no readers for its settings: the call lands in `method_missing`, which
derives the setting name with `method_name.to_s.tr("=", "").to_sym` — two
throwaway Strings and a slow dispatch, on every request.

`Config#[]` is the same lookup without either. Measured in one process:

    Grape.config.param_builder      282 ns   3 objects
    Grape.config[:param_builder]     44 ns   0 objects   6.4x faster

Three fewer objects allocated per request, on every request, on every endpoint
— confirmed end to end with a deterministic allocation count against a small
API (46.1 -> 43.1 objects for a bare JSON GET).

Nothing else changes: `method_missing` resolves `param_builder` to exactly this
lookup, so a `Grape.config.param_builder = ...` set anywhere still takes effect
the same way.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2873: Read the params builder setting with `[]` instead of `method_missing`

1238 of 1330 branches covered (93.08%)

Branch coverage included in aggregate %.

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

3897 of 3965 relevant lines covered (98.28%)

27164.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rails_7_2.gemfile - 33382226079.1 31 Aug 2026 10:32AM UTC 169
95.73
GitHub Action Run
2 run-4.0-gemfiles/rack_3_1.gemfile - 33382226079.2 31 Aug 2026 10:29AM UTC 168
95.73
GitHub Action Run
3 run-3.3-gemfiles/rack_3_1.gemfile - 33382226079.3 31 Aug 2026 10:30AM UTC 168
95.73
GitHub Action Run
4 run-3.4-gemfiles/rails_8_0.gemfile - 33382226079.4 31 Aug 2026 10:31AM UTC 169
95.73
GitHub Action Run
5 run-3.4-gemfiles/rack_3_0.gemfile - 33382226079.5 31 Aug 2026 10:29AM UTC 168
95.73
GitHub Action Run
6 run-3.3-gemfiles/rack_2_2.gemfile - 33382226079.6 31 Aug 2026 10:30AM UTC 168
95.69
GitHub Action Run
7 run-4.0-gemfiles/dry_validation.gemfile - 33382226079.7 31 Aug 2026 10:30AM UTC 168
57.8
GitHub Action Run
8 run-3.4-gemfiles/rails_7_2.gemfile - 33382226079.8 31 Aug 2026 10:32AM UTC 169
95.73
GitHub Action Run
9 run-3.4-gemfiles/rack_2_2.gemfile - 33382226079.9 31 Aug 2026 10:30AM UTC 168
95.69
GitHub Action Run
10 run-4.0-Gemfile - 33382226079.10 31 Aug 2026 10:32AM UTC 168
95.73
GitHub Action Run
11 run-3.4-gemfiles/rails_8_1.gemfile - 33382226079.11 31 Aug 2026 10:30AM UTC 169
95.73
GitHub Action Run
12 run-4.0-gemfiles/hashie.gemfile - 33382226079.12 31 Aug 2026 10:31AM UTC 168
61.64
GitHub Action Run
13 run-3.3-gemfiles/rails_8_0.gemfile - 33382226079.13 31 Aug 2026 10:31AM UTC 169
95.73
GitHub Action Run
14 run-3.3-gemfiles/rack_3_0.gemfile - 33382226079.14 31 Aug 2026 10:31AM UTC 168
95.73
GitHub Action Run
15 run-4.0-gemfiles/multi_xml.gemfile - 33382226079.15 31 Aug 2026 10:29AM UTC 168
46.8
GitHub Action Run
16 run-4.0-gemfiles/multi_json.gemfile - 33382226079.16 31 Aug 2026 10:32AM UTC 168
47.4
GitHub Action Run
17 run-4.0-gemfiles/rails_8_0.gemfile - 33382226079.17 31 Aug 2026 10:29AM UTC 169
95.73
GitHub Action Run
18 run-4.0-gemfiles/multi_json_1_20.gemfile - 33382226079.18 31 Aug 2026 10:28AM UTC 168
47.44
GitHub Action Run
19 run-4.0-gemfiles/multi_xml_0_8.gemfile - 33382226079.19 31 Aug 2026 10:28AM UTC 168
46.83
GitHub Action Run
20 run-3.3-gemfiles/rails_7_2.gemfile - 33382226079.20 31 Aug 2026 10:31AM UTC 169
95.73
GitHub Action Run
21 run-4.0-gemfiles/rails_8_1.gemfile - 33382226079.21 31 Aug 2026 10:30AM UTC 169
95.73
GitHub Action Run
22 run-3.3-gemfiles/rack_3_2.gemfile - 33382226079.22 31 Aug 2026 10:31AM UTC 168
95.73
GitHub Action Run
23 run-4.0-gemfiles/rack_3_2.gemfile - 33382226079.23 31 Aug 2026 10:31AM UTC 168
95.73
GitHub Action Run
24 run-4.0-gemfiles/grape_entity.gemfile - 33382226079.24 31 Aug 2026 10:30AM UTC 168
50.1
GitHub Action Run
25 run-4.0-gemfiles/rack_3_0.gemfile - 33382226079.25 31 Aug 2026 10:32AM UTC 168
95.73
GitHub Action Run
26 run-3.3-gemfiles/rails_8_1.gemfile - 33382226079.26 31 Aug 2026 10:32AM UTC 169
95.73
GitHub Action Run
27 run-3.3-Gemfile - 33382226079.27 31 Aug 2026 10:32AM UTC 168
95.73
GitHub Action Run
28 run-3.4-gemfiles/rack_3_2.gemfile - 33382226079.28 31 Aug 2026 10:31AM UTC 168
95.73
GitHub Action Run
29 run-3.4-gemfiles/rack_3_1.gemfile - 33382226079.29 31 Aug 2026 10:30AM UTC 168
95.73
GitHub Action Run
30 run-4.0-gemfiles/rack_2_2.gemfile - 33382226079.30 31 Aug 2026 10:31AM UTC 168
95.69
GitHub Action Run
31 run-4.0-gemfiles/grape_swagger.gemfile - 33382226079.31 31 Aug 2026 10:30AM UTC 168
55.19
GitHub Action Run
32 run-3.4-Gemfile - 33382226079.32 31 Aug 2026 10:31AM UTC 168
95.73
GitHub Action Run
Source Files on build 33382226079
  • Tree
  • List 169
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #33382226079
  • Pull Request #2873
  • PR Base - master (#33365105943)
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