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

ruby-grape / grape / 34989419830
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: dblock/test-push-master-only
DEFAULT BRANCH: master
Ran 15 Sep 2026 03:36PM UTC
Jobs 32
Files 169
Run time 2min
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

15 Sep 2026 03:34PM UTC coverage: 99.123%. Remained the same
34989419830

Pull #2946

github

ericproulx
Stop class-level reads from remounting the whole mount tree

Fixes #2945. On 4.0, reading a class-level setting such as
`default_format`, `version` or `namespace` on an API with nested mounts
took seconds: 5131 `add_setup` calls for a three-level tree, where 3.3.5
makes one.

Every method of `Grape::API::Instance` not named in `NON_OVERRIDABLE` is
redefined on an API class to record a setup step, and a recorded step
other than `mount` refreshes each mount of that API. #2788 made that
refresh match mounted apps with `mounted.base.equal?(app.base)`, where
`app` is the API class as written, and `base` was not on the list. So
every comparison recorded a `base` step on the mounted API, which
refreshed that API's own mounts, which compared their apps' bases in
turn, all the way down the tree. The `to_s` it replaced is a `Class`
method and was never recorded.

`base` joins `NON_OVERRIDABLE` and is forwarded to the base instance,
which answers the API class itself.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Pull Request #2946: Stop class-level reads from remounting the whole mount tree

1380 of 1429 branches covered (96.57%)

Branch coverage included in aggregate %.

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

4156 of 4156 relevant lines covered (100.0%)

26943.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/grape_swagger.gemfile - 34989419830.1 15 Sep 2026 03:36PM UTC 167
54.08
GitHub Action Run
2 run-4.0-gemfiles/multi_xml.gemfile - 34989419830.2 15 Sep 2026 03:37PM UTC 167
46.39
GitHub Action Run
3 run-3.3-gemfiles/rails_8_1.gemfile - 34989419830.3 15 Sep 2026 03:37PM UTC 169
97.81
GitHub Action Run
4 run-3.4-gemfiles/rails_7_2.gemfile - 34989419830.4 15 Sep 2026 03:37PM UTC 169
97.78
GitHub Action Run
5 run-3.4-gemfiles/rack_3_2.gemfile - 34989419830.5 15 Sep 2026 03:37PM UTC 168
97.78
GitHub Action Run
6 run-4.0-gemfiles/multi_json.gemfile - 34989419830.6 15 Sep 2026 03:37PM UTC 167
46.66
GitHub Action Run
7 run-4.0-gemfiles/dry_validation.gemfile - 34989419830.7 15 Sep 2026 03:36PM UTC 167
57.01
GitHub Action Run
8 run-3.3-gemfiles/rack_3_2.gemfile - 34989419830.8 15 Sep 2026 03:37PM UTC 168
97.79
GitHub Action Run
9 run-3.4-gemfiles/rails_8_1.gemfile - 34989419830.9 15 Sep 2026 03:37PM UTC 169
97.8
GitHub Action Run
10 run-4.0-gemfiles/rails_7_2.gemfile - 34989419830.10 15 Sep 2026 03:36PM UTC 169
97.8
GitHub Action Run
11 run-4.0-gemfiles/rails_8_0.gemfile - 34989419830.11 15 Sep 2026 03:37PM UTC 169
97.78
GitHub Action Run
12 run-4.0-gemfiles/rack_3_0.gemfile - 34989419830.12 15 Sep 2026 03:37PM UTC 168
97.78
GitHub Action Run
13 run-4.0-gemfiles/multi_json_1_20.gemfile - 34989419830.13 15 Sep 2026 03:37PM UTC 167
46.7
GitHub Action Run
14 run-3.3-gemfiles/rack_3_1.gemfile - 34989419830.14 15 Sep 2026 03:37PM UTC 168
97.79
GitHub Action Run
15 run-3.4-Gemfile - 34989419830.15 15 Sep 2026 03:37PM UTC 168
97.8
GitHub Action Run
16 run-4.0-gemfiles/hashie.gemfile - 34989419830.16 15 Sep 2026 03:37PM UTC 167
60.85
GitHub Action Run
17 run-4.0-gemfiles/multi_xml_0_8.gemfile - 34989419830.17 15 Sep 2026 03:37PM UTC 167
46.43
GitHub Action Run
18 run-4.0-gemfiles/rack_3_1.gemfile - 34989419830.18 15 Sep 2026 03:37PM UTC 168
97.8
GitHub Action Run
19 run-3.4-gemfiles/rack_3_0.gemfile - 34989419830.19 15 Sep 2026 03:37PM UTC 168
97.8
GitHub Action Run
20 run-4.0-gemfiles/rack_2_2.gemfile - 34989419830.20 15 Sep 2026 03:36PM UTC 168
97.74
GitHub Action Run
21 run-3.3-gemfiles/rack_2_2.gemfile - 34989419830.21 15 Sep 2026 03:38PM UTC 168
97.78
GitHub Action Run
22 run-3.4-gemfiles/rack_3_1.gemfile - 34989419830.22 15 Sep 2026 03:37PM UTC 168
97.78
GitHub Action Run
23 run-4.0-gemfiles/rack_3_2.gemfile - 34989419830.23 15 Sep 2026 03:37PM UTC 168
97.8
GitHub Action Run
24 run-3.4-gemfiles/rails_8_0.gemfile - 34989419830.24 15 Sep 2026 03:38PM UTC 169
97.8
GitHub Action Run
25 run-3.3-gemfiles/rails_8_0.gemfile - 34989419830.25 15 Sep 2026 03:37PM UTC 169
97.8
GitHub Action Run
26 run-4.0-Gemfile - 34989419830.26 15 Sep 2026 03:36PM UTC 168
97.8
GitHub Action Run
27 run-3.4-gemfiles/rack_2_2.gemfile - 34989419830.27 15 Sep 2026 03:37PM UTC 168
97.76
GitHub Action Run
28 run-3.3-Gemfile - 34989419830.28 15 Sep 2026 03:37PM UTC 168
97.79
GitHub Action Run
29 run-4.0-gemfiles/grape_entity.gemfile - 34989419830.29 15 Sep 2026 03:36PM UTC 167
49.68
GitHub Action Run
30 run-4.0-gemfiles/rails_8_1.gemfile - 34989419830.30 15 Sep 2026 03:37PM UTC 169
97.8
GitHub Action Run
31 run-3.3-gemfiles/rack_3_0.gemfile - 34989419830.31 15 Sep 2026 03:37PM UTC 168
97.81
GitHub Action Run
32 run-3.3-gemfiles/rails_7_2.gemfile - 34989419830.32 15 Sep 2026 03:37PM UTC 169
97.8
GitHub Action Run
Source Files on build 34989419830
  • 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 #34989419830
  • Pull Request #2946
  • PR Base - master (#34777307670)
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