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

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

Build:
Build:
LAST BUILD BRANCH: robust_mounted_app_comparison
DEFAULT BRANCH: master
Ran 16 May 2026 10:50AM UTC
Jobs 37
Files 160
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

16 May 2026 10:50AM UTC coverage: 97.033%. First build
25960041002

Pull #2726

github

ericproulx
Reuse one AttributesIterator per validator; drop Enumerable

AttributesIterator's attrs/scope are static per validator; only params
varies per request. Build the iterator once in Base#initialize (frozen)
via an overridable iterator_class, and thread params through #each
instead of storing request-derived state in @original_params/@params.
The reused instance is shared across threads, so it must hold no
mutable per-request state.

- Remove `include Enumerable` (dead + misleading: #each never returned
  an Enumerator and nothing used map/select/etc.) and the unused
  `attr_reader :scope`.
- MultipleParamsBase#validate! now lazily builds array_errors
  (`nil` -> `||= []`) like Base, avoiding an empty-array allocation
  on the no-error path.

Allocation: one fewer object (~80 B) per validator per request;
speed-neutral. Full validation/endpoint suites green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #2726: Reuse one AttributesIterator per validator; drop Enumerable

1084 of 1167 branches covered (92.89%)

Branch coverage included in aggregate %.

20 of 20 new or added lines in 4 files covered. (100.0%)

3494 of 3551 relevant lines covered (98.39%)

32181.33 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/rack_3_0.gemfile - 25960041002.1 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
2 run-4.0-gemfiles/multi_json.gemfile - 25960041002.2 16 May 2026 10:51AM UTC 159
36.32
GitHub Action Run
3 run-3.4-gemfiles/rails_8_0.gemfile - 25960041002.3 16 May 2026 10:51AM UTC 160
95.73
GitHub Action Run
4 run-3.4-gemfiles/rack_3_1.gemfile - 25960041002.4 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
5 run-3.2-gemfiles/rack_3_1.gemfile - 25960041002.5 16 May 2026 10:50AM UTC 159
95.77
GitHub Action Run
6 run-4.0-Gemfile - 25960041002.6 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
7 run-3.4-gemfiles/rack_3_2.gemfile - 25960041002.7 16 May 2026 10:52AM UTC 159
95.73
GitHub Action Run
8 run-4.0-gemfiles/rails_7_2.gemfile - 25960041002.8 16 May 2026 10:52AM UTC 160
95.73
GitHub Action Run
9 run-3.3-gemfiles/rack_2_2.gemfile - 25960041002.9 16 May 2026 10:51AM UTC 159
95.69
GitHub Action Run
10 run-4.0-gemfiles/dry_validation.gemfile - 25960041002.10 16 May 2026 10:51AM UTC 159
58.05
GitHub Action Run
11 run-3.3-gemfiles/rack_3_2.gemfile - 25960041002.11 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
12 run-3.3-gemfiles/rack_3_0.gemfile - 25960041002.12 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
13 run-3.3-gemfiles/rails_7_2.gemfile - 25960041002.13 16 May 2026 10:51AM UTC 160
95.73
GitHub Action Run
14 run-4.0-gemfiles/rack_3_1.gemfile - 25960041002.14 16 May 2026 10:52AM UTC 159
95.73
GitHub Action Run
15 run-3.2-gemfiles/rack_2_2.gemfile - 25960041002.15 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
16 run-4.0-gemfiles/hashie.gemfile - 25960041002.16 16 May 2026 10:52AM UTC 159
62.38
GitHub Action Run
17 run-3.3-gemfiles/rails_8_0.gemfile - 25960041002.17 16 May 2026 10:50AM UTC 160
95.73
GitHub Action Run
18 run-3.4-gemfiles/rails_8_1.gemfile - 25960041002.18 16 May 2026 10:51AM UTC 160
95.73
GitHub Action Run
19 run-4.0-gemfiles/rack_2_2.gemfile - 25960041002.19 16 May 2026 10:52AM UTC 159
95.69
GitHub Action Run
20 run-4.0-gemfiles/rack_3_2.gemfile - 25960041002.20 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
21 run-4.0-gemfiles/grape_entity.gemfile - 25960041002.21 16 May 2026 10:51AM UTC 159
50.0
GitHub Action Run
22 run-3.4-gemfiles/rack_3_0.gemfile - 25960041002.22 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
23 run-3.4-gemfiles/rack_2_2.gemfile - 25960041002.23 16 May 2026 10:51AM UTC 159
95.69
GitHub Action Run
24 run-3.2-gemfiles/rack_3_0.gemfile - 25960041002.24 16 May 2026 10:50AM UTC 159
95.77
GitHub Action Run
25 run-4.0-gemfiles/rails_8_1.gemfile - 25960041002.25 16 May 2026 10:52AM UTC 160
95.73
GitHub Action Run
26 run-3.2-gemfiles/rails_8_1.gemfile - 25960041002.26 16 May 2026 10:52AM UTC 160
95.78
GitHub Action Run
27 run-3.3-gemfiles/rails_8_1.gemfile - 25960041002.27 16 May 2026 10:51AM UTC 160
95.73
GitHub Action Run
28 run-4.0-gemfiles/multi_xml.gemfile - 25960041002.28 16 May 2026 10:51AM UTC 159
36.32
GitHub Action Run
29 run-3.4-gemfiles/rails_7_2.gemfile - 25960041002.29 16 May 2026 10:51AM UTC 160
95.73
GitHub Action Run
30 run-4.0-gemfiles/rails_8_0.gemfile - 25960041002.30 16 May 2026 10:51AM UTC 160
95.73
GitHub Action Run
31 run-3.2-gemfiles/rails_7_2.gemfile - 25960041002.31 16 May 2026 10:51AM UTC 160
95.78
GitHub Action Run
32 run-3.2-Gemfile - 25960041002.32 16 May 2026 10:51AM UTC 159
95.77
GitHub Action Run
33 run-3.3-gemfiles/rack_3_1.gemfile - 25960041002.33 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
34 run-3.4-Gemfile - 25960041002.34 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
35 run-3.2-gemfiles/rails_8_0.gemfile - 25960041002.35 16 May 2026 10:51AM UTC 160
95.78
GitHub Action Run
36 run-3.2-gemfiles/rack_3_2.gemfile - 25960041002.36 16 May 2026 10:50AM UTC 159
95.77
GitHub Action Run
37 run-3.3-Gemfile - 25960041002.37 16 May 2026 10:51AM UTC 159
95.73
GitHub Action Run
Source Files on build 25960041002
  • Tree
  • List 160
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25960041002
  • Pull Request #2726
  • PR Base - master (#25873678149)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc