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

ruby-grape / grape / 41223761146
100%

Build:
DEFAULT BRANCH: master
Ran 31 Oct 2026 05:17PM UTC
Jobs 32
Files 176
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

31 Oct 2026 05:16PM UTC coverage: 99.967% (+0.1%) from 99.818%
41223761146

push

github

web-flow
Copy only containers between oneof variants instead of deep_dup (#3046)

OneofValidator gave each variant a deep_dup of the value, so that a variant
that fails after coercing or defaulting something doesn't leak that into the
next one. deep_dup also copies the leaves, which breaks uploads: Tempfile is a
delegator and not an Object, so Object#deep_dup is forwarded to the File it
wraps and returns a bare File. Types::File.parsed? then fails its
is_a?(Tempfile) check, and every valid upload inside a oneof variant has been
rejected with "does not match any of the allowed schemas" since oneof was
added.

Validators write by assigning into Hashes and Arrays, so copying those alone
keeps the variants isolated. This was the last call to deep_dup in Grape, so
its require goes too.

No spec pinned the isolation: the suite passed with no copy at all. Add specs
for a nested Hash coercion, an Array element coercion, a nested default and an
upload.

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

1518 of 1519 branches covered (99.93%)

Branch coverage included in aggregate %.

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

4533 of 4534 relevant lines covered (99.98%)

30702.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rails_8_1.gemfile - 41223761146.1 31 Oct 2026 05:17PM UTC 176
98.83
GitHub Action Run
2 run-3.3-gemfiles/rails_7_2.gemfile - 41223761146.2 31 Oct 2026 05:17PM UTC 176
98.84
GitHub Action Run
3 run-4.0-Gemfile - 41223761146.3 31 Oct 2026 05:17PM UTC 175
98.83
GitHub Action Run
4 run-3.4-gemfiles/rails_7_2.gemfile - 41223761146.4 31 Oct 2026 05:17PM UTC 176
98.83
GitHub Action Run
5 run-4.0-gemfiles/rails_7_2.gemfile - 41223761146.5 31 Oct 2026 05:17PM UTC 176
98.83
GitHub Action Run
6 run-3.3-gemfiles/rails_8_1.gemfile - 41223761146.6 31 Oct 2026 05:17PM UTC 176
98.84
GitHub Action Run
7 run-3.3-gemfiles/rails_8_0.gemfile - 41223761146.7 31 Oct 2026 05:17PM UTC 176
98.84
GitHub Action Run
8 run-4.0-gemfiles/grape_entity.gemfile - 41223761146.8 31 Oct 2026 05:17PM UTC 174
49.51
GitHub Action Run
9 run-3.4-gemfiles/rack_3_2.gemfile - 41223761146.9 31 Oct 2026 05:17PM UTC 175
98.83
GitHub Action Run
10 run-3.4-gemfiles/rails_8_0.gemfile - 41223761146.10 31 Oct 2026 05:17PM UTC 176
98.83
GitHub Action Run
11 run-4.0-gemfiles/grape_swagger.gemfile - 41223761146.11 31 Oct 2026 05:17PM UTC 174
53.7
GitHub Action Run
12 run-3.4-gemfiles/rails_8_1.gemfile - 41223761146.12 31 Oct 2026 05:17PM UTC 176
98.83
GitHub Action Run
13 run-4.0-gemfiles/dry_validation.gemfile - 41223761146.13 31 Oct 2026 05:17PM UTC 174
56.47
GitHub Action Run
14 run-3.3-Gemfile - 41223761146.14 31 Oct 2026 05:17PM UTC 175
98.84
GitHub Action Run
15 run-3.4-Gemfile - 41223761146.15 31 Oct 2026 05:17PM UTC 175
98.83
GitHub Action Run
16 run-4.0-gemfiles/rack_2_2.gemfile - 41223761146.16 31 Oct 2026 05:17PM UTC 175
98.79
GitHub Action Run
17 run-3.3-gemfiles/rack_2_2.gemfile - 41223761146.17 31 Oct 2026 05:17PM UTC 175
98.81
GitHub Action Run
18 run-3.3-gemfiles/rack_3_2.gemfile - 41223761146.18 31 Oct 2026 05:17PM UTC 175
98.84
GitHub Action Run
19 run-4.0-gemfiles/rails_8_0.gemfile - 41223761146.19 31 Oct 2026 05:17PM UTC 176
98.83
GitHub Action Run
20 run-4.0-gemfiles/multi_xml_0_8.gemfile - 41223761146.20 31 Oct 2026 05:17PM UTC 174
46.39
GitHub Action Run
21 run-4.0-gemfiles/multi_xml.gemfile - 41223761146.21 31 Oct 2026 05:17PM UTC 174
46.35
GitHub Action Run
22 run-4.0-gemfiles/multi_json_1_20.gemfile - 41223761146.22 31 Oct 2026 05:17PM UTC 174
46.65
GitHub Action Run
23 run-4.0-gemfiles/multi_json.gemfile - 41223761146.23 31 Oct 2026 05:17PM UTC 174
46.62
GitHub Action Run
24 run-3.3-gemfiles/rack_3_0.gemfile - 41223761146.24 31 Oct 2026 05:17PM UTC 175
98.84
GitHub Action Run
25 run-3.4-gemfiles/rack_2_2.gemfile - 41223761146.25 31 Oct 2026 05:17PM UTC 175
98.79
GitHub Action Run
26 run-3.3-gemfiles/rack_3_1.gemfile - 41223761146.26 31 Oct 2026 05:17PM UTC 175
98.84
GitHub Action Run
27 run-4.0-gemfiles/rack_3_2.gemfile - 41223761146.27 31 Oct 2026 05:17PM UTC 175
98.83
GitHub Action Run
28 run-3.4-gemfiles/rack_3_0.gemfile - 41223761146.28 31 Oct 2026 05:17PM UTC 175
98.83
GitHub Action Run
29 run-4.0-gemfiles/rack_3_1.gemfile - 41223761146.29 31 Oct 2026 05:17PM UTC 175
98.83
GitHub Action Run
30 run-4.0-gemfiles/hashie.gemfile - 41223761146.30 31 Oct 2026 05:17PM UTC 174
60.31
GitHub Action Run
31 run-4.0-gemfiles/rack_3_0.gemfile - 41223761146.31 31 Oct 2026 05:17PM UTC 175
98.83
GitHub Action Run
32 run-3.4-gemfiles/rack_3_1.gemfile - 41223761146.32 31 Oct 2026 05:17PM UTC 175
98.83
GitHub Action Run
Source Files on build 41223761146
  • Tree
  • List 176
  • Changed 157
  • Source Changed 2
  • Coverage Changed 157
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41223761146
  • eb9fb85d on github
  • Prev Build on master (#41223413921)
  • Next Build on master (#41224667323)
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