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

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

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 26 Jul 2026 07:03PM UTC
Files 168
Run time 7s
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: 95.529% (+0.03%) from 95.502%
30216011301.4

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

1141 of 1256 branches covered (90.84%)

Branch coverage included in aggregate %.

3752 of 3866 relevant lines covered (97.05%)

1041.85 hits per line

Source Files on job run-3.4-gemfiles/rails_8_0.gemfile - 30216011301.4
  • 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 Build 30216011301
  • 18dc4a70 on github
  • Prev Job for on fix-coercer-request-time-state (#30215793031.31)
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