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

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

Build:
Build:
LAST BUILD BRANCH: security/mounted-rack-auth-and-html-escape
DEFAULT BRANCH: master
Ran 23 May 2026 04:53PM UTC
Jobs 38
Files 164
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

23 May 2026 04:52PM UTC coverage: 96.979% (+0.002%) from 96.977%
26338323231

Pull #2738

github

ericproulx
Skip redundant `GRAPE_ROUTING_ARGS` rewrite when route has no params to merge

`Router#process_route` previously did:

  args = env[Grape::Env::GRAPE_ROUTING_ARGS] || { route_info: route }
  route_params = route.params(input)
  env[Grape::Env::GRAPE_ROUTING_ARGS] = route_params.blank? ? args : args.merge(route_params)

When `env[GRAPE_ROUTING_ARGS]` was already set and `route_params` was
blank, the ternary returned `args` unchanged and we wrote the same Hash
back to env — a no-op assignment on every cascade match through a route
with no URL placeholders (the common case).

Switch to `||=` for the default, and only re-assign env when there are
new params to merge. Same observable behavior; one fewer env write per
no-param route match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2738: Skip redundant GRAPE_ROUTING_ARGS rewrite when route has no params to merge

1088 of 1173 branches covered (92.75%)

Branch coverage included in aggregate %.

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

3534 of 3593 relevant lines covered (98.36%)

31633.32 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rails_8_0.gemfile - 26338323231.1 23 May 2026 04:53PM UTC 164
95.69
GitHub Action Run
2 run-4.0-gemfiles/multi_json.gemfile - 26338323231.2 23 May 2026 04:53PM UTC 163
36.63
GitHub Action Run
3 run-3.2-gemfiles/rack_3_1.gemfile - 26338323231.3 23 May 2026 04:53PM UTC 163
95.73
GitHub Action Run
4 run-3.3-gemfiles/rails_8_1.gemfile - 26338323231.4 23 May 2026 04:53PM UTC 164
95.69
GitHub Action Run
5 run-3.2-Gemfile - 26338323231.5 23 May 2026 04:53PM UTC 163
95.73
GitHub Action Run
6 run-4.0-gemfiles/rack_2_2.gemfile - 26338323231.6 23 May 2026 04:53PM UTC 163
95.65
GitHub Action Run
7 run-3.3-gemfiles/rails_7_2.gemfile - 26338323231.7 23 May 2026 04:53PM UTC 164
95.69
GitHub Action Run
8 run-3.3-gemfiles/rack_3_2.gemfile - 26338323231.8 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
9 run-3.2-gemfiles/rack_3_2.gemfile - 26338323231.9 23 May 2026 04:53PM UTC 163
95.73
GitHub Action Run
10 run-4.0-gemfiles/rack_3_0.gemfile - 26338323231.10 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
11 run-4.0-gemfiles/rack_3_1.gemfile - 26338323231.11 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
12 run-4.0-gemfiles/dry_validation.gemfile - 26338323231.12 23 May 2026 04:53PM UTC 163
58.24
GitHub Action Run
13 run-3.4-gemfiles/rails_8_1.gemfile - 26338323231.13 23 May 2026 04:53PM UTC 164
95.69
GitHub Action Run
14 run-3.3-gemfiles/rails_8_0.gemfile - 26338323231.14 23 May 2026 04:53PM UTC 164
95.69
GitHub Action Run
15 run-3.4-gemfiles/rails_7_2.gemfile - 26338323231.15 23 May 2026 04:53PM UTC 164
95.69
GitHub Action Run
16 run-3.2-gemfiles/rails_8_0.gemfile - 26338323231.16 23 May 2026 04:53PM UTC 164
95.74
GitHub Action Run
17 run-3.2-gemfiles/rack_3_0.gemfile - 26338323231.17 23 May 2026 04:53PM UTC 163
95.73
GitHub Action Run
18 run-4.0-gemfiles/multi_xml.gemfile - 26338323231.18 23 May 2026 04:53PM UTC 163
36.63
GitHub Action Run
19 run-3.4-gemfiles/rack_3_1.gemfile - 26338323231.19 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
20 run-3.2-gemfiles/rack_2_2.gemfile - 26338323231.20 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
21 run-4.0-gemfiles/rack_3_2.gemfile - 26338323231.21 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
22 run-3.3-gemfiles/rack_3_1.gemfile - 26338323231.22 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
23 run-3.2-gemfiles/rails_8_1.gemfile - 26338323231.23 23 May 2026 04:53PM UTC 164
95.74
GitHub Action Run
24 run-3.4-gemfiles/rack_2_2.gemfile - 26338323231.24 23 May 2026 04:53PM UTC 163
95.65
GitHub Action Run
25 run-3.3-gemfiles/rack_3_0.gemfile - 26338323231.25 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
26 run-4.0-gemfiles/hashie.gemfile - 26338323231.26 23 May 2026 04:53PM UTC 163
62.45
GitHub Action Run
27 run-3.3-gemfiles/rack_2_2.gemfile - 26338323231.27 23 May 2026 04:53PM UTC 163
95.65
GitHub Action Run
28 run-3.4-gemfiles/rack_3_0.gemfile - 26338323231.28 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
29 run-3.4-Gemfile - 26338323231.29 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
30 run-3.4-gemfiles/rack_3_2.gemfile - 26338323231.30 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
31 run-4.0-gemfiles/grape_entity.gemfile - 26338323231.31 23 May 2026 04:53PM UTC 163
50.19
GitHub Action Run
32 run-3.2-gemfiles/rails_7_2.gemfile - 26338323231.32 23 May 2026 04:53PM UTC 164
95.74
GitHub Action Run
33 run-4.0-gemfiles/rails_7_2.gemfile - 26338323231.33 23 May 2026 04:54PM UTC 164
95.69
GitHub Action Run
34 run-4.0-gemfiles/rails_8_1.gemfile - 26338323231.34 23 May 2026 04:53PM UTC 164
95.69
GitHub Action Run
35 run-3.3-Gemfile - 26338323231.35 23 May 2026 04:53PM UTC 163
95.69
GitHub Action Run
36 run-4.0-gemfiles/rails_8_0.gemfile - 26338323231.36 23 May 2026 04:54PM UTC 164
95.69
GitHub Action Run
37 run-4.0-gemfiles/grape_swagger.gemfile - 26338323231.37 23 May 2026 04:53PM UTC 163
55.19
GitHub Action Run
38 run-4.0-Gemfile - 26338323231.38 23 May 2026 04:54PM UTC 163
95.69
GitHub Action Run
Source Files on build 26338323231
  • Tree
  • List 164
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26338323231
  • Pull Request #2738
  • PR Base - master (#26292056269)
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