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

ruby-grape / grape / 34773441762
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: perf/route-buckets
DEFAULT BRANCH: master
Ran 13 Sep 2026 06:04PM UTC
Jobs 32
Files 169
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

13 Sep 2026 06:03PM UTC coverage: 99.151% (-0.02%) from 99.166%
34773441762

Pull #2942

github

ericproulx
Route raw non-ASCII paths when an API declares a non-ASCII route

Rack hands PATH_INFO over binary, and matching a binary string that holds
non-ASCII bytes against a UTF-8 regexp raises Encoding::CompatibilityError.
A route whose path holds a non-ASCII literal (`/café/:id`) compiles to such
a regexp, and every request is matched against a union that holds it. So
once an API declared one, every request whose path carried raw non-ASCII
bytes raised, whichever route it was meant for and whether or not the bytes
were valid UTF-8. The percent-encoded spelling of the same path routed.

Router#compile! now records whether any compiled union has a fixed encoding.
Only then, and only for a path that is not ASCII, the router routes a copy
of the path tagged UTF-8 and publishes that copy as the normalized path. A
path whose bytes are not UTF-8 cannot be matched against those routes at
all, so it is answered as a path no route matched. PATH_INFO itself stays
binary, and an API without a non-ASCII route routes exactly as before.
Router#recognize_path gets the same treatment.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2942: Route raw non-ASCII paths when an API declares a non-ASCII route

1362 of 1409 branches covered (96.66%)

Branch coverage included in aggregate %.

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

4125 of 4125 relevant lines covered (100.0%)

26653.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_xml.gemfile - 34773441762.1 13 Sep 2026 06:04PM UTC 167
46.31
GitHub Action Run
2 run-4.0-gemfiles/multi_json.gemfile - 34773441762.2 13 Sep 2026 06:05PM UTC 167
46.58
GitHub Action Run
3 run-3.3-gemfiles/rack_3_2.gemfile - 34773441762.3 13 Sep 2026 06:04PM UTC 168
97.81
GitHub Action Run
4 run-4.0-gemfiles/rack_2_2.gemfile - 34773441762.4 13 Sep 2026 06:05PM UTC 168
97.76
GitHub Action Run
5 run-3.4-gemfiles/rack_2_2.gemfile - 34773441762.5 13 Sep 2026 06:05PM UTC 168
97.76
GitHub Action Run
6 run-4.0-gemfiles/hashie.gemfile - 34773441762.6 13 Sep 2026 06:04PM UTC 167
60.63
GitHub Action Run
7 run-3.3-gemfiles/rack_2_2.gemfile - 34773441762.7 13 Sep 2026 06:04PM UTC 168
97.77
GitHub Action Run
8 run-3.3-gemfiles/rails_8_1.gemfile - 34773441762.8 13 Sep 2026 06:05PM UTC 169
97.83
GitHub Action Run
9 run-4.0-gemfiles/grape_entity.gemfile - 34773441762.9 13 Sep 2026 06:04PM UTC 167
49.64
GitHub Action Run
10 run-4.0-gemfiles/rack_3_0.gemfile - 34773441762.10 13 Sep 2026 06:04PM UTC 168
97.79
GitHub Action Run
11 run-4.0-gemfiles/rails_7_2.gemfile - 34773441762.11 13 Sep 2026 06:04PM UTC 169
97.81
GitHub Action Run
12 run-4.0-gemfiles/rack_3_2.gemfile - 34773441762.12 13 Sep 2026 06:05PM UTC 168
97.81
GitHub Action Run
13 run-3.3-Gemfile - 34773441762.13 13 Sep 2026 06:05PM UTC 168
97.83
GitHub Action Run
14 run-3.4-gemfiles/rails_7_2.gemfile - 34773441762.14 13 Sep 2026 06:05PM UTC 169
97.79
GitHub Action Run
15 run-4.0-gemfiles/multi_json_1_20.gemfile - 34773441762.15 13 Sep 2026 06:04PM UTC 167
46.62
GitHub Action Run
16 run-3.4-gemfiles/rails_8_0.gemfile - 34773441762.16 13 Sep 2026 06:05PM UTC 169
97.79
GitHub Action Run
17 run-3.4-gemfiles/rack_3_0.gemfile - 34773441762.17 13 Sep 2026 06:05PM UTC 168
97.79
GitHub Action Run
18 run-4.0-gemfiles/grape_swagger.gemfile - 34773441762.18 13 Sep 2026 06:04PM UTC 167
53.82
GitHub Action Run
19 run-3.3-gemfiles/rack_3_1.gemfile - 34773441762.19 13 Sep 2026 06:04PM UTC 168
97.81
GitHub Action Run
20 run-4.0-gemfiles/rails_8_1.gemfile - 34773441762.20 13 Sep 2026 06:05PM UTC 169
97.79
GitHub Action Run
21 run-3.4-gemfiles/rails_8_1.gemfile - 34773441762.21 13 Sep 2026 06:05PM UTC 169
97.81
GitHub Action Run
22 run-3.4-gemfiles/rack_3_1.gemfile - 34773441762.22 13 Sep 2026 06:05PM UTC 168
97.79
GitHub Action Run
23 run-4.0-Gemfile - 34773441762.23 13 Sep 2026 06:05PM UTC 168
97.81
GitHub Action Run
24 run-4.0-gemfiles/rails_8_0.gemfile - 34773441762.24 13 Sep 2026 06:05PM UTC 169
97.81
GitHub Action Run
25 run-3.3-gemfiles/rack_3_0.gemfile - 34773441762.25 13 Sep 2026 06:04PM UTC 168
97.83
GitHub Action Run
26 run-4.0-gemfiles/dry_validation.gemfile - 34773441762.26 13 Sep 2026 06:05PM UTC 167
56.76
GitHub Action Run
27 run-4.0-gemfiles/multi_xml_0_8.gemfile - 34773441762.27 13 Sep 2026 06:04PM UTC 167
46.35
GitHub Action Run
28 run-3.4-gemfiles/rack_3_2.gemfile - 34773441762.28 13 Sep 2026 06:05PM UTC 168
97.81
GitHub Action Run
29 run-4.0-gemfiles/rack_3_1.gemfile - 34773441762.29 13 Sep 2026 06:04PM UTC 168
97.81
GitHub Action Run
30 run-3.4-Gemfile - 34773441762.30 13 Sep 2026 06:05PM UTC 168
97.81
GitHub Action Run
31 run-3.3-gemfiles/rails_8_0.gemfile - 34773441762.31 13 Sep 2026 06:04PM UTC 169
97.81
GitHub Action Run
32 run-3.3-gemfiles/rails_7_2.gemfile - 34773441762.32 13 Sep 2026 06:05PM UTC 169
97.83
GitHub Action Run
Source Files on build 34773441762
  • Tree
  • List 169
  • 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 #34773441762
  • Pull Request #2942
  • PR Base - master (#34770584299)
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