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

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

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 27 Jul 2026 05:28AM 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:28AM UTC coverage: 96.96% (+0.004%) from 96.956%
30239832808

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

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

26782.35 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.4-gemfiles/rails_7_2.gemfile - 30239832808.1 27 Jul 2026 05:29AM UTC 168
95.58
GitHub Action Run
2 run-3.3-gemfiles/rails_8_1.gemfile - 30239832808.2 27 Jul 2026 05:28AM UTC 168
95.58
GitHub Action Run
3 run-3.4-gemfiles/rails_8_1.gemfile - 30239832808.3 27 Jul 2026 05:29AM UTC 168
95.58
GitHub Action Run
4 run-4.0-Gemfile - 30239832808.4 27 Jul 2026 05:28AM UTC 167
95.58
GitHub Action Run
5 run-3.4-Gemfile - 30239832808.5 27 Jul 2026 05:29AM UTC 167
95.58
GitHub Action Run
6 run-3.4-gemfiles/rack_3_0.gemfile - 30239832808.6 27 Jul 2026 05:28AM UTC 167
95.58
GitHub Action Run
7 run-4.0-gemfiles/rack_3_2.gemfile - 30239832808.7 27 Jul 2026 05:30AM UTC 167
95.58
GitHub Action Run
8 run-4.0-gemfiles/rack_3_1.gemfile - 30239832808.8 27 Jul 2026 05:28AM UTC 167
95.58
GitHub Action Run
9 run-4.0-gemfiles/hashie.gemfile - 30239832808.9 27 Jul 2026 05:28AM UTC 167
62.09
GitHub Action Run
10 run-3.3-Gemfile - 30239832808.10 27 Jul 2026 05:28AM UTC 167
95.58
GitHub Action Run
11 run-3.4-gemfiles/rails_8_0.gemfile - 30239832808.11 27 Jul 2026 05:29AM UTC 168
95.58
GitHub Action Run
12 run-4.0-gemfiles/rails_7_2.gemfile - 30239832808.12 27 Jul 2026 05:28AM UTC 168
95.58
GitHub Action Run
13 run-3.4-gemfiles/rack_3_2.gemfile - 30239832808.13 27 Jul 2026 05:28AM UTC 167
95.58
GitHub Action Run
14 run-4.0-gemfiles/dry_validation.gemfile - 30239832808.14 27 Jul 2026 05:29AM UTC 167
58.15
GitHub Action Run
15 run-3.3-gemfiles/rails_8_0.gemfile - 30239832808.15 27 Jul 2026 05:28AM UTC 168
95.58
GitHub Action Run
16 run-3.3-gemfiles/rack_3_2.gemfile - 30239832808.16 27 Jul 2026 05:28AM UTC 167
95.58
GitHub Action Run
17 run-4.0-gemfiles/multi_xml.gemfile - 30239832808.17 27 Jul 2026 05:28AM UTC 167
47.26
GitHub Action Run
18 run-3.3-gemfiles/rails_7_2.gemfile - 30239832808.18 27 Jul 2026 05:28AM UTC 168
95.58
GitHub Action Run
19 run-4.0-gemfiles/grape_entity.gemfile - 30239832808.19 27 Jul 2026 05:29AM UTC 167
50.57
GitHub Action Run
20 run-4.0-gemfiles/rails_8_0.gemfile - 30239832808.20 27 Jul 2026 05:28AM UTC 168
95.58
GitHub Action Run
21 run-3.3-gemfiles/rack_3_1.gemfile - 30239832808.21 27 Jul 2026 05:29AM UTC 167
95.58
GitHub Action Run
22 run-4.0-gemfiles/grape_swagger.gemfile - 30239832808.22 27 Jul 2026 05:29AM UTC 167
55.46
GitHub Action Run
23 run-3.3-gemfiles/rack_3_0.gemfile - 30239832808.23 27 Jul 2026 05:28AM UTC 167
95.58
GitHub Action Run
24 run-3.4-gemfiles/rack_2_2.gemfile - 30239832808.24 27 Jul 2026 05:28AM UTC 167
95.54
GitHub Action Run
25 run-3.4-gemfiles/rack_3_1.gemfile - 30239832808.25 27 Jul 2026 05:28AM UTC 167
95.58
GitHub Action Run
26 run-4.0-gemfiles/rack_2_2.gemfile - 30239832808.26 27 Jul 2026 05:28AM UTC 167
95.54
GitHub Action Run
27 run-4.0-gemfiles/multi_xml_0_8.gemfile - 30239832808.27 27 Jul 2026 05:28AM UTC 167
47.3
GitHub Action Run
28 run-4.0-gemfiles/rack_3_0.gemfile - 30239832808.28 27 Jul 2026 05:28AM UTC 167
95.58
GitHub Action Run
29 run-3.3-gemfiles/rack_2_2.gemfile - 30239832808.29 27 Jul 2026 05:29AM UTC 167
95.54
GitHub Action Run
30 run-4.0-gemfiles/multi_json_1_20.gemfile - 30239832808.30 27 Jul 2026 05:29AM UTC 167
47.9
GitHub Action Run
31 run-4.0-gemfiles/rails_8_1.gemfile - 30239832808.31 27 Jul 2026 05:28AM UTC 168
95.58
GitHub Action Run
32 run-4.0-gemfiles/multi_json.gemfile - 30239832808.32 27 Jul 2026 05:28AM UTC 167
47.86
GitHub Action Run
Source Files on build 30239832808
  • 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 #30239832808
  • Pull Request #2829
  • PR Base - master (#30239765840)
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