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

ruby-grape / grape / 35460857222
100%

Build:
DEFAULT BRANCH: master
Ran 19 Sep 2026 06:20PM 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

19 Sep 2026 06:20PM UTC coverage: 99.035% (+0.02%) from 99.017%
35460857222

push

github

web-flow
Stop recording a setting read on an API class as a setup step (#2963)

Every DSL method called on a Grape::API class is recorded as a setup step,
so it can be replayed on each mount of the API, and every step that is not
a `mount` refreshes the mounts made before it. That held for reads too:
`MyAPI.version`, `.prefix`, `.namespace`, `.cascade`, `.format`, `.logger`
and the like, called with nothing to set, were recorded and triggered the
refresh -- which re-mounts through `mount` and so calls `change!`,
discarding the compiled API.

A read after boot therefore made the next request recompile the whole API,
and each read grew the API's setup by one step plus one per mount, while the
re-mount left another instance of every mounted API behind. On an API of
100 routes with one mount, a request that reads `MyAPI.version` took about
13 ms instead of 0.02 ms.

A method in SETTING_READERS called with no argument, keyword or block is
now answered without being recorded: by the last instance, which is where
add_setup took its answer from, so the value is the one it returned
before. The list is explicit because being called bare is not enough --
`lint!` and a bare `get` still write -- and `helpers` stays out of it, as
called bare it includes the helpers in scope and calls `change!` itself.

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

1447 of 1503 branches covered (96.27%)

Branch coverage included in aggregate %.

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

4301 of 4301 relevant lines covered (100.0%)

28699.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_3_2.gemfile - 35460857222.1 19 Sep 2026 06:20PM UTC 167
97.84
GitHub Action Run
2 run-4.0-gemfiles/hashie.gemfile - 35460857222.2 19 Sep 2026 06:21PM UTC 166
59.81
GitHub Action Run
3 run-4.0-gemfiles/multi_xml.gemfile - 35460857222.3 19 Sep 2026 06:20PM UTC 166
45.69
GitHub Action Run
4 run-3.4-gemfiles/rails_8_0.gemfile - 35460857222.4 19 Sep 2026 06:21PM UTC 168
97.85
GitHub Action Run
5 run-4.0-gemfiles/rails_7_2.gemfile - 35460857222.5 19 Sep 2026 06:22PM UTC 168
97.86
GitHub Action Run
6 run-3.3-gemfiles/rack_3_1.gemfile - 35460857222.6 19 Sep 2026 06:20PM UTC 167
97.86
GitHub Action Run
7 run-3.3-gemfiles/rails_8_0.gemfile - 35460857222.7 19 Sep 2026 06:20PM UTC 168
97.86
GitHub Action Run
8 run-3.4-gemfiles/rack_3_1.gemfile - 35460857222.8 19 Sep 2026 06:22PM UTC 167
97.84
GitHub Action Run
9 run-3.3-gemfiles/rails_8_1.gemfile - 35460857222.9 19 Sep 2026 06:20PM UTC 168
97.86
GitHub Action Run
10 run-4.0-gemfiles/dry_validation.gemfile - 35460857222.10 19 Sep 2026 06:21PM UTC 166
55.89
GitHub Action Run
11 run-4.0-gemfiles/multi_json.gemfile - 35460857222.11 19 Sep 2026 06:21PM UTC 166
45.96
GitHub Action Run
12 run-4.0-gemfiles/rack_3_0.gemfile - 35460857222.12 19 Sep 2026 06:21PM UTC 167
97.84
GitHub Action Run
13 run-4.0-gemfiles/rails_8_0.gemfile - 35460857222.13 19 Sep 2026 06:20PM UTC 168
97.85
GitHub Action Run
14 run-4.0-gemfiles/multi_json_1_20.gemfile - 35460857222.14 19 Sep 2026 06:20PM UTC 166
46.0
GitHub Action Run
15 run-3.4-gemfiles/rack_3_0.gemfile - 35460857222.15 19 Sep 2026 06:21PM UTC 167
97.86
GitHub Action Run
16 run-4.0-gemfiles/multi_xml_0_8.gemfile - 35460857222.16 19 Sep 2026 06:21PM UTC 166
45.72
GitHub Action Run
17 run-4.0-gemfiles/grape_entity.gemfile - 35460857222.17 19 Sep 2026 06:22PM UTC 166
48.96
GitHub Action Run
18 run-3.4-gemfiles/rails_7_2.gemfile - 35460857222.18 19 Sep 2026 06:21PM UTC 168
97.86
GitHub Action Run
19 run-3.3-gemfiles/rack_2_2.gemfile - 35460857222.19 19 Sep 2026 06:21PM UTC 167
97.84
GitHub Action Run
20 run-4.0-Gemfile - 35460857222.20 19 Sep 2026 06:21PM UTC 167
97.86
GitHub Action Run
21 run-3.3-gemfiles/rack_3_0.gemfile - 35460857222.21 19 Sep 2026 06:22PM UTC 167
97.88
GitHub Action Run
22 run-3.4-gemfiles/rack_2_2.gemfile - 35460857222.22 19 Sep 2026 06:21PM UTC 167
97.83
GitHub Action Run
23 run-3.4-gemfiles/rails_8_1.gemfile - 35460857222.23 19 Sep 2026 06:21PM UTC 168
97.86
GitHub Action Run
24 run-3.3-gemfiles/rails_7_2.gemfile - 35460857222.24 19 Sep 2026 06:22PM UTC 168
97.88
GitHub Action Run
25 run-4.0-gemfiles/grape_swagger.gemfile - 35460857222.25 19 Sep 2026 06:21PM UTC 166
53.24
GitHub Action Run
26 run-3.3-gemfiles/rack_3_2.gemfile - 35460857222.26 19 Sep 2026 06:21PM UTC 167
97.86
GitHub Action Run
27 run-4.0-gemfiles/rails_8_1.gemfile - 35460857222.27 19 Sep 2026 06:21PM UTC 168
97.85
GitHub Action Run
28 run-3.3-Gemfile - 35460857222.28 19 Sep 2026 06:20PM UTC 167
97.86
GitHub Action Run
29 run-4.0-gemfiles/rack_3_2.gemfile - 35460857222.29 19 Sep 2026 06:21PM UTC 167
97.86
GitHub Action Run
30 run-4.0-gemfiles/rack_2_2.gemfile - 35460857222.30 19 Sep 2026 06:20PM UTC 167
97.81
GitHub Action Run
31 run-3.4-Gemfile - 35460857222.31 19 Sep 2026 06:22PM UTC 167
97.86
GitHub Action Run
32 run-4.0-gemfiles/rack_3_1.gemfile - 35460857222.32 19 Sep 2026 06:22PM UTC 167
97.84
GitHub Action Run
Source Files on build 35460857222
  • Tree
  • List 168
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #35460857222
  • 15919990 on github
  • Prev Build on master (#35456977305)
  • Next Build on master (#35461128033)
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