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

ruby-grape / grape / 34515497970
99%

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

10 Sep 2026 06:37PM UTC coverage: 99.184%. Remained the same
34515497970

push

github

web-flow
Pin the router's regressions through requests, not its instance variables (#2921)

Three specs in spec/grape/router_spec.rb reached into the router with
`instance_variable_get`: two asserting that `@map` and `@optimized_map` are
frozen and gain no key when a method with no routes is routed (#2790), and
one asserting that `@optimized_map` has a key for a non-standard verb
(#2886). They pinned where the router keeps its state rather than anything a
caller can see.

The #2886 regression is already caught by its behavioural sibling in the
same block -- a PURGE route left out of the optimized map answers 404
instead of 200 -- so that spec goes.

For #2790, the maps being frozen is what makes the bug observable: an
auto-vivifying lookup on a frozen Hash raises instead of silently inserting a
key. The spec now routes POST, PUT, PROPFIND and CUSTOM -- the methods the
old one used -- through a compiled router, frozen as Grape::API::Instance
leaves it, and expects the default 404 for each; it absorbs the POST-only
example that sat beside it. Reintroducing the auto-vivifying map fails all
four examples with FrozenError, and so does any request-time write to the
router's own instance variables, which the old specs could not see.

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

1306 of 1350 branches covered (96.74%)

Branch coverage included in aggregate %.

4039 of 4039 relevant lines covered (100.0%)

27246.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.3-gemfiles/rails_7_2.gemfile - 34515497970.1 10 Sep 2026 06:38PM UTC 169
97.88
GitHub Action Run
2 run-3.4-gemfiles/rack_2_2.gemfile - 34515497970.2 10 Sep 2026 06:38PM UTC 168
97.85
GitHub Action Run
3 run-3.3-Gemfile - 34515497970.3 10 Sep 2026 06:38PM UTC 168
97.9
GitHub Action Run
4 run-4.0-gemfiles/grape_entity.gemfile - 34515497970.4 10 Sep 2026 06:38PM UTC 167
50.25
GitHub Action Run
5 run-3.3-gemfiles/rack_2_2.gemfile - 34515497970.5 10 Sep 2026 06:38PM UTC 168
97.84
GitHub Action Run
6 run-3.4-gemfiles/rack_3_0.gemfile - 34515497970.6 10 Sep 2026 06:38PM UTC 168
97.88
GitHub Action Run
7 run-3.4-gemfiles/rails_8_0.gemfile - 34515497970.7 10 Sep 2026 06:38PM UTC 169
97.88
GitHub Action Run
8 run-4.0-gemfiles/multi_json.gemfile - 34515497970.8 10 Sep 2026 06:38PM UTC 167
47.34
GitHub Action Run
9 run-4.0-gemfiles/hashie.gemfile - 34515497970.9 10 Sep 2026 06:38PM UTC 167
61.71
GitHub Action Run
10 run-4.0-gemfiles/rack_3_1.gemfile - 34515497970.10 10 Sep 2026 06:38PM UTC 168
97.88
GitHub Action Run
11 run-4.0-gemfiles/rails_8_1.gemfile - 34515497970.11 10 Sep 2026 06:38PM UTC 169
97.88
GitHub Action Run
12 run-4.0-gemfiles/rails_8_0.gemfile - 34515497970.12 10 Sep 2026 06:38PM UTC 169
97.87
GitHub Action Run
13 run-4.0-gemfiles/rack_2_2.gemfile - 34515497970.13 10 Sep 2026 06:38PM UTC 168
97.85
GitHub Action Run
14 run-3.4-gemfiles/rack_3_1.gemfile - 34515497970.14 10 Sep 2026 06:38PM UTC 168
97.88
GitHub Action Run
15 run-4.0-gemfiles/rack_3_2.gemfile - 34515497970.15 10 Sep 2026 06:38PM UTC 168
97.88
GitHub Action Run
16 run-4.0-gemfiles/multi_xml.gemfile - 34515497970.16 10 Sep 2026 06:38PM UTC 167
46.95
GitHub Action Run
17 run-3.3-gemfiles/rails_8_0.gemfile - 34515497970.17 10 Sep 2026 06:38PM UTC 169
97.88
GitHub Action Run
18 run-4.0-gemfiles/rails_7_2.gemfile - 34515497970.18 10 Sep 2026 06:38PM UTC 169
97.88
GitHub Action Run
19 run-3.3-gemfiles/rails_8_1.gemfile - 34515497970.19 10 Sep 2026 06:38PM UTC 169
97.9
GitHub Action Run
20 run-4.0-Gemfile - 34515497970.20 10 Sep 2026 06:38PM UTC 168
97.88
GitHub Action Run
21 run-3.4-Gemfile - 34515497970.21 10 Sep 2026 06:38PM UTC 168
97.86
GitHub Action Run
22 run-4.0-gemfiles/multi_xml_0_8.gemfile - 34515497970.22 10 Sep 2026 06:38PM UTC 167
46.99
GitHub Action Run
23 run-4.0-gemfiles/multi_json_1_20.gemfile - 34515497970.23 10 Sep 2026 06:37PM UTC 167
47.38
GitHub Action Run
24 run-3.4-gemfiles/rack_3_2.gemfile - 34515497970.24 10 Sep 2026 06:38PM UTC 168
97.86
GitHub Action Run
25 run-4.0-gemfiles/rack_3_0.gemfile - 34515497970.25 10 Sep 2026 06:38PM UTC 168
97.88
GitHub Action Run
26 run-3.3-gemfiles/rack_3_1.gemfile - 34515497970.26 10 Sep 2026 06:38PM UTC 168
97.88
GitHub Action Run
27 run-3.4-gemfiles/rails_8_1.gemfile - 34515497970.27 10 Sep 2026 06:38PM UTC 169
97.88
GitHub Action Run
28 run-3.4-gemfiles/rails_7_2.gemfile - 34515497970.28 10 Sep 2026 06:38PM UTC 169
97.87
GitHub Action Run
29 run-4.0-gemfiles/grape_swagger.gemfile - 34515497970.29 10 Sep 2026 06:38PM UTC 167
54.97
GitHub Action Run
30 run-4.0-gemfiles/dry_validation.gemfile - 34515497970.30 10 Sep 2026 06:38PM UTC 167
57.74
GitHub Action Run
31 run-3.3-gemfiles/rack_3_0.gemfile - 34515497970.31 10 Sep 2026 06:38PM UTC 168
97.9
GitHub Action Run
32 run-3.3-gemfiles/rack_3_2.gemfile - 34515497970.32 10 Sep 2026 06:38PM UTC 168
97.88
GitHub Action Run
Source Files on build 34515497970
  • Tree
  • List 169
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #34515497970
  • a0462ac2 on github
  • Prev Build on master (#34297850893)
  • Next Build on master (#34684568247)
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