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

ruby-grape / grape / 30260716170
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 27 Jul 2026 11:07AM UTC
Jobs 32
Files 167
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

27 Jul 2026 11:07AM UTC coverage: 96.966% (+0.002%) from 96.964%
30260716170

Pull #2833

github

ericproulx
Restore the nil-base fallback in Grape::API::Instance#to_s

def_delegators :@base, :to_s (#2581) evaluates nil.to_s and returns ""
for any Instance whose @base is unset -- notably the bare
Grape::API::Instance class itself, which is never mounted and never
has base= called on it, so it stays base-less forever. Anything that
enumerates loaded classes and renders them by string (Sorbet/Tapioca
RBI generation, log/error interpolation) sees an empty name instead of
"Grape::API::Instance", while #name stays correct -- the disagreement
is what makes it surprising.

Replace the delegator with an explicit method that falls back to
Module#to_s via super when @base is nil, matching the pre-3.0 behavior.

Fixes #2832.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Pull Request #2833: Restore the nil-base fallback in Grape::API::Instance#to_s

1195 of 1284 branches covered (93.07%)

Branch coverage included in aggregate %.

3790 of 3857 relevant lines covered (98.26%)

26797.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-Gemfile - 30260716170.1 27 Jul 2026 11:07AM UTC 166
95.58
GitHub Action Run
2 run-3.3-gemfiles/rack_2_2.gemfile - 30260716170.2 27 Jul 2026 11:07AM UTC 166
95.54
GitHub Action Run
3 run-4.0-gemfiles/hashie.gemfile - 30260716170.3 27 Jul 2026 11:08AM UTC 166
62.14
GitHub Action Run
4 run-4.0-gemfiles/multi_json.gemfile - 30260716170.4 27 Jul 2026 11:07AM UTC 166
47.85
GitHub Action Run
5 run-4.0-gemfiles/rack_2_2.gemfile - 30260716170.5 27 Jul 2026 11:07AM UTC 166
95.54
GitHub Action Run
6 run-4.0-gemfiles/dry_validation.gemfile - 30260716170.6 27 Jul 2026 11:07AM UTC 166
58.19
GitHub Action Run
7 run-3.3-gemfiles/rails_7_2.gemfile - 30260716170.7 27 Jul 2026 11:11AM UTC 167
95.58
GitHub Action Run
8 run-3.3-gemfiles/rails_8_0.gemfile - 30260716170.8 27 Jul 2026 11:07AM UTC 167
95.58
GitHub Action Run
9 run-3.3-gemfiles/rails_8_1.gemfile - 30260716170.9 27 Jul 2026 11:08AM UTC 167
95.58
GitHub Action Run
10 run-4.0-gemfiles/rails_8_1.gemfile - 30260716170.10 27 Jul 2026 11:07AM UTC 167
95.58
GitHub Action Run
11 run-3.4-gemfiles/rails_8_0.gemfile - 30260716170.11 27 Jul 2026 11:08AM UTC 167
95.58
GitHub Action Run
12 run-4.0-gemfiles/multi_xml_0_8.gemfile - 30260716170.12 27 Jul 2026 11:08AM UTC 166
47.28
GitHub Action Run
13 run-3.3-gemfiles/rack_3_1.gemfile - 30260716170.13 27 Jul 2026 11:08AM UTC 166
95.58
GitHub Action Run
14 run-4.0-gemfiles/rails_8_0.gemfile - 30260716170.14 27 Jul 2026 11:08AM UTC 167
95.58
GitHub Action Run
15 run-3.3-gemfiles/rack_3_2.gemfile - 30260716170.15 27 Jul 2026 11:07AM UTC 166
95.58
GitHub Action Run
16 run-4.0-gemfiles/rails_7_2.gemfile - 30260716170.16 27 Jul 2026 11:08AM UTC 167
95.58
GitHub Action Run
17 run-4.0-gemfiles/rack_3_2.gemfile - 30260716170.17 27 Jul 2026 11:08AM UTC 166
95.58
GitHub Action Run
18 run-4.0-gemfiles/multi_json_1_20.gemfile - 30260716170.18 27 Jul 2026 11:08AM UTC 166
47.89
GitHub Action Run
19 run-3.4-gemfiles/rack_3_1.gemfile - 30260716170.19 27 Jul 2026 11:07AM UTC 166
95.58
GitHub Action Run
20 run-3.4-gemfiles/rack_2_2.gemfile - 30260716170.20 27 Jul 2026 11:07AM UTC 166
95.54
GitHub Action Run
21 run-3.4-gemfiles/rack_3_2.gemfile - 30260716170.21 27 Jul 2026 11:07AM UTC 166
95.58
GitHub Action Run
22 run-4.0-Gemfile - 30260716170.22 27 Jul 2026 11:07AM UTC 166
95.58
GitHub Action Run
23 run-3.3-gemfiles/rack_3_0.gemfile - 30260716170.23 27 Jul 2026 11:07AM UTC 166
95.58
GitHub Action Run
24 run-4.0-gemfiles/rack_3_0.gemfile - 30260716170.24 27 Jul 2026 11:08AM UTC 166
95.58
GitHub Action Run
25 run-3.4-Gemfile - 30260716170.25 27 Jul 2026 11:08AM UTC 166
95.58
GitHub Action Run
26 run-4.0-gemfiles/rack_3_1.gemfile - 30260716170.26 27 Jul 2026 11:07AM UTC 166
95.58
GitHub Action Run
27 run-3.4-gemfiles/rails_7_2.gemfile - 30260716170.27 27 Jul 2026 11:08AM UTC 167
95.58
GitHub Action Run
28 run-4.0-gemfiles/grape_entity.gemfile - 30260716170.28 27 Jul 2026 11:07AM UTC 166
50.57
GitHub Action Run
29 run-4.0-gemfiles/multi_xml.gemfile - 30260716170.29 27 Jul 2026 11:08AM UTC 166
47.24
GitHub Action Run
30 run-4.0-gemfiles/grape_swagger.gemfile - 30260716170.30 27 Jul 2026 11:07AM UTC 166
55.48
GitHub Action Run
31 run-3.4-gemfiles/rack_3_0.gemfile - 30260716170.31 27 Jul 2026 11:08AM UTC 166
95.58
GitHub Action Run
32 run-3.4-gemfiles/rails_8_1.gemfile - 30260716170.32 27 Jul 2026 11:08AM UTC 167
95.58
GitHub Action Run
Source Files on build 30260716170
  • Tree
  • List 167
  • 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 #30260716170
  • Pull Request #2833
  • PR Base - master (#30240557756)
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