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

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

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 27 Jul 2026 05:13AM 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:12AM UTC coverage: 96.941% (+0.004%) from 96.937%
30239089784

Pull #2829

github

ericproulx
Let a cascading route hand over to every remaining route

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>
Pull Request #2829: Let a cascading route hand over to every remaining route

1191 of 1282 branches covered (92.9%)

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%)

25820.11 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-3.3-gemfiles/rack_3_0.gemfile - 30239089784.1 27 Jul 2026 05:14AM UTC 167
95.56
GitHub Action Run
2 run-3.4-gemfiles/rack_3_0.gemfile - 30239089784.2 27 Jul 2026 05:15AM UTC 167
95.56
GitHub Action Run
3 run-3.3-gemfiles/rails_8_1.gemfile - 30239089784.3 27 Jul 2026 05:13AM UTC 168
95.56
GitHub Action Run
4 run-4.0-gemfiles/multi_xml_0_8.gemfile - 30239089784.4 27 Jul 2026 05:14AM UTC 167
47.3
GitHub Action Run
5 run-4.0-gemfiles/rails_7_2.gemfile - 30239089784.5 27 Jul 2026 05:15AM UTC 168
95.56
GitHub Action Run
6 run-4.0-Gemfile - 30239089784.6 27 Jul 2026 05:14AM UTC 167
95.56
GitHub Action Run
7 run-3.4-gemfiles/rails_7_2.gemfile - 30239089784.7 27 Jul 2026 05:13AM UTC 168
95.56
GitHub Action Run
8 run-4.0-gemfiles/rails_8_0.gemfile - 30239089784.8 27 Jul 2026 05:14AM UTC 168
95.56
GitHub Action Run
9 run-3.3-gemfiles/rack_3_2.gemfile - 30239089784.9 27 Jul 2026 05:14AM UTC 167
95.56
GitHub Action Run
10 run-4.0-gemfiles/grape_entity.gemfile - 30239089784.10 27 Jul 2026 05:13AM UTC 167
50.57
GitHub Action Run
11 run-3.3-gemfiles/rack_3_1.gemfile - 30239089784.11 27 Jul 2026 05:14AM UTC 167
95.56
GitHub Action Run
12 run-4.0-gemfiles/rack_3_1.gemfile - 30239089784.12 27 Jul 2026 05:13AM UTC 167
95.56
GitHub Action Run
13 run-4.0-gemfiles/multi_json.gemfile - 30239089784.13 27 Jul 2026 05:14AM UTC 167
47.86
GitHub Action Run
14 run-3.3-Gemfile - 30239089784.14 27 Jul 2026 05:13AM UTC 167
95.56
GitHub Action Run
15 run-3.3-gemfiles/rack_2_2.gemfile - 30239089784.15 27 Jul 2026 05:15AM UTC 167
95.52
GitHub Action Run
16 run-4.0-gemfiles/hashie.gemfile - 30239089784.16 27 Jul 2026 05:13AM UTC 167
62.09
GitHub Action Run
17 run-4.0-gemfiles/dry_validation.gemfile - 30239089784.17 27 Jul 2026 05:14AM UTC 167
58.15
GitHub Action Run
18 run-4.0-gemfiles/grape_swagger.gemfile - 30239089784.18 27 Jul 2026 05:13AM UTC 167
55.46
GitHub Action Run
19 run-3.3-gemfiles/rails_7_2.gemfile - 30239089784.19 27 Jul 2026 05:15AM UTC 168
95.56
GitHub Action Run
20 run-4.0-gemfiles/rack_3_2.gemfile - 30239089784.20 27 Jul 2026 05:13AM UTC 167
95.56
GitHub Action Run
21 run-3.4-gemfiles/rack_3_2.gemfile - 30239089784.21 27 Jul 2026 05:15AM UTC 167
95.56
GitHub Action Run
22 run-4.0-gemfiles/rails_8_1.gemfile - 30239089784.22 27 Jul 2026 05:14AM UTC 168
95.56
GitHub Action Run
23 run-3.3-gemfiles/rails_8_0.gemfile - 30239089784.23 27 Jul 2026 05:14AM UTC 168
95.56
GitHub Action Run
24 run-4.0-gemfiles/rack_2_2.gemfile - 30239089784.24 27 Jul 2026 05:13AM UTC 167
95.52
GitHub Action Run
25 run-3.4-Gemfile - 30239089784.25 27 Jul 2026 05:14AM UTC 167
95.56
GitHub Action Run
26 run-3.4-gemfiles/rails_8_0.gemfile - 30239089784.26 27 Jul 2026 05:14AM UTC 168
95.56
GitHub Action Run
27 run-4.0-gemfiles/multi_json_1_20.gemfile - 30239089784.27 27 Jul 2026 05:15AM UTC 167
47.9
GitHub Action Run
28 run-4.0-gemfiles/rack_3_0.gemfile - 30239089784.28 27 Jul 2026 05:14AM UTC 167
95.56
GitHub Action Run
29 run-3.4-gemfiles/rails_8_1.gemfile - 30239089784.29 27 Jul 2026 05:15AM UTC 168
95.56
GitHub Action Run
30 run-3.4-gemfiles/rack_3_1.gemfile - 30239089784.30 27 Jul 2026 05:15AM UTC 167
95.56
GitHub Action Run
31 run-3.4-gemfiles/rack_2_2.gemfile - 30239089784.31 27 Jul 2026 05:13AM UTC 167
95.52
GitHub Action Run
32 run-4.0-gemfiles/multi_xml.gemfile - 30239089784.32 27 Jul 2026 05:13AM UTC 167
47.26
GitHub Action Run
Source Files on build 30239089784
  • 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 #30239089784
  • Pull Request #2829
  • PR Base - master (#30238951520)
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