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

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

Build:
Build:
LAST BUILD BRANCH: revisit_validators
DEFAULT BRANCH: master
Ran 12 Feb 2026 01:04PM UTC
Jobs 37
Files 152
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

12 Feb 2026 01:04PM UTC coverage: 96.904% (-0.002%) from 96.906%
21947757115

Pull #2657

github

ericproulx
Instantiate validators at definition time

- Store validator instances in ParamsScope/ContractScope and have Endpoint#run_validators read them directly
- Remove ValidatorFactory indirection and eagerly compute validator messages/options in constructors
- Normalize Grape::Exceptions::Validation params handling and refactor validator specs to define routes per example group
- Drop test-prof dependency and its spec config

Co-authored-by: Cursor <cursoragent@cursor.com>
Pull Request #2657: Instantiate validators at definition time

1050 of 1133 branches covered (92.67%)

Branch coverage included in aggregate %.

138 of 139 new or added lines in 20 files covered. (99.28%)

1 existing line in 1 file now uncovered.

3301 of 3357 relevant lines covered (98.33%)

37571.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.0
0.0% lib/grape/exceptions/base.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.83
0.0% lib/grape/exceptions/validation_errors.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_2_2.gemfile - 21947757115.1 12 Feb 2026 01:04PM UTC 151
95.69
GitHub Action Run
2 run-4.0-gemfiles/rack_2_2.gemfile - 21947757115.2 12 Feb 2026 01:05PM UTC 151
95.69
GitHub Action Run
3 run-4.0-gemfiles/rack_3_0.gemfile - 21947757115.3 12 Feb 2026 01:04PM UTC 151
95.74
GitHub Action Run
4 run-3.2-gemfiles/rack_3_0.gemfile - 21947757115.4 12 Feb 2026 01:05PM UTC 151
95.78
GitHub Action Run
5 run-4.0-gemfiles/grape_entity.gemfile - 21947757115.5 12 Feb 2026 01:05PM UTC 151
49.35
GitHub Action Run
6 run-3.3-gemfiles/rails_7_2.gemfile - 21947757115.6 12 Feb 2026 01:05PM UTC 152
95.74
GitHub Action Run
7 run-3.4-gemfiles/rails_7_2.gemfile - 21947757115.7 12 Feb 2026 01:04PM UTC 152
95.74
GitHub Action Run
8 run-4.0-gemfiles/multi_xml.gemfile - 21947757115.8 12 Feb 2026 01:04PM UTC 151
35.54
GitHub Action Run
9 run-3.4-gemfiles/rails_8_1.gemfile - 21947757115.9 12 Feb 2026 01:04PM UTC 152
95.74
GitHub Action Run
10 run-3.4-Gemfile - 21947757115.10 12 Feb 2026 01:04PM UTC 151
95.74
GitHub Action Run
11 run-3.3-gemfiles/rack_2_2.gemfile - 21947757115.11 12 Feb 2026 01:04PM UTC 151
95.69
GitHub Action Run
12 run-3.3-gemfiles/rack_3_1.gemfile - 21947757115.12 12 Feb 2026 01:04PM UTC 151
95.74
GitHub Action Run
13 run-3.3-gemfiles/rack_3_0.gemfile - 21947757115.13 12 Feb 2026 01:05PM UTC 151
95.74
GitHub Action Run
14 run-4.0-Gemfile - 21947757115.14 12 Feb 2026 01:04PM UTC 151
95.74
GitHub Action Run
15 run-3.2-gemfiles/rack_3_2.gemfile - 21947757115.15 12 Feb 2026 01:05PM UTC 151
95.78
GitHub Action Run
16 run-4.0-gemfiles/rails_8_1.gemfile - 21947757115.16 12 Feb 2026 01:04PM UTC 152
95.74
GitHub Action Run
17 run-4.0-gemfiles/multi_json.gemfile - 21947757115.17 12 Feb 2026 01:04PM UTC 151
35.54
GitHub Action Run
18 run-3.2-gemfiles/rack_2_2.gemfile - 21947757115.18 12 Feb 2026 01:04PM UTC 151
95.74
GitHub Action Run
19 run-4.0-gemfiles/rack_3_1.gemfile - 21947757115.19 12 Feb 2026 01:04PM UTC 151
95.74
GitHub Action Run
20 run-3.2-gemfiles/rails_8_1.gemfile - 21947757115.20 12 Feb 2026 01:05PM UTC 152
95.79
GitHub Action Run
21 run-3.4-gemfiles/rack_3_2.gemfile - 21947757115.21 12 Feb 2026 01:05PM UTC 151
95.74
GitHub Action Run
22 run-3.3-gemfiles/rack_3_2.gemfile - 21947757115.22 12 Feb 2026 01:05PM UTC 151
95.74
GitHub Action Run
23 run-3.4-gemfiles/rack_3_1.gemfile - 21947757115.23 12 Feb 2026 01:05PM UTC 151
95.74
GitHub Action Run
24 run-3.4-gemfiles/rails_8_0.gemfile - 21947757115.24 12 Feb 2026 01:05PM UTC 152
95.74
GitHub Action Run
25 run-4.0-gemfiles/hashie.gemfile - 21947757115.25 12 Feb 2026 01:05PM UTC 151
61.27
GitHub Action Run
26 run-3.3-Gemfile - 21947757115.26 12 Feb 2026 01:05PM UTC 151
95.74
GitHub Action Run
27 run-3.3-gemfiles/rails_8_1.gemfile - 21947757115.27 12 Feb 2026 01:05PM UTC 152
95.74
GitHub Action Run
28 run-3.2-gemfiles/rails_8_0.gemfile - 21947757115.28 12 Feb 2026 01:04PM UTC 152
95.79
GitHub Action Run
29 run-3.4-gemfiles/rack_3_0.gemfile - 21947757115.29 12 Feb 2026 01:04PM UTC 151
95.74
GitHub Action Run
30 run-3.3-gemfiles/rails_8_0.gemfile - 21947757115.30 12 Feb 2026 01:04PM UTC 152
95.74
GitHub Action Run
31 run-4.0-gemfiles/dry_validation.gemfile - 21947757115.31 12 Feb 2026 01:04PM UTC 151
56.92
GitHub Action Run
32 run-3.2-Gemfile - 21947757115.32 12 Feb 2026 01:04PM UTC 151
95.78
GitHub Action Run
33 run-3.2-gemfiles/rack_3_1.gemfile - 21947757115.33 12 Feb 2026 01:05PM UTC 151
95.78
GitHub Action Run
34 run-3.2-gemfiles/rails_7_2.gemfile - 21947757115.34 12 Feb 2026 01:04PM UTC 152
95.79
GitHub Action Run
35 run-4.0-gemfiles/rack_3_2.gemfile - 21947757115.35 12 Feb 2026 01:05PM UTC 151
95.74
GitHub Action Run
36 run-4.0-gemfiles/rails_7_2.gemfile - 21947757115.36 12 Feb 2026 01:05PM UTC 152
95.74
GitHub Action Run
37 run-4.0-gemfiles/rails_8_0.gemfile - 21947757115.37 12 Feb 2026 01:04PM UTC 152
95.74
GitHub Action Run
Source Files on build 21947757115
  • Tree
  • List 152
  • Changed 20
  • Source Changed 19
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21947757115
  • Pull Request #2657
  • PR Base - master (#21906320707)
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