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

ruby-grape / grape / 30306029090 / 15
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2026 09:15PM UTC
Files 167
Run time 9s
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

27 Jul 2026 09:14PM UTC coverage: 95.584% (+0.001%) from 95.583%
30306029090.15

push

github

web-flow
Restore the per-attempt routing args in Grape::Router (#2834)

#2824 made process_route build a fresh routing-args Hash per attempt, so
a candidate tried after a cascading match (X-Cascade pass) could not
observe the previous attempt's :route_info or path captures. #2829 was
squash-merged from a branch cut before #2824 landed, so its squashed diff
replayed the stale router.rb over the fix and dropped the regression spec
along with it. Git reported no conflict, and #2824's CHANGELOG entry
survived, so the tree claims a fix it no longer has.

Symptoms are back on master: with a cascading v2 and a serving v1, the
`route` helper returns v2's route (origin "/:id" instead of "/:name") and
v2's capture leaks into params as {"id"=>"123", "name"=>"123"} -- an
endpoint sees a param it never declared.

Restore the fix and its spec verbatim. The router is the only writer of
env['grape.routing_args'], so the unconditional assignment is safe.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

1169 of 1282 branches covered (91.19%)

Branch coverage included in aggregate %.

3744 of 3858 relevant lines covered (97.05%)

1116.96 hits per line

Source Files on job run-3.4-gemfiles/rails_7_2.gemfile - 30306029090.15
  • Tree
  • List 167
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30306029090
  • f7175cab on github
  • Prev Job for on master (#30261081468.5)
  • Next Job for on master (#30485393298.17)
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