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

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

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 26 Jul 2026 08:02PM 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

26 Jul 2026 08:00PM UTC coverage: 96.921% (+0.005%) from 96.916%
30218074287

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

1175 of 1266 branches covered (92.81%)

Branch coverage included in aggregate %.

3799 of 3866 relevant lines covered (98.27%)

25870.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
97.06
0.18% lib/grape/router.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.4-Gemfile - 30218074287.1 26 Jul 2026 08:02PM UTC 167
95.53
GitHub Action Run
2 run-4.0-gemfiles/rack_3_1.gemfile - 30218074287.2 26 Jul 2026 08:02PM UTC 167
95.51
GitHub Action Run
3 run-4.0-gemfiles/grape_swagger.gemfile - 30218074287.3 26 Jul 2026 08:02PM UTC 167
55.72
GitHub Action Run
4 run-3.4-gemfiles/rails_7_2.gemfile - 30218074287.4 26 Jul 2026 08:02PM UTC 168
95.54
GitHub Action Run
5 run-3.4-gemfiles/rails_8_1.gemfile - 30218074287.5 26 Jul 2026 08:03PM UTC 168
95.54
GitHub Action Run
6 run-4.0-gemfiles/dry_validation.gemfile - 30218074287.6 26 Jul 2026 08:02PM UTC 167
58.41
GitHub Action Run
7 run-3.3-Gemfile - 30218074287.7 26 Jul 2026 08:02PM UTC 167
95.53
GitHub Action Run
8 run-3.4-gemfiles/rack_2_2.gemfile - 30218074287.8 26 Jul 2026 08:02PM UTC 167
95.49
GitHub Action Run
9 run-3.4-gemfiles/rails_8_0.gemfile - 30218074287.9 26 Jul 2026 08:03PM UTC 168
95.54
GitHub Action Run
10 run-3.4-gemfiles/rack_3_2.gemfile - 30218074287.10 26 Jul 2026 08:02PM UTC 167
95.53
GitHub Action Run
11 run-4.0-gemfiles/rack_3_0.gemfile - 30218074287.11 26 Jul 2026 08:02PM UTC 167
95.53
GitHub Action Run
12 run-3.3-gemfiles/rails_8_1.gemfile - 30218074287.12 26 Jul 2026 08:02PM UTC 168
95.54
GitHub Action Run
13 run-3.3-gemfiles/rack_2_2.gemfile - 30218074287.13 26 Jul 2026 08:02PM UTC 167
95.49
GitHub Action Run
14 run-4.0-gemfiles/rack_3_2.gemfile - 30218074287.14 26 Jul 2026 08:03PM UTC 167
95.53
GitHub Action Run
15 run-4.0-gemfiles/multi_json.gemfile - 30218074287.15 26 Jul 2026 08:02PM UTC 167
48.07
GitHub Action Run
16 run-3.3-gemfiles/rack_3_0.gemfile - 30218074287.16 26 Jul 2026 08:02PM UTC 167
95.53
GitHub Action Run
17 run-4.0-gemfiles/grape_entity.gemfile - 30218074287.17 26 Jul 2026 08:02PM UTC 167
50.78
GitHub Action Run
18 run-3.4-gemfiles/rack_3_0.gemfile - 30218074287.18 26 Jul 2026 08:02PM UTC 167
95.53
GitHub Action Run
19 run-3.3-gemfiles/rack_3_1.gemfile - 30218074287.19 26 Jul 2026 08:02PM UTC 167
95.53
GitHub Action Run
20 run-3.3-gemfiles/rails_7_2.gemfile - 30218074287.20 26 Jul 2026 08:02PM UTC 168
95.54
GitHub Action Run
21 run-4.0-gemfiles/rails_7_2.gemfile - 30218074287.21 26 Jul 2026 08:02PM UTC 168
95.54
GitHub Action Run
22 run-3.4-gemfiles/rack_3_1.gemfile - 30218074287.22 26 Jul 2026 08:02PM UTC 167
95.53
GitHub Action Run
23 run-4.0-gemfiles/rails_8_1.gemfile - 30218074287.23 26 Jul 2026 08:02PM UTC 168
95.54
GitHub Action Run
24 run-4.0-gemfiles/hashie.gemfile - 30218074287.24 26 Jul 2026 08:02PM UTC 167
62.37
GitHub Action Run
25 run-4.0-gemfiles/rack_2_2.gemfile - 30218074287.25 26 Jul 2026 08:02PM UTC 167
95.49
GitHub Action Run
26 run-4.0-gemfiles/multi_xml.gemfile - 30218074287.26 26 Jul 2026 08:02PM UTC 167
47.46
GitHub Action Run
27 run-4.0-Gemfile - 30218074287.27 26 Jul 2026 08:02PM UTC 167
95.53
GitHub Action Run
28 run-4.0-gemfiles/multi_xml_0_8.gemfile - 30218074287.28 26 Jul 2026 08:02PM UTC 167
47.5
GitHub Action Run
29 run-3.3-gemfiles/rails_8_0.gemfile - 30218074287.29 26 Jul 2026 08:02PM UTC 168
95.54
GitHub Action Run
30 run-4.0-gemfiles/rails_8_0.gemfile - 30218074287.30 26 Jul 2026 08:03PM UTC 168
95.54
GitHub Action Run
31 run-3.3-gemfiles/rack_3_2.gemfile - 30218074287.31 26 Jul 2026 08:02PM UTC 167
95.53
GitHub Action Run
32 run-4.0-gemfiles/multi_json_1_20.gemfile - 30218074287.32 26 Jul 2026 08:02PM UTC 167
48.11
GitHub Action Run
Source Files on build 30218074287
  • Tree
  • List 168
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30218074287
  • Pull Request #2829
  • PR Base - master (#30216088388)
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