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

ruby-grape / grape / 42397174974
100%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2026 05:37PM UTC
Jobs 32
Files 177
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

07 Nov 2026 05:36PM UTC coverage: 100.0%. Remained the same
42397174974

push

github

web-flow
Cascade past a mounted Rack app declining with lowercase x-cascade (#3064)

Router#cascade? looked up 'X-Cascade'. Grape's own responses fold the
case of a header name, but a mounted Rack app answers in a Hash of its
own, where case matters. On Rack 3 the SPEC requires lowercase names, so
an app declining with x-cascade: pass, as Sinatra and Rails do on Rack 3,
was never seen as declining: its own 404 reached the client instead of
the router's, and a sibling after it was never tried.

cascade? now reads x-cascade, and falls back to X-Cascade, the Rack 2
spelling, only for a Hash that does not fold case, so Grape's own
responses pay one extra is_a? check rather than a second lookup.

The router specs only ever declined with the Rack 2 spelling, which is
why this went unnoticed; one now declines with the Rack 3 spelling, and
an API spec mounts an app that does. The mounted-app "is able to
cascade" spec compared X-Cascade with == where it meant to set it, so it
tested nothing; it now sets x-cascade.

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

1531 of 1531 branches covered (100.0%)

Branch coverage included in aggregate %.

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

4570 of 4570 relevant lines covered (100.0%)

30903.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_3_2.gemfile - 42397174974.1 07 Nov 2026 05:37PM UTC 176
98.87
GitHub Action Run
2 run-3.4-gemfiles/rack_2_2.gemfile - 42397174974.2 07 Nov 2026 05:37PM UTC 176
98.84
GitHub Action Run
3 run-3.4-gemfiles/rack_3_0.gemfile - 42397174974.3 07 Nov 2026 05:37PM UTC 176
98.87
GitHub Action Run
4 run-4.0-gemfiles/rack_3_1.gemfile - 42397174974.4 07 Nov 2026 05:37PM UTC 176
98.87
GitHub Action Run
5 run-4.0-Gemfile - 42397174974.5 07 Nov 2026 05:37PM UTC 176
98.87
GitHub Action Run
6 run-4.0-gemfiles/multi_xml.gemfile - 42397174974.6 07 Nov 2026 05:37PM UTC 175
46.23
GitHub Action Run
7 run-3.4-gemfiles/rack_3_2.gemfile - 42397174974.7 07 Nov 2026 05:37PM UTC 176
98.87
GitHub Action Run
8 run-4.0-gemfiles/rails_8_1.gemfile - 42397174974.8 07 Nov 2026 05:37PM UTC 177
98.87
GitHub Action Run
9 run-3.3-gemfiles/rack_2_2.gemfile - 42397174974.9 07 Nov 2026 05:37PM UTC 176
98.85
GitHub Action Run
10 run-3.3-gemfiles/rails_8_0.gemfile - 42397174974.10 07 Nov 2026 05:37PM UTC 177
98.88
GitHub Action Run
11 run-4.0-gemfiles/rack_3_0.gemfile - 42397174974.11 07 Nov 2026 05:37PM UTC 176
98.87
GitHub Action Run
12 run-4.0-gemfiles/dry_validation.gemfile - 42397174974.12 07 Nov 2026 05:37PM UTC 175
56.3
GitHub Action Run
13 run-3.4-gemfiles/rack_3_1.gemfile - 42397174974.13 07 Nov 2026 05:37PM UTC 176
98.87
GitHub Action Run
14 run-4.0-gemfiles/rack_2_2.gemfile - 42397174974.14 07 Nov 2026 05:37PM UTC 176
98.84
GitHub Action Run
15 run-4.0-gemfiles/multi_json_1_20.gemfile - 42397174974.15 07 Nov 2026 05:37PM UTC 175
46.53
GitHub Action Run
16 run-3.3-gemfiles/rack_3_0.gemfile - 42397174974.16 07 Nov 2026 05:37PM UTC 176
98.88
GitHub Action Run
17 run-3.3-gemfiles/rails_7_2.gemfile - 42397174974.17 07 Nov 2026 05:37PM UTC 177
98.88
GitHub Action Run
18 run-4.0-gemfiles/rails_8_0.gemfile - 42397174974.18 07 Nov 2026 05:37PM UTC 177
98.87
GitHub Action Run
19 run-4.0-gemfiles/multi_json.gemfile - 42397174974.19 07 Nov 2026 05:37PM UTC 175
46.5
GitHub Action Run
20 run-4.0-gemfiles/grape_entity.gemfile - 42397174974.20 07 Nov 2026 05:37PM UTC 175
49.42
GitHub Action Run
21 run-3.3-gemfiles/rails_8_1.gemfile - 42397174974.21 07 Nov 2026 05:37PM UTC 177
98.88
GitHub Action Run
22 run-4.0-gemfiles/hashie.gemfile - 42397174974.22 07 Nov 2026 05:37PM UTC 175
60.11
GitHub Action Run
23 run-3.4-gemfiles/rails_8_0.gemfile - 42397174974.23 07 Nov 2026 05:37PM UTC 177
98.87
GitHub Action Run
24 run-4.0-gemfiles/multi_xml_0_8.gemfile - 42397174974.24 07 Nov 2026 05:37PM UTC 175
46.27
GitHub Action Run
25 run-4.0-gemfiles/grape_swagger.gemfile - 42397174974.25 07 Nov 2026 05:37PM UTC 175
53.48
GitHub Action Run
26 run-3.3-Gemfile - 42397174974.26 07 Nov 2026 05:37PM UTC 176
98.88
GitHub Action Run
27 run-3.3-gemfiles/rack_3_2.gemfile - 42397174974.27 07 Nov 2026 05:37PM UTC 176
98.88
GitHub Action Run
28 run-4.0-gemfiles/rails_7_2.gemfile - 42397174974.28 07 Nov 2026 05:37PM UTC 177
98.87
GitHub Action Run
29 run-3.4-Gemfile - 42397174974.29 07 Nov 2026 05:37PM UTC 176
98.87
GitHub Action Run
30 run-3.4-gemfiles/rails_7_2.gemfile - 42397174974.30 07 Nov 2026 05:37PM UTC 177
98.87
GitHub Action Run
31 run-3.3-gemfiles/rack_3_1.gemfile - 42397174974.31 07 Nov 2026 05:37PM UTC 176
98.88
GitHub Action Run
32 run-3.4-gemfiles/rails_8_1.gemfile - 42397174974.32 07 Nov 2026 05:37PM UTC 177
98.87
GitHub Action Run
Source Files on build 42397174974
  • Tree
  • List 177
  • 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 #42397174974
  • d8329a33 on github
  • Prev Build on master (#42381563130)
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