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

ruby-grape / grape / 41223413921
100%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2026 05:12PM UTC
Jobs 18
Files 176
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

31 Oct 2026 05:12PM UTC coverage: 99.818% (-0.1%) from 99.95%
41223413921

push

github

web-flow
Answer 404 when every route on a path cascades (#3043)

A route declines a request with X-Cascade: pass. The README documents the
result for an invalid version under `cascade: true`: a 404 if no other route
matches. The router only did that when one route had declined. With two or
more routes on the path, #rotation handed back the last one's response, and
since #2829 a cascading ANY route's response came back too, with its body
already closed. So an unknown version answered 404 from an API with one
version and 406 from an API with several.

Rack::Cascade goes by the status alone, so that 406 also stopped it short of
the next app, despite the X-Cascade header.

A declined response is now always closed and dropped, leaving the router's own
404, which still carries X-Cascade. An ANY route that declined still matched,
so no 405 follows it.

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

1513 of 1515 branches covered (99.87%)

Branch coverage included in aggregate %.

11 of 11 new or added lines in 1 file covered. (100.0%)

8 existing lines in 2 files now uncovered.

4522 of 4531 relevant lines covered (99.8%)

15295.18 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
65.22
-34.78% lib/grape/json.rb
1
80.0
-20.0% lib/grape/params_builder/hashie_mash.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_3_1.gemfile - 41223413921.1 31 Oct 2026 05:13PM UTC 175
98.82
GitHub Action Run
2 run-3.3-gemfiles/rack_3_1.gemfile - 41223413921.2 31 Oct 2026 05:12PM UTC 175
98.84
GitHub Action Run
3 run-4.0-gemfiles/rails_7_2.gemfile - 41223413921.3 31 Oct 2026 05:13PM UTC 176
98.83
GitHub Action Run
4 run-4.0-gemfiles/multi_xml.gemfile - 41223413921.4 31 Oct 2026 05:13PM UTC 174
46.41
GitHub Action Run
5 run-4.0-gemfiles/grape_swagger.gemfile - 41223413921.5 31 Oct 2026 05:12PM UTC 174
53.76
GitHub Action Run
6 run-4.0-gemfiles/multi_xml_0_8.gemfile - 41223413921.6 31 Oct 2026 05:12PM UTC 174
46.44
GitHub Action Run
7 run-4.0-gemfiles/multi_json_1_20.gemfile - 41223413921.7 31 Oct 2026 05:12PM UTC 174
46.71
GitHub Action Run
8 run-3.3-gemfiles/rack_3_0.gemfile - 41223413921.8 31 Oct 2026 05:13PM UTC 175
98.84
GitHub Action Run
9 run-4.0-gemfiles/grape_entity.gemfile - 41223413921.9 31 Oct 2026 05:13PM UTC 174
49.57
GitHub Action Run
10 run-3.4-gemfiles/rack_2_2.gemfile - 41223413921.10 31 Oct 2026 05:12PM UTC 175
98.79
GitHub Action Run
11 run-3.3-gemfiles/rails_8_1.gemfile - 41223413921.11 31 Oct 2026 05:13PM UTC 176
98.84
GitHub Action Run
12 run-3.4-gemfiles/rack_3_0.gemfile - 41223413921.12 31 Oct 2026 05:13PM UTC 175
98.82
GitHub Action Run
13 run-4.0-gemfiles/rails_8_1.gemfile - 41223413921.13 31 Oct 2026 05:13PM UTC 176
98.83
GitHub Action Run
14 run-4.0-gemfiles/dry_validation.gemfile - 41223413921.14 31 Oct 2026 05:13PM UTC 174
56.53
GitHub Action Run
15 run-4.0-gemfiles/rails_8_0.gemfile - 41223413921.15 31 Oct 2026 05:13PM UTC 176
98.83
GitHub Action Run
16 run-4.0-gemfiles/rack_3_2.gemfile - 41223413921.16 31 Oct 2026 05:12PM UTC 175
98.82
GitHub Action Run
17 run-4.0-gemfiles/rack_3_0.gemfile - 41223413921.17 31 Oct 2026 05:12PM UTC 175
98.82
GitHub Action Run
18 run-3.4-gemfiles/rails_8_0.gemfile - 41223413921.18 31 Oct 2026 05:13PM UTC 176
98.83
GitHub Action Run
Source Files on build 41223413921
  • Tree
  • List 176
  • 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 #41223413921
  • 575ab890 on github
  • Prev Build on master (#41211225843)
  • Next Build on master (#41223761146)
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