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

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

Build:
Build:
LAST BUILD BRANCH: perf/lean-endpoint-copy
DEFAULT BRANCH: master
Ran 16 Oct 2026 07:26PM UTC
Jobs 32
Files 168
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

16 Oct 2026 07:26PM UTC coverage: 99.966%. Remained the same
38954884556

push

github

ericproulx
Keep each API's content type order when negotiating */*

A browser's Accept header ends in */*, and on an API whose content
types it names none of, Rack's best_q_match answers it with the first
media type the API declares: the declaration order is the API's
preference. ContentTypes::MimeTypesCache, shared process-wide so that
registries with the same content types share one table, was keyed on the
content-types Hash, and Hash equality ignores order. The first API built
with a set of content types fixed the order for every later API that
declared the same set in another order, so `content_type :json` then
`:md` could answer a browser in Markdown. mime_types_for's shortcut to
MIME_TYPES compared with == and had the same blind spot.

The cache is now keyed on the registry's pairs, in order, and the
shortcut takes DEFAULTS itself only. mime_types_for runs once per
middleware build and is memoized there, so the Array costs nothing per
request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

1506 of 1507 branches covered (99.93%)

Branch coverage included in aggregate %.

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

4410 of 4411 relevant lines covered (99.98%)

29542.24 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-Gemfile - 38954884556.1 16 Oct 2026 07:26PM UTC 167
98.8
GitHub Action Run
2 run-3.3-gemfiles/rack_3_2.gemfile - 38954884556.2 16 Oct 2026 07:26PM UTC 167
98.82
GitHub Action Run
3 run-3.3-Gemfile - 38954884556.3 16 Oct 2026 07:26PM UTC 167
98.82
GitHub Action Run
4 run-3.3-gemfiles/rails_8_0.gemfile - 38954884556.4 16 Oct 2026 07:26PM UTC 168
98.82
GitHub Action Run
5 run-4.0-gemfiles/multi_xml.gemfile - 38954884556.5 16 Oct 2026 07:26PM UTC 166
45.57
GitHub Action Run
6 run-3.4-Gemfile - 38954884556.6 16 Oct 2026 07:26PM UTC 167
98.8
GitHub Action Run
7 run-4.0-gemfiles/grape_swagger.gemfile - 38954884556.7 16 Oct 2026 07:26PM UTC 166
53.11
GitHub Action Run
8 run-3.3-gemfiles/rack_3_0.gemfile - 38954884556.8 16 Oct 2026 07:26PM UTC 167
98.82
GitHub Action Run
9 run-4.0-gemfiles/grape_entity.gemfile - 38954884556.9 16 Oct 2026 07:26PM UTC 166
48.78
GitHub Action Run
10 run-3.4-gemfiles/rack_3_2.gemfile - 38954884556.10 16 Oct 2026 07:26PM UTC 167
98.8
GitHub Action Run
11 run-3.3-gemfiles/rails_8_1.gemfile - 38954884556.11 16 Oct 2026 07:26PM UTC 168
98.82
GitHub Action Run
12 run-3.4-gemfiles/rails_8_1.gemfile - 38954884556.12 16 Oct 2026 07:26PM UTC 168
98.8
GitHub Action Run
13 run-4.0-gemfiles/rails_8_1.gemfile - 38954884556.13 16 Oct 2026 07:26PM UTC 168
98.8
GitHub Action Run
14 run-4.0-gemfiles/rack_3_1.gemfile - 38954884556.14 16 Oct 2026 07:26PM UTC 167
98.8
GitHub Action Run
15 run-3.4-gemfiles/rails_8_0.gemfile - 38954884556.15 16 Oct 2026 07:26PM UTC 168
98.8
GitHub Action Run
16 run-4.0-gemfiles/rack_3_0.gemfile - 38954884556.16 16 Oct 2026 07:26PM UTC 167
98.8
GitHub Action Run
17 run-4.0-gemfiles/rails_8_0.gemfile - 38954884556.17 16 Oct 2026 07:26PM UTC 168
98.8
GitHub Action Run
18 run-4.0-gemfiles/dry_validation.gemfile - 38954884556.18 16 Oct 2026 07:26PM UTC 166
55.78
GitHub Action Run
19 run-4.0-gemfiles/rails_7_2.gemfile - 38954884556.19 16 Oct 2026 07:26PM UTC 168
98.8
GitHub Action Run
20 run-3.4-gemfiles/rack_3_1.gemfile - 38954884556.20 16 Oct 2026 07:26PM UTC 167
98.8
GitHub Action Run
21 run-3.3-gemfiles/rails_7_2.gemfile - 38954884556.21 16 Oct 2026 07:26PM UTC 168
98.82
GitHub Action Run
22 run-4.0-gemfiles/multi_xml_0_8.gemfile - 38954884556.22 16 Oct 2026 07:26PM UTC 166
45.6
GitHub Action Run
23 run-4.0-gemfiles/multi_json_1_20.gemfile - 38954884556.23 16 Oct 2026 07:26PM UTC 166
45.91
GitHub Action Run
24 run-3.4-gemfiles/rails_7_2.gemfile - 38954884556.24 16 Oct 2026 07:26PM UTC 168
98.8
GitHub Action Run
25 run-3.3-gemfiles/rack_3_1.gemfile - 38954884556.25 16 Oct 2026 07:26PM UTC 167
98.82
GitHub Action Run
26 run-3.3-gemfiles/rack_2_2.gemfile - 38954884556.26 16 Oct 2026 07:26PM UTC 167
98.78
GitHub Action Run
27 run-4.0-gemfiles/multi_json.gemfile - 38954884556.27 16 Oct 2026 07:26PM UTC 166
45.87
GitHub Action Run
28 run-3.4-gemfiles/rack_3_0.gemfile - 38954884556.28 16 Oct 2026 07:26PM UTC 167
98.8
GitHub Action Run
29 run-4.0-gemfiles/rack_3_2.gemfile - 38954884556.29 16 Oct 2026 07:26PM UTC 167
98.8
GitHub Action Run
30 run-4.0-gemfiles/rack_2_2.gemfile - 38954884556.30 16 Oct 2026 07:26PM UTC 167
98.77
GitHub Action Run
31 run-3.4-gemfiles/rack_2_2.gemfile - 38954884556.31 16 Oct 2026 07:26PM UTC 167
98.77
GitHub Action Run
32 run-4.0-gemfiles/hashie.gemfile - 38954884556.32 16 Oct 2026 07:26PM UTC 166
59.82
GitHub Action Run
Source Files on build 38954884556
  • Tree
  • List 168
  • 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 #38954884556
  • 54c879e2 on github
  • Prev Build on master (#38951491706)
  • Next Build on fix/content-type-order-cache (#38954935584)
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