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

ruby-grape / grape / 32341733105
97%

Build:
DEFAULT BRANCH: master
Ran 20 Aug 2026 06:56AM 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

20 Aug 2026 06:56AM UTC coverage: 96.999%. Remained the same
32341733105

push

github

web-flow
Give point-in-time copies their own stackable and rescue-handler stores (#2841)

InheritableSetting#point_in_time_copy copied a scope's stackable store and
its rescue-handler maps shallowly, so the nested Arrays and Hashes stayed
shared with the source. A registration made after an endpoint was defined
therefore still reached that endpoint -- but only when the key already held a
registration at the time the copy was taken, since otherwise the writer
allocated a fresh store on the source alone.

That made the outcome depend on something the API never expressed:

    use Middleware1
    get('/x') { }
    use Middleware2      # applied to GET /x

    get('/x') { }
    use Middleware2      # did NOT apply to GET /x

and the same for rescue_from:

    rescue_from ArgumentError { }
    get('/x') { raise Boom }
    rescue_from Boom { }     # rescued GET /x

    get('/x') { raise Boom }
    rescue_from Boom { }     # did NOT rescue GET /x

Two APIs stating the same thing, behaving differently. Not a deliberate
"late registration" feature -- helpers defined after an endpoint already did
not leak, because they resolve down a different path.

Dup the nested stores as well as the Hash holding them. A copy is a point in
time: what the source registers afterwards must not reach it. Inheritance is
untouched -- it resolves by walking #parent, so a scope still sees values an
enclosing scope gains later, which is what the existing "decouples namespace
stackable values" spec actually exercised (its value lives on the parent, so
nothing was ever shared and it passed either way).

Boot cost is negligible: 300 endpoints under scopes carrying middleware,
helpers and filters allocate 1800 more objects (+0.4%) with no measurable
change in time, all at definition time.

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

1214 of 1303 branches covered (93.17%)

Branch coverage included in aggregate %.

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

3829 of 3896 relevant lines covered (98.28%)

27138.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.4-Gemfile - 32341733105.1 20 Aug 2026 06:56AM UTC 167
95.73
GitHub Action Run
2 run-3.3-gemfiles/rack_3_2.gemfile - 32341733105.2 20 Aug 2026 06:56AM UTC 167
95.73
GitHub Action Run
3 run-4.0-gemfiles/grape_swagger.gemfile - 32341733105.3 20 Aug 2026 06:56AM UTC 167
55.38
GitHub Action Run
4 run-4.0-gemfiles/rack_3_1.gemfile - 32341733105.4 20 Aug 2026 06:57AM UTC 167
95.73
GitHub Action Run
5 run-4.0-gemfiles/dry_validation.gemfile - 32341733105.5 20 Aug 2026 06:56AM UTC 167
58.08
GitHub Action Run
6 run-3.3-gemfiles/rails_7_2.gemfile - 32341733105.6 20 Aug 2026 06:56AM UTC 168
95.73
GitHub Action Run
7 run-3.3-gemfiles/rails_8_1.gemfile - 32341733105.7 20 Aug 2026 06:57AM UTC 168
95.73
GitHub Action Run
8 run-4.0-gemfiles/rack_2_2.gemfile - 32341733105.8 20 Aug 2026 06:57AM UTC 167
95.69
GitHub Action Run
9 run-3.3-Gemfile - 32341733105.9 20 Aug 2026 06:56AM UTC 167
95.73
GitHub Action Run
10 run-4.0-gemfiles/rails_8_1.gemfile - 32341733105.10 20 Aug 2026 06:57AM UTC 168
95.73
GitHub Action Run
11 run-4.0-Gemfile - 32341733105.11 20 Aug 2026 06:56AM UTC 167
95.73
GitHub Action Run
12 run-4.0-gemfiles/rails_8_0.gemfile - 32341733105.12 20 Aug 2026 06:57AM UTC 168
95.73
GitHub Action Run
13 run-4.0-gemfiles/multi_json.gemfile - 32341733105.13 20 Aug 2026 06:56AM UTC 167
47.64
GitHub Action Run
14 run-3.4-gemfiles/rails_8_1.gemfile - 32341733105.14 20 Aug 2026 06:57AM UTC 168
95.73
GitHub Action Run
15 run-3.4-gemfiles/rack_3_1.gemfile - 32341733105.15 20 Aug 2026 06:56AM UTC 167
95.73
GitHub Action Run
16 run-3.4-gemfiles/rack_3_0.gemfile - 32341733105.16 20 Aug 2026 06:56AM UTC 167
95.73
GitHub Action Run
17 run-4.0-gemfiles/multi_json_1_20.gemfile - 32341733105.17 20 Aug 2026 06:57AM UTC 167
47.68
GitHub Action Run
18 run-3.3-gemfiles/rack_3_1.gemfile - 32341733105.18 20 Aug 2026 06:57AM UTC 167
95.73
GitHub Action Run
19 run-4.0-gemfiles/multi_xml_0_8.gemfile - 32341733105.19 20 Aug 2026 06:57AM UTC 167
47.08
GitHub Action Run
20 run-4.0-gemfiles/grape_entity.gemfile - 32341733105.20 20 Aug 2026 06:56AM UTC 167
50.38
GitHub Action Run
21 run-3.4-gemfiles/rails_8_0.gemfile - 32341733105.21 20 Aug 2026 06:56AM UTC 168
95.73
GitHub Action Run
22 run-3.4-gemfiles/rack_3_2.gemfile - 32341733105.22 20 Aug 2026 06:56AM UTC 167
95.73
GitHub Action Run
23 run-3.3-gemfiles/rails_8_0.gemfile - 32341733105.23 20 Aug 2026 06:57AM UTC 168
95.73
GitHub Action Run
24 run-4.0-gemfiles/rails_7_2.gemfile - 32341733105.24 20 Aug 2026 06:57AM UTC 168
95.73
GitHub Action Run
25 run-4.0-gemfiles/multi_xml.gemfile - 32341733105.25 20 Aug 2026 06:56AM UTC 167
47.04
GitHub Action Run
26 run-3.3-gemfiles/rack_3_0.gemfile - 32341733105.26 20 Aug 2026 06:56AM UTC 167
95.73
GitHub Action Run
27 run-4.0-gemfiles/rack_3_0.gemfile - 32341733105.27 20 Aug 2026 06:56AM UTC 167
95.73
GitHub Action Run
28 run-3.3-gemfiles/rack_2_2.gemfile - 32341733105.28 20 Aug 2026 06:56AM UTC 167
95.69
GitHub Action Run
29 run-3.4-gemfiles/rails_7_2.gemfile - 32341733105.29 20 Aug 2026 06:57AM UTC 168
95.73
GitHub Action Run
30 run-3.4-gemfiles/rack_2_2.gemfile - 32341733105.30 20 Aug 2026 06:56AM UTC 167
95.69
GitHub Action Run
31 run-4.0-gemfiles/rack_3_2.gemfile - 32341733105.31 20 Aug 2026 06:56AM UTC 167
95.73
GitHub Action Run
32 run-4.0-gemfiles/hashie.gemfile - 32341733105.32 20 Aug 2026 06:57AM UTC 167
62.05
GitHub Action Run
Source Files on build 32341733105
  • Tree
  • List 168
  • 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 #32341733105
  • cfef4443 on github
  • Prev Build on master (#32340564879)
  • Next Build on master (#32467741741)
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