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

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

Build:
Build:
LAST BUILD BRANCH: revisit_validators
DEFAULT BRANCH: master
Ran 27 Feb 2026 11:06PM UTC
Jobs 37
Files 154
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

25 Feb 2026 01:45PM UTC coverage: 96.875% (-0.03%) from 96.906%
22399578588

Pull #2660

github

ericproulx
Fix thread safety: move mutable ParamsScope state into per-request ParamScopeTracker

ParamsScope instances are shared across requests (definition-time objects).
The mutable `@index` and `@params_meeting_dependency` ivars were being
written during request processing, creating a race condition under concurrent
requests.

Introduces `ParamScopeTracker` which stores all per-request mutable state
(array indices + qualifying params) in a `Fiber[FIBER_KEY]` entry, isolating
each request's state from others. `Endpoint#run_validators` sets up the
tracker via `ParamScopeTracker.track {}`. `AttributesIterator#store_indices`
writes to it; `ParamsScope#full_name` and `#qualifying_params` read from it.

Uses `Fiber[]` (not `Thread.current[]`) so fiber-based servers (e.g. Falcon)
correctly isolate per-request state within each fiber.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request #2660: Fix thread safety: move mutable ParamsScope state into per-request ParamScopeTracker

1076 of 1162 branches covered (92.6%)

Branch coverage included in aggregate %.

62 of 62 new or added lines in 5 files covered. (100.0%)

3326 of 3382 relevant lines covered (98.34%)

44594.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-3.2-Gemfile - 22399578588.1 27 Feb 2026 11:06PM UTC 153
95.77
GitHub Action Run
2 run-4.0-gemfiles/rails_8_0.gemfile - 22399578588.2 27 Feb 2026 11:07PM UTC 154
95.73
GitHub Action Run
3 run-4.0-gemfiles/rack_3_1.gemfile - 22399578588.3 27 Feb 2026 11:06PM UTC 153
95.72
GitHub Action Run
4 run-4.0-gemfiles/grape_entity.gemfile - 22399578588.4 27 Feb 2026 11:06PM UTC 153
49.39
GitHub Action Run
5 run-3.2-gemfiles/rack_3_2.gemfile - 22399578588.5 27 Feb 2026 11:07PM UTC 153
95.77
GitHub Action Run
6 run-3.4-gemfiles/rails_7_2.gemfile - 22399578588.6 27 Feb 2026 11:06PM UTC 154
95.73
GitHub Action Run
7 run-3.3-gemfiles/rack_3_0.gemfile - 22399578588.7 27 Feb 2026 11:06PM UTC 153
95.72
GitHub Action Run
8 run-3.2-gemfiles/rails_7_2.gemfile - 22399578588.8 27 Feb 2026 11:06PM UTC 154
95.77
GitHub Action Run
9 run-4.0-gemfiles/rack_3_0.gemfile - 22399578588.9 27 Feb 2026 11:07PM UTC 153
95.72
GitHub Action Run
10 run-3.3-gemfiles/rack_3_2.gemfile - 22399578588.10 27 Feb 2026 11:06PM UTC 153
95.72
GitHub Action Run
11 run-4.0-gemfiles/multi_json.gemfile - 22399578588.11 27 Feb 2026 11:07PM UTC 153
35.41
GitHub Action Run
12 run-3.3-gemfiles/rack_2_2.gemfile - 22399578588.12 27 Feb 2026 11:07PM UTC 153
95.68
GitHub Action Run
13 run-3.4-gemfiles/rack_3_1.gemfile - 22399578588.13 27 Feb 2026 11:06PM UTC 153
95.72
GitHub Action Run
14 run-3.4-gemfiles/rack_3_0.gemfile - 22399578588.14 27 Feb 2026 11:07PM UTC 153
95.72
GitHub Action Run
15 run-3.2-gemfiles/rack_2_2.gemfile - 22399578588.15 27 Feb 2026 11:06PM UTC 153
95.72
GitHub Action Run
16 run-4.0-gemfiles/hashie.gemfile - 22399578588.16 27 Feb 2026 11:06PM UTC 153
61.39
GitHub Action Run
17 run-3.2-gemfiles/rack_3_0.gemfile - 22399578588.17 27 Feb 2026 11:06PM UTC 153
95.77
GitHub Action Run
18 run-3.3-gemfiles/rails_8_0.gemfile - 22399578588.18 27 Feb 2026 11:07PM UTC 154
95.72
GitHub Action Run
19 run-4.0-gemfiles/rack_3_2.gemfile - 22399578588.19 27 Feb 2026 11:06PM UTC 153
95.72
GitHub Action Run
20 run-3.3-gemfiles/rails_8_1.gemfile - 22399578588.20 27 Feb 2026 11:06PM UTC 154
95.72
GitHub Action Run
21 run-4.0-Gemfile - 22399578588.21 27 Feb 2026 11:06PM UTC 153
95.72
GitHub Action Run
22 run-3.4-gemfiles/rack_3_2.gemfile - 22399578588.22 27 Feb 2026 11:06PM UTC 153
95.72
GitHub Action Run
23 run-3.3-Gemfile - 22399578588.23 27 Feb 2026 11:06PM UTC 153
95.72
GitHub Action Run
24 run-4.0-gemfiles/rails_8_1.gemfile - 22399578588.24 27 Feb 2026 11:07PM UTC 154
95.73
GitHub Action Run
25 run-3.4-gemfiles/rails_8_1.gemfile - 22399578588.25 27 Feb 2026 11:07PM UTC 154
95.73
GitHub Action Run
26 run-4.0-gemfiles/multi_xml.gemfile - 22399578588.26 27 Feb 2026 11:07PM UTC 153
35.41
GitHub Action Run
27 run-3.3-gemfiles/rack_3_1.gemfile - 22399578588.27 27 Feb 2026 11:06PM UTC 153
95.72
GitHub Action Run
28 run-4.0-gemfiles/dry_validation.gemfile - 22399578588.28 27 Feb 2026 11:06PM UTC 153
56.89
GitHub Action Run
29 run-4.0-gemfiles/rails_7_2.gemfile - 22399578588.29 27 Feb 2026 11:06PM UTC 154
95.73
GitHub Action Run
30 run-3.2-gemfiles/rails_8_0.gemfile - 22399578588.30 27 Feb 2026 11:07PM UTC 154
95.77
GitHub Action Run
31 run-3.4-gemfiles/rack_2_2.gemfile - 22399578588.31 27 Feb 2026 11:07PM UTC 153
95.68
GitHub Action Run
32 run-4.0-gemfiles/rack_2_2.gemfile - 22399578588.32 27 Feb 2026 11:07PM UTC 153
95.68
GitHub Action Run
33 run-3.3-gemfiles/rails_7_2.gemfile - 22399578588.33 27 Feb 2026 11:06PM UTC 154
95.72
GitHub Action Run
34 run-3.2-gemfiles/rack_3_1.gemfile - 22399578588.34 27 Feb 2026 11:06PM UTC 153
95.77
GitHub Action Run
35 run-3.2-gemfiles/rails_8_1.gemfile - 22399578588.35 27 Feb 2026 11:07PM UTC 154
95.77
GitHub Action Run
36 run-3.4-Gemfile - 22399578588.36 27 Feb 2026 11:07PM UTC 153
95.72
GitHub Action Run
37 run-3.4-gemfiles/rails_8_0.gemfile - 22399578588.37 27 Feb 2026 11:07PM UTC 154
95.73
GitHub Action Run
Source Files on build 22399578588
  • Tree
  • List 154
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22399578588
  • Pull Request #2660
  • PR Base - master (#22229989337)
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