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

ruby-grape / grape / 30172652057 / 2
97%
master: 97%

Build:
Build:
LAST BUILD BRANCH: fix/adversarial-sweep-2026-08
DEFAULT BRANCH: master
Ran 25 Jul 2026 07:59PM UTC
Files 168
Run time 6s
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 Jul 2026 07:58PM UTC coverage: 95.425%. Remained the same
30172652057.2

push

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>

1111 of 1228 branches covered (90.47%)

Branch coverage included in aggregate %.

3707 of 3821 relevant lines covered (97.02%)

958.11 hits per line

Source Files on job run-3.4-gemfiles/rack_3_1.gemfile - 30172652057.2
  • Tree
  • List 168
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 30172652057
  • aca8a921 on github
  • Prev Job for on layer1-thread-safety-invariants (#30172405085.25)
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