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

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

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 26 Jul 2026 07:02PM UTC
Jobs 32
Files 168
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

26 Jul 2026 07:01PM UTC coverage: 96.916% (+0.005%) from 96.911%
30216011301

Pull #2817

github

ericproulx
Add Layer-1 thread-safety invariant specs

Two deterministic tests that turn the validation layer's concurrency
invariants into permanent regression guards — no timing or thread
interleaving involved, so no flakiness:

- Frozen-graph canary: walks every object reachable from the compiled
  routes' validator lists (validators, iterators, scopes, coercers —
  including oneof variant validators reached through nesting) and
  asserts each contract-class instance is frozen. Catches classes that
  never adopted the FreezeOnNew contract, not just regressions in those
  that did. A census assertion proves the walk actually swept the whole
  taxonomy, and a self-test proves the walker reports unfrozen objects.

- Cache growth canary: snapshots every Grape::Util::Cache key set after
  definition + compile!, then fires first-ever requests (valid, invalid,
  wrong-shape, 404, OPTIONS, 405) and asserts no cache gained keys.
  Pins the "caches are written only at boot" property that makes their
  unsynchronized reads safe; would have caught the pre-#2817
  ArrayCoercer seeding DryTypes::ParamsCache on first request.

Test-only; no production changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #2817: Remove request-time mutable state from Array and custom-type coercers

1167 of 1258 branches covered (92.77%)

Branch coverage included in aggregate %.

3799 of 3866 relevant lines covered (98.27%)

25095.45 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
93.94
0.19% lib/grape/validations/types/dry_type_coercer.rb
1
90.0
0.34% lib/grape/validations/types/variant_collection_coercer.rb
1
96.74
-0.04% lib/grape/validations/validators/base.rb
Jobs
ID Job ID Ran Files Coverage
1 run-4.0-gemfiles/dry_validation.gemfile - 30216011301.1 26 Jul 2026 07:03PM UTC 167
58.62
GitHub Action Run
2 run-4.0-Gemfile - 30216011301.2 26 Jul 2026 07:02PM UTC 167
95.53
GitHub Action Run
3 run-3.4-gemfiles/rack_3_2.gemfile - 30216011301.3 26 Jul 2026 07:02PM UTC 167
95.53
GitHub Action Run
4 run-3.4-gemfiles/rails_8_0.gemfile - 30216011301.4 26 Jul 2026 07:03PM UTC 168
95.53
GitHub Action Run
5 run-3.4-gemfiles/rails_8_1.gemfile - 30216011301.5 26 Jul 2026 07:03PM UTC 168
95.53
GitHub Action Run
6 run-3.3-gemfiles/rails_8_1.gemfile - 30216011301.6 26 Jul 2026 07:02PM UTC 168
95.53
GitHub Action Run
7 run-4.0-gemfiles/multi_json.gemfile - 30216011301.7 26 Jul 2026 07:02PM UTC 167
48.26
GitHub Action Run
8 run-4.0-gemfiles/rack_2_2.gemfile - 30216011301.8 26 Jul 2026 07:03PM UTC 167
95.49
GitHub Action Run
9 run-3.3-gemfiles/rack_3_0.gemfile - 30216011301.9 26 Jul 2026 07:03PM UTC 167
95.52
GitHub Action Run
10 run-3.4-gemfiles/rails_7_2.gemfile - 30216011301.10 26 Jul 2026 07:03PM UTC 168
95.53
GitHub Action Run
11 run-4.0-gemfiles/rails_7_2.gemfile - 30216011301.11 26 Jul 2026 07:02PM UTC 168
95.53
GitHub Action Run
12 run-3.4-gemfiles/rack_3_1.gemfile - 30216011301.12 26 Jul 2026 07:03PM UTC 167
95.53
GitHub Action Run
13 run-3.4-gemfiles/rack_2_2.gemfile - 30216011301.13 26 Jul 2026 07:02PM UTC 167
95.49
GitHub Action Run
14 run-4.0-gemfiles/rails_8_0.gemfile - 30216011301.14 26 Jul 2026 07:02PM UTC 168
95.53
GitHub Action Run
15 run-3.3-gemfiles/rack_3_1.gemfile - 30216011301.15 26 Jul 2026 07:02PM UTC 167
95.52
GitHub Action Run
16 run-3.3-gemfiles/rails_8_0.gemfile - 30216011301.16 26 Jul 2026 07:03PM UTC 168
95.53
GitHub Action Run
17 run-3.3-gemfiles/rack_2_2.gemfile - 30216011301.17 26 Jul 2026 07:02PM UTC 167
95.49
GitHub Action Run
18 run-4.0-gemfiles/rails_8_1.gemfile - 30216011301.18 26 Jul 2026 07:02PM UTC 168
95.53
GitHub Action Run
19 run-3.3-gemfiles/rails_7_2.gemfile - 30216011301.19 26 Jul 2026 07:03PM UTC 168
95.53
GitHub Action Run
20 run-4.0-gemfiles/hashie.gemfile - 30216011301.20 26 Jul 2026 07:02PM UTC 167
62.58
GitHub Action Run
21 run-4.0-gemfiles/multi_json_1_20.gemfile - 30216011301.21 26 Jul 2026 07:03PM UTC 167
48.3
GitHub Action Run
22 run-4.0-gemfiles/rack_3_0.gemfile - 30216011301.22 26 Jul 2026 07:02PM UTC 167
95.53
GitHub Action Run
23 run-4.0-gemfiles/multi_xml_0_8.gemfile - 30216011301.23 26 Jul 2026 07:03PM UTC 167
47.69
GitHub Action Run
24 run-3.3-gemfiles/rack_3_2.gemfile - 30216011301.24 26 Jul 2026 07:02PM UTC 167
95.52
GitHub Action Run
25 run-3.4-Gemfile - 30216011301.25 26 Jul 2026 07:03PM UTC 167
95.53
GitHub Action Run
26 run-4.0-gemfiles/rack_3_1.gemfile - 30216011301.26 26 Jul 2026 07:02PM UTC 167
95.53
GitHub Action Run
27 run-4.0-gemfiles/multi_xml.gemfile - 30216011301.27 26 Jul 2026 07:02PM UTC 167
47.66
GitHub Action Run
28 run-4.0-gemfiles/rack_3_2.gemfile - 30216011301.28 26 Jul 2026 07:03PM UTC 167
95.53
GitHub Action Run
29 run-4.0-gemfiles/grape_entity.gemfile - 30216011301.29 26 Jul 2026 07:03PM UTC 167
50.98
GitHub Action Run
30 run-4.0-gemfiles/grape_swagger.gemfile - 30216011301.30 26 Jul 2026 07:02PM UTC 167
55.92
GitHub Action Run
31 run-3.3-Gemfile - 30216011301.31 26 Jul 2026 07:03PM UTC 167
95.52
GitHub Action Run
32 run-3.4-gemfiles/rack_3_0.gemfile - 30216011301.32 26 Jul 2026 07:03PM UTC 167
95.53
GitHub Action Run
Source Files on build 30216011301
  • Tree
  • List 168
  • Changed 11
  • Source Changed 11
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30216011301
  • Pull Request #2817
  • PR Base - master (#30215793031)
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