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

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

Build:
Build:
LAST BUILD BRANCH: revisit_validators
DEFAULT BRANCH: master
Ran 18 Feb 2026 09:56PM UTC
Jobs 40
Files 153
Run time 3min
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

18 Feb 2026 09:55PM UTC coverage: 96.869% (-0.04%) from 96.906%
22159207956

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
  - Extract Grape::Util::Translation module shared by Exceptions::Base
    and Validators::Base for I18n translate with fallback locale
  - Support Hash messages in translate_message for deferred translation
    with interpolation parameters (e.g. { key: :length, min: 2 })
  - 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

1058 of 1142 branches covered (92.64%)

Branch coverage included in aggregate %.

171 of 173 new or added lines in 22 files covered. (98.84%)

2 existing lines in 2 files now uncovered.

3305 of 3362 relevant lines covered (98.3%)

44708.09 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
95.12
-0.88% lib/grape/exceptions/base.rb
1
95.38
-0.53% lib/grape/validations/validators/base.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
95.12
-0.88% lib/grape/exceptions/base.rb
1
90.0
2.5% lib/grape/exceptions/validation.rb
Jobs
ID Job ID Ran Files Coverage
1 run-3.4-gemfiles/rack_2_2.gemfile - 22159207956.1 18 Feb 2026 09:56PM UTC 152
95.68
GitHub Action Run
2 run-3.3-gemfiles/rack_3_2.gemfile - 22159207956.2 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
3 run-4.0-Gemfile - 22159207956.3 18 Feb 2026 09:56PM UTC 304
95.73
GitHub Action Run
4 run-4.0-gemfiles/rails_7_2.gemfile - 22159207956.4 18 Feb 2026 09:56PM UTC 153
95.73
GitHub Action Run
5 run-3.3-Gemfile - 22159207956.5 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
6 run-3.4-gemfiles/rails_7_2.gemfile - 22159207956.6 18 Feb 2026 09:56PM UTC 153
95.73
GitHub Action Run
7 run-4.0-gemfiles/rack_3_1.gemfile - 22159207956.7 18 Feb 2026 09:56PM UTC 0
GitHub Action Run
8 run-3.2-Gemfile - 22159207956.8 18 Feb 2026 09:56PM UTC 152
95.77
GitHub Action Run
9 run-4.0-gemfiles/rack_3_2.gemfile - 22159207956.9 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
10 run-4.0-gemfiles/multi_xml.gemfile - 22159207956.10 18 Feb 2026 09:56PM UTC 152
35.47
GitHub Action Run
11 run-4.0-gemfiles/rack_3_0.gemfile - 22159207956.11 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
12 run-3.2-gemfiles/rails_8_0.gemfile - 22159207956.12 18 Feb 2026 09:56PM UTC 153
95.78
GitHub Action Run
13 run-3.4-Gemfile - 22159207956.13 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
14 run-3.4-gemfiles/rails_8_1.gemfile - 22159207956.14 18 Feb 2026 09:56PM UTC 153
95.73
GitHub Action Run
15 run-3.2-gemfiles/rack_3_1.gemfile - 22159207956.15 18 Feb 2026 09:56PM UTC 152
95.77
GitHub Action Run
16 run-4.0-gemfiles/dry_validation.gemfile - 22159207956.16 18 Feb 2026 09:56PM UTC 152
56.85
GitHub Action Run
17 run-3.2-gemfiles/rails_8_1.gemfile - 22159207956.17 18 Feb 2026 09:56PM UTC 153
95.78
GitHub Action Run
18 run-3.3-gemfiles/rack_3_1.gemfile - 22159207956.18 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
19 run-4.0-gemfiles/rails_8_0.gemfile - 22159207956.19 18 Feb 2026 09:56PM UTC 153
95.73
GitHub Action Run
20 run-4.0-gemfiles/rails_8_1.gemfile - 22159207956.20 18 Feb 2026 09:56PM UTC 459
95.73
GitHub Action Run
21 run-3.2-gemfiles/rails_7_2.gemfile - 22159207956.21 18 Feb 2026 09:56PM UTC 153
95.78
GitHub Action Run
22 run-3.3-gemfiles/rails_8_1.gemfile - 22159207956.22 18 Feb 2026 09:56PM UTC 153
95.73
GitHub Action Run
23 run-4.0-gemfiles/hashie.gemfile - 22159207956.23 18 Feb 2026 09:56PM UTC 152
61.21
GitHub Action Run
24 run-3.4-gemfiles/rack_3_2.gemfile - 22159207956.24 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
25 run-3.2-gemfiles/rack_3_2.gemfile - 22159207956.25 18 Feb 2026 09:56PM UTC 152
95.77
GitHub Action Run
26 run-3.4-gemfiles/rack_3_0.gemfile - 22159207956.26 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
27 run-4.0-gemfiles/rack_2_2.gemfile - 22159207956.27 18 Feb 2026 09:56PM UTC 304
95.68
GitHub Action Run
28 run-3.2-gemfiles/rack_3_0.gemfile - 22159207956.28 18 Feb 2026 09:56PM UTC 152
95.77
GitHub Action Run
29 run-3.2-gemfiles/rack_2_2.gemfile - 22159207956.29 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
30 run-4.0-gemfiles/grape_entity.gemfile - 22159207956.30 18 Feb 2026 09:56PM UTC 152
49.24
GitHub Action Run
31 run-3.3-gemfiles/rack_2_2.gemfile - 22159207956.31 18 Feb 2026 09:56PM UTC 152
95.68
GitHub Action Run
32 run-3.3-gemfiles/rack_3_0.gemfile - 22159207956.32 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
33 run-3.4-gemfiles/rails_8_0.gemfile - 22159207956.33 18 Feb 2026 09:56PM UTC 0
GitHub Action Run
34 run-4.0-gemfiles/multi_json.gemfile - 22159207956.34 18 Feb 2026 09:56PM UTC 152
35.47
GitHub Action Run
35 run-3.3-gemfiles/rails_7_2.gemfile - 22159207956.35 18 Feb 2026 09:56PM UTC 153
95.73
GitHub Action Run
36 run-3.3-gemfiles/rails_8_0.gemfile - 22159207956.36 18 Feb 2026 09:56PM UTC 459
95.73
GitHub Action Run
37 run-3.4-gemfiles/rack_3_1.gemfile - 22159207956.37 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
38 run-4.0-gemfiles/rack_3_1.gemfile - 22159207956.38 18 Feb 2026 09:56PM UTC 0
GitHub Action Run
39 run-3.4-gemfiles/rails_8_0.gemfile - 22159207956.39 18 Feb 2026 09:56PM UTC 153
95.73
GitHub Action Run
40 run-4.0-gemfiles/rack_3_1.gemfile - 22159207956.40 18 Feb 2026 09:56PM UTC 152
95.73
GitHub Action Run
Source Files on build 22159207956
  • Tree
  • List 153
  • Changed 22
  • Source Changed 21
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22159207956
  • 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