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

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

Build:
Build:
LAST BUILD BRANCH: dblock/test-push-master-only
DEFAULT BRANCH: master
Ran 15 Sep 2026 03:35PM UTC
Jobs 14
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.087% (-0.04%) from 99.123%
34989368390

push

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>

1379 of 1429 branches covered (96.5%)

Branch coverage included in aggregate %.

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

1 existing line in 1 file now uncovered.

4155 of 4156 relevant lines covered (99.98%)

7886.03 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
81.82
-18.18% lib/grape/xml.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rails_8_1.gemfile - 34989368390.1 15 Sep 2026 03:36PM UTC 169
97.8
GitHub Action Run
2 run-4.0-gemfiles/multi_json_1_20.gemfile - 34989368390.2 15 Sep 2026 03:35PM UTC 167
46.7
GitHub Action Run
3 run-4.0-gemfiles/multi_xml.gemfile - 34989368390.3 15 Sep 2026 03:35PM UTC 167
46.39
GitHub Action Run
4 run-4.0-gemfiles/grape_swagger.gemfile - 34989368390.4 15 Sep 2026 03:36PM UTC 167
54.08
GitHub Action Run
5 run-4.0-gemfiles/rails_8_1.gemfile - 34989368390.5 15 Sep 2026 03:35PM UTC 169
97.78
GitHub Action Run
6 run-4.0-gemfiles/multi_json.gemfile - 34989368390.6 15 Sep 2026 03:35PM UTC 167
46.66
GitHub Action Run
7 run-4.0-gemfiles/hashie.gemfile - 34989368390.7 15 Sep 2026 03:35PM UTC 167
60.85
GitHub Action Run
8 run-3.4-gemfiles/rack_3_0.gemfile - 34989368390.8 15 Sep 2026 03:36PM UTC 168
97.78
GitHub Action Run
9 run-3.3-gemfiles/rack_2_2.gemfile - 34989368390.9 15 Sep 2026 03:35PM UTC 168
97.78
GitHub Action Run
10 run-4.0-gemfiles/dry_validation.gemfile - 34989368390.10 15 Sep 2026 03:35PM UTC 167
57.01
GitHub Action Run
11 run-3.4-Gemfile - 34989368390.11 15 Sep 2026 03:36PM UTC 168
97.78
GitHub Action Run
12 run-4.0-gemfiles/rails_7_2.gemfile - 34989368390.12 15 Sep 2026 03:35PM UTC 169
97.78
GitHub Action Run
13 run-3.4-gemfiles/rack_3_2.gemfile - 34989368390.13 15 Sep 2026 03:35PM UTC 168
97.78
GitHub Action Run
14 run-4.0-gemfiles/grape_entity.gemfile - 34989368390.14 15 Sep 2026 03:35PM UTC 167
49.68
GitHub Action Run
Source Files on build 34989368390
  • 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 #34989368390
  • 48d38891 on github
  • Prev Build on master (#34777307670)
  • Next Build on fix/base-recorded-as-setup-step (#34989419830)
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