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

ruby-grape / grape / 30240331355
97%

Build:
DEFAULT BRANCH: master
Ran 27 Jul 2026 05:39AM 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

27 Jul 2026 05:38AM UTC coverage: 96.96% (+0.004%) from 96.956%
30240331355

push

github

web-flow
Let a cascading route hand over to every remaining route (#2829)

Router#transaction sent a cascading match straight to the greedy
neighbour — the last route registered for the path — and returned its
answer, so any route registered between the first match and that last
one was unreachable. With three mounted API versions plus a catch-all
`route :any, '*path'`, v1 and v3 were served while v2 answered 406; the
shortcut only ever looked correct with exactly two versions, where "the
last route" happens to be the sibling.

Try the method's remaining routes (#rotation) as soon as a match
cascades, before the ANY routes and the greedy neighbour, and keep the
priority order otherwise intact. A consequence, and what cascade: true
means: with a catch-all present, an unmatched version now falls through
to it rather than surfacing the versioner's 406. cascade: false still
answers 406 immediately and never consults the catch-all.

Also close the body of every superseded cascading response — Rack
requires it, and rotation previously leaked them (Rack::Lint flagged
this as soon as a third sibling made the path reachable).

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

1192 of 1282 branches covered (92.98%)

Branch coverage included in aggregate %.

30 of 31 new or added lines in 1 file covered. (96.77%)

1 existing line in 1 file now uncovered.

3816 of 3883 relevant lines covered (98.27%)

26779.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
97.06
0.16% lib/grape/router.rb

Coverage Regressions

Lines Coverage ∆ File
1
97.06
0.16% lib/grape/router.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/grape_entity.gemfile - 30240331355.1 27 Jul 2026 05:40AM UTC 167
50.57
GitHub Action Run
2 run-3.4-gemfiles/rack_3_1.gemfile - 30240331355.2 27 Jul 2026 05:39AM UTC 167
95.58
GitHub Action Run
3 run-3.4-gemfiles/rails_8_1.gemfile - 30240331355.3 27 Jul 2026 05:41AM UTC 168
95.58
GitHub Action Run
4 run-3.4-gemfiles/rack_3_2.gemfile - 30240331355.4 27 Jul 2026 05:40AM UTC 167
95.58
GitHub Action Run
5 run-4.0-gemfiles/multi_json.gemfile - 30240331355.5 27 Jul 2026 05:39AM UTC 167
47.86
GitHub Action Run
6 run-3.3-gemfiles/rack_3_0.gemfile - 30240331355.6 27 Jul 2026 05:40AM UTC 167
95.58
GitHub Action Run
7 run-4.0-gemfiles/multi_json_1_20.gemfile - 30240331355.7 27 Jul 2026 05:40AM UTC 167
47.9
GitHub Action Run
8 run-4.0-gemfiles/dry_validation.gemfile - 30240331355.8 27 Jul 2026 05:41AM UTC 167
58.15
GitHub Action Run
9 run-4.0-gemfiles/hashie.gemfile - 30240331355.9 27 Jul 2026 05:41AM UTC 167
62.09
GitHub Action Run
10 run-3.4-Gemfile - 30240331355.10 27 Jul 2026 05:39AM UTC 167
95.58
GitHub Action Run
11 run-3.4-gemfiles/rack_3_0.gemfile - 30240331355.11 27 Jul 2026 05:39AM UTC 167
95.58
GitHub Action Run
12 run-3.3-gemfiles/rack_3_2.gemfile - 30240331355.12 27 Jul 2026 05:39AM UTC 167
95.58
GitHub Action Run
13 run-4.0-gemfiles/rails_8_0.gemfile - 30240331355.13 27 Jul 2026 05:41AM UTC 168
95.58
GitHub Action Run
14 run-4.0-gemfiles/rails_7_2.gemfile - 30240331355.14 27 Jul 2026 05:40AM UTC 168
95.58
GitHub Action Run
15 run-3.3-Gemfile - 30240331355.15 27 Jul 2026 05:39AM UTC 167
95.58
GitHub Action Run
16 run-4.0-gemfiles/rails_8_1.gemfile - 30240331355.16 27 Jul 2026 05:41AM UTC 168
95.58
GitHub Action Run
17 run-3.4-gemfiles/rack_2_2.gemfile - 30240331355.17 27 Jul 2026 05:41AM UTC 167
95.54
GitHub Action Run
18 run-4.0-gemfiles/multi_xml.gemfile - 30240331355.18 27 Jul 2026 05:41AM UTC 167
47.26
GitHub Action Run
19 run-3.4-gemfiles/rails_8_0.gemfile - 30240331355.19 27 Jul 2026 05:41AM UTC 168
95.58
GitHub Action Run
20 run-4.0-gemfiles/rack_3_1.gemfile - 30240331355.20 27 Jul 2026 05:39AM UTC 167
95.58
GitHub Action Run
21 run-4.0-gemfiles/grape_swagger.gemfile - 30240331355.21 27 Jul 2026 05:41AM UTC 167
55.46
GitHub Action Run
22 run-3.4-gemfiles/rails_7_2.gemfile - 30240331355.22 27 Jul 2026 05:41AM UTC 168
95.58
GitHub Action Run
23 run-4.0-gemfiles/rack_3_2.gemfile - 30240331355.23 27 Jul 2026 05:41AM UTC 167
95.58
GitHub Action Run
24 run-4.0-Gemfile - 30240331355.24 27 Jul 2026 05:40AM UTC 167
95.58
GitHub Action Run
25 run-4.0-gemfiles/multi_xml_0_8.gemfile - 30240331355.25 27 Jul 2026 05:40AM UTC 167
47.3
GitHub Action Run
26 run-3.3-gemfiles/rack_3_1.gemfile - 30240331355.26 27 Jul 2026 05:39AM UTC 167
95.58
GitHub Action Run
27 run-3.3-gemfiles/rails_7_2.gemfile - 30240331355.27 27 Jul 2026 05:41AM UTC 168
95.58
GitHub Action Run
28 run-4.0-gemfiles/rack_3_0.gemfile - 30240331355.28 27 Jul 2026 05:40AM UTC 167
95.58
GitHub Action Run
29 run-3.3-gemfiles/rack_2_2.gemfile - 30240331355.29 27 Jul 2026 05:40AM UTC 167
95.54
GitHub Action Run
30 run-3.3-gemfiles/rails_8_0.gemfile - 30240331355.30 27 Jul 2026 05:39AM UTC 168
95.58
GitHub Action Run
31 run-4.0-gemfiles/rack_2_2.gemfile - 30240331355.31 27 Jul 2026 05:41AM UTC 167
95.54
GitHub Action Run
32 run-3.3-gemfiles/rails_8_1.gemfile - 30240331355.32 27 Jul 2026 05:41AM UTC 168
95.58
GitHub Action Run
Source Files on build 30240331355
  • Tree
  • List 168
  • 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 #30240331355
  • 59188e2a on github
  • Prev Build on master (#30239765840)
  • Next Build on master (#30240557756)
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