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

ruby-grape / grape / 39055077364
100%

Build:
DEFAULT BRANCH: master
Ran 17 Oct 2026 05:44PM 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

17 Oct 2026 05:44PM UTC coverage: 99.95%. Remained the same
39055077364

push

github

web-flow
Copy each request's endpoint from a prototype without route-building state (#3034)

Every request dups its endpoint's prototype, and that copy was the largest
single allocation of a request. Ruby sizes an object by the most instance
variables any object of its class has held, and a copy carried 23: the
route-building state (@prototype, @endpoints, @namespace, @routes,
@helpers), one ivar per filter phase, and the request's own. That put every
copy in a 320-byte slot.

What a request reads from its endpoint and never changes is now one
Grape::Endpoint::State, a Data: the settings, options, config, route
block and whether it answers OPTIONS, plus what compile! computes (the
Rack stack, the filters, the params builder). The prototype is always a
separate object built from the State alone, rather than the endpoint
itself, or for an endpoint with helpers a copy of every ivar but one. A
copy holds the State and the seven ivars a request sets, which fits an
80-byte slot until a route block or a helper sets one of its own.

The five filter phases are one State member, nil when no phase has a
filter, and #run reads it once, so a request skips all five on that read.

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

1503 of 1505 branches covered (99.87%)

Branch coverage included in aggregate %.

53 of 53 new or added lines in 2 files covered. (100.0%)

4474 of 4475 relevant lines covered (99.98%)

29580.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/multi_xml_0_8.gemfile - 39055077364.1 17 Oct 2026 05:45PM UTC 167
46.02
GitHub Action Run
2 run-4.0-gemfiles/multi_xml.gemfile - 39055077364.2 17 Oct 2026 05:45PM UTC 167
45.98
GitHub Action Run
3 run-4.0-gemfiles/rails_8_0.gemfile - 39055077364.3 17 Oct 2026 05:44PM UTC 169
98.8
GitHub Action Run
4 run-3.4-gemfiles/rails_8_1.gemfile - 39055077364.4 17 Oct 2026 05:45PM UTC 169
98.8
GitHub Action Run
5 run-4.0-gemfiles/rack_3_1.gemfile - 39055077364.5 17 Oct 2026 05:44PM UTC 168
98.79
GitHub Action Run
6 run-3.3-gemfiles/rails_8_1.gemfile - 39055077364.6 17 Oct 2026 05:45PM UTC 169
98.81
GitHub Action Run
7 run-3.3-gemfiles/rails_8_0.gemfile - 39055077364.7 17 Oct 2026 05:45PM UTC 169
98.81
GitHub Action Run
8 run-4.0-gemfiles/dry_validation.gemfile - 39055077364.8 17 Oct 2026 05:45PM UTC 167
56.12
GitHub Action Run
9 run-4.0-gemfiles/rails_8_1.gemfile - 39055077364.9 17 Oct 2026 05:45PM UTC 169
98.8
GitHub Action Run
10 run-3.3-gemfiles/rack_2_2.gemfile - 39055077364.10 17 Oct 2026 05:45PM UTC 168
98.78
GitHub Action Run
11 run-3.4-gemfiles/rack_3_0.gemfile - 39055077364.11 17 Oct 2026 05:44PM UTC 168
98.79
GitHub Action Run
12 run-3.4-gemfiles/rack_2_2.gemfile - 39055077364.12 17 Oct 2026 05:45PM UTC 168
98.76
GitHub Action Run
13 run-4.0-gemfiles/hashie.gemfile - 39055077364.13 17 Oct 2026 05:45PM UTC 167
60.07
GitHub Action Run
14 run-4.0-gemfiles/rails_7_2.gemfile - 39055077364.14 17 Oct 2026 05:45PM UTC 169
98.8
GitHub Action Run
15 run-4.0-gemfiles/multi_json.gemfile - 39055077364.15 17 Oct 2026 05:45PM UTC 167
46.28
GitHub Action Run
16 run-4.0-gemfiles/grape_swagger.gemfile - 39055077364.16 17 Oct 2026 05:45PM UTC 167
53.4
GitHub Action Run
17 run-3.4-gemfiles/rack_3_1.gemfile - 39055077364.17 17 Oct 2026 05:45PM UTC 168
98.79
GitHub Action Run
18 run-4.0-gemfiles/rack_3_2.gemfile - 39055077364.18 17 Oct 2026 05:44PM UTC 168
98.79
GitHub Action Run
19 run-3.4-gemfiles/rack_3_2.gemfile - 39055077364.19 17 Oct 2026 05:45PM UTC 168
98.79
GitHub Action Run
20 run-4.0-gemfiles/rack_3_0.gemfile - 39055077364.20 17 Oct 2026 05:45PM UTC 168
98.79
GitHub Action Run
21 run-4.0-gemfiles/rack_2_2.gemfile - 39055077364.21 17 Oct 2026 05:44PM UTC 168
98.76
GitHub Action Run
22 run-4.0-gemfiles/grape_entity.gemfile - 39055077364.22 17 Oct 2026 05:45PM UTC 167
49.14
GitHub Action Run
23 run-3.3-gemfiles/rack_3_2.gemfile - 39055077364.23 17 Oct 2026 05:44PM UTC 168
98.81
GitHub Action Run
24 run-3.3-gemfiles/rails_7_2.gemfile - 39055077364.24 17 Oct 2026 05:44PM UTC 169
98.81
GitHub Action Run
25 run-3.4-gemfiles/rails_8_0.gemfile - 39055077364.25 17 Oct 2026 05:44PM UTC 169
98.8
GitHub Action Run
26 run-3.3-Gemfile - 39055077364.26 17 Oct 2026 05:45PM UTC 168
98.81
GitHub Action Run
27 run-3.3-gemfiles/rack_3_1.gemfile - 39055077364.27 17 Oct 2026 05:44PM UTC 168
98.81
GitHub Action Run
28 run-3.3-gemfiles/rack_3_0.gemfile - 39055077364.28 17 Oct 2026 05:44PM UTC 168
98.81
GitHub Action Run
29 run-3.4-Gemfile - 39055077364.29 17 Oct 2026 05:45PM UTC 168
98.79
GitHub Action Run
30 run-4.0-gemfiles/multi_json_1_20.gemfile - 39055077364.30 17 Oct 2026 05:44PM UTC 167
46.32
GitHub Action Run
31 run-4.0-Gemfile - 39055077364.31 17 Oct 2026 05:45PM UTC 168
98.79
GitHub Action Run
32 run-3.4-gemfiles/rails_7_2.gemfile - 39055077364.32 17 Oct 2026 05:45PM UTC 169
98.8
GitHub Action Run
Source Files on build 39055077364
  • Tree
  • List 169
  • 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 #39055077364
  • 751741a8 on github
  • Prev Build on master (#39053878850)
  • Next Build on master (#39062253675)
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