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

ruby-grape / grape / 42396820899
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: add-duel
DEFAULT BRANCH: master
Ran 07 Nov 2026 05:32PM 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:32PM UTC coverage: 100.0%. Remained the same
42396820899

Pull #3064

github

ericproulx
Cascade past a mounted Rack app declining with lowercase x-cascade

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>
Pull Request #3064: Cascade past a mounted Rack app declining with lowercase x-cascade

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

30905.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_xml.gemfile - 42396820899.1 07 Nov 2026 05:32PM UTC 175
46.23
GitHub Action Run
2 run-3.4-gemfiles/rails_8_0.gemfile - 42396820899.2 07 Nov 2026 05:32PM UTC 177
98.87
GitHub Action Run
3 run-4.0-gemfiles/rails_8_1.gemfile - 42396820899.3 07 Nov 2026 05:32PM UTC 177
98.87
GitHub Action Run
4 run-3.3-gemfiles/rack_3_1.gemfile - 42396820899.4 07 Nov 2026 05:32PM UTC 176
98.88
GitHub Action Run
5 run-4.0-gemfiles/grape_entity.gemfile - 42396820899.5 07 Nov 2026 05:33PM UTC 175
49.42
GitHub Action Run
6 run-4.0-gemfiles/rack_3_2.gemfile - 42396820899.6 07 Nov 2026 05:32PM UTC 176
98.87
GitHub Action Run
7 run-4.0-gemfiles/rack_3_1.gemfile - 42396820899.7 07 Nov 2026 05:33PM UTC 176
98.87
GitHub Action Run
8 run-3.3-gemfiles/rails_8_0.gemfile - 42396820899.8 07 Nov 2026 05:33PM UTC 177
98.88
GitHub Action Run
9 run-4.0-gemfiles/multi_xml_0_8.gemfile - 42396820899.9 07 Nov 2026 05:32PM UTC 175
46.27
GitHub Action Run
10 run-4.0-gemfiles/hashie.gemfile - 42396820899.10 07 Nov 2026 05:32PM UTC 175
60.11
GitHub Action Run
11 run-3.3-gemfiles/rails_8_1.gemfile - 42396820899.11 07 Nov 2026 05:32PM UTC 177
98.88
GitHub Action Run
12 run-4.0-gemfiles/grape_swagger.gemfile - 42396820899.12 07 Nov 2026 05:33PM UTC 175
53.48
GitHub Action Run
13 run-4.0-gemfiles/rack_3_0.gemfile - 42396820899.13 07 Nov 2026 05:32PM UTC 176
98.87
GitHub Action Run
14 run-3.4-gemfiles/rack_3_0.gemfile - 42396820899.14 07 Nov 2026 05:33PM UTC 176
98.87
GitHub Action Run
15 run-4.0-gemfiles/dry_validation.gemfile - 42396820899.15 07 Nov 2026 05:33PM UTC 175
56.3
GitHub Action Run
16 run-3.4-gemfiles/rails_7_2.gemfile - 42396820899.16 07 Nov 2026 05:33PM UTC 177
98.87
GitHub Action Run
17 run-4.0-gemfiles/multi_json_1_20.gemfile - 42396820899.17 07 Nov 2026 05:32PM UTC 175
46.53
GitHub Action Run
18 run-3.4-gemfiles/rack_3_1.gemfile - 42396820899.18 07 Nov 2026 05:32PM UTC 176
98.87
GitHub Action Run
19 run-3.3-gemfiles/rack_2_2.gemfile - 42396820899.19 07 Nov 2026 05:33PM UTC 176
98.85
GitHub Action Run
20 run-4.0-gemfiles/multi_json.gemfile - 42396820899.20 07 Nov 2026 05:33PM UTC 175
46.5
GitHub Action Run
21 run-3.3-Gemfile - 42396820899.21 07 Nov 2026 05:32PM UTC 176
98.88
GitHub Action Run
22 run-3.3-gemfiles/rack_3_2.gemfile - 42396820899.22 07 Nov 2026 05:32PM UTC 176
98.88
GitHub Action Run
23 run-3.4-gemfiles/rack_2_2.gemfile - 42396820899.23 07 Nov 2026 05:32PM UTC 176
98.84
GitHub Action Run
24 run-4.0-Gemfile - 42396820899.24 07 Nov 2026 05:33PM UTC 176
98.87
GitHub Action Run
25 run-3.3-gemfiles/rack_3_0.gemfile - 42396820899.25 07 Nov 2026 05:32PM UTC 176
98.88
GitHub Action Run
26 run-3.4-gemfiles/rails_8_1.gemfile - 42396820899.26 07 Nov 2026 05:33PM UTC 177
98.87
GitHub Action Run
27 run-4.0-gemfiles/rails_8_0.gemfile - 42396820899.27 07 Nov 2026 05:32PM UTC 177
98.87
GitHub Action Run
28 run-4.0-gemfiles/rails_7_2.gemfile - 42396820899.28 07 Nov 2026 05:32PM UTC 177
98.87
GitHub Action Run
29 run-3.4-gemfiles/rack_3_2.gemfile - 42396820899.29 07 Nov 2026 05:32PM UTC 176
98.87
GitHub Action Run
30 run-4.0-gemfiles/rack_2_2.gemfile - 42396820899.30 07 Nov 2026 05:33PM UTC 176
98.84
GitHub Action Run
31 run-3.3-gemfiles/rails_7_2.gemfile - 42396820899.31 07 Nov 2026 05:33PM UTC 177
98.88
GitHub Action Run
32 run-3.4-Gemfile - 42396820899.32 07 Nov 2026 05:33PM UTC 176
98.87
GitHub Action Run
Source Files on build 42396820899
  • 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 #42396820899
  • Pull Request #3064
  • PR Base - 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