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

ruby-grape / grape / 35532696661
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: mutual_exclusive
DEFAULT BRANCH: master
Ran 20 Sep 2026 07:33PM UTC
Jobs 32
Files 168
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

20 Sep 2026 07:33PM UTC coverage: 99.026% (+0.001%) from 99.025%
35532696661

Pull #2977

github

ericproulx
Copy the query params only when the params builder hands them back

Since #2972 a request with no body builds its params from `self.GET`, the
query hash Rack memoizes in the env, rather than from the copy the merge in
`Rack::Request#params` used to hand over. The copy was reinstated with an
unconditional `dup`, so that the writes which follow -- routing args,
coercions, defaults -- cannot reach the env.

Every params builder Grape ships constructs a new object, so that `dup` is
allocated and thrown away on every such request. Only a builder that returns
its argument needs it, and an identity comparison says so for the price of a
pointer compare.

Over the 6400-request mix of a real API, counting every allocation and not
just Grape's: 185.0 objects per request before, 184.4 after, against 187.0
before #2972.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2977: Copy the query params only when the params builder hands them back

1466 of 1523 branches covered (96.26%)

Branch coverage included in aggregate %.

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

4330 of 4330 relevant lines covered (100.0%)

28755.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/dry_validation.gemfile - 35532696661.1 20 Sep 2026 07:34PM UTC 166
55.76
GitHub Action Run
2 run-3.4-gemfiles/rails_8_1.gemfile - 35532696661.2 20 Sep 2026 07:34PM UTC 168
97.85
GitHub Action Run
3 run-4.0-gemfiles/rails_8_0.gemfile - 35532696661.3 20 Sep 2026 07:34PM UTC 168
97.85
GitHub Action Run
4 run-4.0-Gemfile - 35532696661.4 20 Sep 2026 07:34PM UTC 167
97.85
GitHub Action Run
5 run-4.0-gemfiles/rails_7_2.gemfile - 35532696661.5 20 Sep 2026 07:34PM UTC 168
97.86
GitHub Action Run
6 run-4.0-gemfiles/rails_8_1.gemfile - 35532696661.6 20 Sep 2026 07:34PM UTC 168
97.85
GitHub Action Run
7 run-3.4-gemfiles/rails_7_2.gemfile - 35532696661.7 20 Sep 2026 07:34PM UTC 168
97.85
GitHub Action Run
8 run-3.4-gemfiles/rack_3_1.gemfile - 35532696661.8 20 Sep 2026 07:34PM UTC 167
97.86
GitHub Action Run
9 run-4.0-gemfiles/rack_3_1.gemfile - 35532696661.9 20 Sep 2026 07:34PM UTC 167
97.85
GitHub Action Run
10 run-4.0-gemfiles/multi_json_1_20.gemfile - 35532696661.10 20 Sep 2026 07:34PM UTC 166
45.82
GitHub Action Run
11 run-3.4-Gemfile - 35532696661.11 20 Sep 2026 07:34PM UTC 167
97.85
GitHub Action Run
12 run-3.3-gemfiles/rack_3_2.gemfile - 35532696661.12 20 Sep 2026 07:34PM UTC 167
97.86
GitHub Action Run
13 run-4.0-gemfiles/rack_3_0.gemfile - 35532696661.13 20 Sep 2026 07:34PM UTC 167
97.86
GitHub Action Run
14 run-3.3-gemfiles/rails_8_0.gemfile - 35532696661.14 20 Sep 2026 07:34PM UTC 168
97.86
GitHub Action Run
15 run-3.3-gemfiles/rack_3_0.gemfile - 35532696661.15 20 Sep 2026 07:34PM UTC 167
97.86
GitHub Action Run
16 run-3.3-gemfiles/rack_3_1.gemfile - 35532696661.16 20 Sep 2026 07:34PM UTC 167
97.86
GitHub Action Run
17 run-4.0-gemfiles/multi_json.gemfile - 35532696661.17 20 Sep 2026 07:33PM UTC 166
45.78
GitHub Action Run
18 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35532696661.18 20 Sep 2026 07:33PM UTC 166
45.54
GitHub Action Run
19 run-3.4-gemfiles/rack_3_2.gemfile - 35532696661.19 20 Sep 2026 07:34PM UTC 167
97.85
GitHub Action Run
20 run-4.0-gemfiles/hashie.gemfile - 35532696661.20 20 Sep 2026 07:34PM UTC 166
59.78
GitHub Action Run
21 run-3.4-gemfiles/rails_8_0.gemfile - 35532696661.21 20 Sep 2026 07:34PM UTC 168
97.85
GitHub Action Run
22 run-3.4-gemfiles/rack_3_0.gemfile - 35532696661.22 20 Sep 2026 07:34PM UTC 167
97.85
GitHub Action Run
23 run-4.0-gemfiles/rack_3_2.gemfile - 35532696661.23 20 Sep 2026 07:34PM UTC 167
97.85
GitHub Action Run
24 run-3.4-gemfiles/rack_2_2.gemfile - 35532696661.24 20 Sep 2026 07:34PM UTC 167
97.81
GitHub Action Run
25 run-4.0-gemfiles/grape_entity.gemfile - 35532696661.25 20 Sep 2026 07:34PM UTC 166
48.58
GitHub Action Run
26 run-3.3-gemfiles/rails_7_2.gemfile - 35532696661.26 20 Sep 2026 07:34PM UTC 168
97.86
GitHub Action Run
27 run-4.0-gemfiles/rack_2_2.gemfile - 35532696661.27 20 Sep 2026 07:34PM UTC 167
97.81
GitHub Action Run
28 run-3.3-Gemfile - 35532696661.28 20 Sep 2026 07:34PM UTC 167
97.86
GitHub Action Run
29 run-4.0-gemfiles/multi_xml.gemfile - 35532696661.29 20 Sep 2026 07:34PM UTC 166
45.51
GitHub Action Run
30 run-3.3-gemfiles/rack_2_2.gemfile - 35532696661.30 20 Sep 2026 07:34PM UTC 167
97.84
GitHub Action Run
31 run-3.3-gemfiles/rails_8_1.gemfile - 35532696661.31 20 Sep 2026 07:34PM UTC 168
97.86
GitHub Action Run
32 run-4.0-gemfiles/grape_swagger.gemfile - 35532696661.32 20 Sep 2026 07:33PM UTC 166
53.12
GitHub Action Run
Source Files on build 35532696661
  • Tree
  • List 168
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35532696661
  • Pull Request #2977
  • PR Base - master (#35524402103)
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