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

ruby-grape / grape / 35330680770
99%

Build:
DEFAULT BRANCH: master
Ran 18 Sep 2026 09:40AM UTC
Jobs 32
Files 167
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

18 Sep 2026 09:39AM UTC coverage: 99.06% (+0.02%) from 99.042%
35330680770

push

github

web-flow
Route a splat path the same way however many routes a method has (#2952)

Pattern#build_path_from_pattern makes the '/' ahead of a trailing `*path`
optional, so `files/*path` matches `/filesextra` as well as `/files/extra`.
RouteBuckets still took `files` as the key that route sits under, so a
request for `/filesextra` looked up the bucket for `filesextra`, found none,
and was matched against the fallback, which does not hold the splat route.

The answer then depended on how many routes the method had. Below eight
routes there are no buckets and the full union served `/filesextra` with
`path` set to `extra`; from eight on the same request was a 404, while a
POST to it answered 405 with an Allow header offering GET, and OPTIONS
listed GET too.

The segment ahead of a trailing `*path` is now left unkeyed, the way the
last segment of an unanchored route already was: both are segments a path
can run on from without a '/', and a route there sits in every bucket.

Checked against 4.0.1, which predates the buckets, on 1.25M requests
generated from random route tables (many sibling resources, splats,
requirements, path and header versioning, mounts, anchors), including paths
that glue a segment onto the next: no response differs.

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

1427 of 1481 branches covered (96.35%)

Branch coverage included in aggregate %.

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

4263 of 4263 relevant lines covered (100.0%)

28575.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/grape_swagger.gemfile - 35330680770.1 18 Sep 2026 09:40AM UTC 165
53.41
GitHub Action Run
2 run-4.0-gemfiles/grape_entity.gemfile - 35330680770.2 18 Sep 2026 09:40AM UTC 165
49.02
GitHub Action Run
3 run-4.0-gemfiles/rack_3_2.gemfile - 35330680770.3 18 Sep 2026 09:40AM UTC 166
97.86
GitHub Action Run
4 run-4.0-gemfiles/dry_validation.gemfile - 35330680770.4 18 Sep 2026 09:40AM UTC 165
56.2
GitHub Action Run
5 run-4.0-gemfiles/rack_3_0.gemfile - 35330680770.5 18 Sep 2026 09:40AM UTC 166
97.87
GitHub Action Run
6 run-3.3-gemfiles/rails_8_1.gemfile - 35330680770.6 18 Sep 2026 09:40AM UTC 167
97.87
GitHub Action Run
7 run-3.3-gemfiles/rack_3_1.gemfile - 35330680770.7 18 Sep 2026 09:40AM UTC 166
97.89
GitHub Action Run
8 run-3.4-gemfiles/rails_7_2.gemfile - 35330680770.8 18 Sep 2026 09:40AM UTC 167
97.86
GitHub Action Run
9 run-3.4-gemfiles/rack_3_2.gemfile - 35330680770.9 18 Sep 2026 09:40AM UTC 166
97.87
GitHub Action Run
10 run-3.3-gemfiles/rack_3_0.gemfile - 35330680770.10 18 Sep 2026 09:40AM UTC 166
97.87
GitHub Action Run
11 run-3.4-gemfiles/rack_3_0.gemfile - 35330680770.11 18 Sep 2026 09:40AM UTC 166
97.86
GitHub Action Run
12 run-3.3-gemfiles/rack_2_2.gemfile - 35330680770.12 18 Sep 2026 09:40AM UTC 166
97.84
GitHub Action Run
13 run-4.0-gemfiles/hashie.gemfile - 35330680770.13 18 Sep 2026 09:40AM UTC 165
59.94
GitHub Action Run
14 run-4.0-Gemfile - 35330680770.14 18 Sep 2026 09:40AM UTC 166
97.86
GitHub Action Run
15 run-4.0-gemfiles/multi_xml.gemfile - 35330680770.15 18 Sep 2026 09:40AM UTC 165
45.78
GitHub Action Run
16 run-3.3-gemfiles/rails_7_2.gemfile - 35330680770.16 18 Sep 2026 09:40AM UTC 167
97.87
GitHub Action Run
17 run-3.4-gemfiles/rails_8_0.gemfile - 35330680770.17 18 Sep 2026 09:40AM UTC 167
97.88
GitHub Action Run
18 run-3.3-gemfiles/rails_8_0.gemfile - 35330680770.18 18 Sep 2026 09:41AM UTC 167
97.89
GitHub Action Run
19 run-4.0-gemfiles/rails_7_2.gemfile - 35330680770.19 18 Sep 2026 09:40AM UTC 167
97.86
GitHub Action Run
20 run-4.0-gemfiles/multi_json_1_20.gemfile - 35330680770.20 18 Sep 2026 09:40AM UTC 165
46.1
GitHub Action Run
21 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35330680770.21 18 Sep 2026 09:40AM UTC 165
45.82
GitHub Action Run
22 run-3.3-gemfiles/rack_3_2.gemfile - 35330680770.22 18 Sep 2026 09:40AM UTC 166
97.89
GitHub Action Run
23 run-4.0-gemfiles/rails_8_1.gemfile - 35330680770.23 18 Sep 2026 09:40AM UTC 167
97.88
GitHub Action Run
24 run-4.0-gemfiles/rack_3_1.gemfile - 35330680770.24 18 Sep 2026 09:40AM UTC 166
97.86
GitHub Action Run
25 run-3.4-gemfiles/rack_3_1.gemfile - 35330680770.25 18 Sep 2026 09:40AM UTC 166
97.87
GitHub Action Run
26 run-3.4-gemfiles/rails_8_1.gemfile - 35330680770.26 18 Sep 2026 09:40AM UTC 167
97.86
GitHub Action Run
27 run-4.0-gemfiles/rack_2_2.gemfile - 35330680770.27 18 Sep 2026 09:40AM UTC 166
97.82
GitHub Action Run
28 run-4.0-gemfiles/rails_8_0.gemfile - 35330680770.28 18 Sep 2026 09:41AM UTC 167
97.88
GitHub Action Run
29 run-3.4-Gemfile - 35330680770.29 18 Sep 2026 09:40AM UTC 166
97.87
GitHub Action Run
30 run-3.4-gemfiles/rack_2_2.gemfile - 35330680770.30 18 Sep 2026 09:40AM UTC 166
97.84
GitHub Action Run
31 run-4.0-gemfiles/multi_json.gemfile - 35330680770.31 18 Sep 2026 09:40AM UTC 165
46.06
GitHub Action Run
32 run-3.3-Gemfile - 35330680770.32 18 Sep 2026 09:40AM UTC 166
97.87
GitHub Action Run
Source Files on build 35330680770
  • Tree
  • List 167
  • 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 #35330680770
  • 64382c00 on github
  • Prev Build on master (#35325647120)
  • Next Build on master (#35333720220)
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