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

agentjido / req_llm / 9d389ff460311052b055b7f5d686ed36834f4cb0
49%

Build:
DEFAULT BRANCH: main
Ran 03 Nov 2025 09:40PM UTC
Jobs 4
Files 89
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

03 Nov 2025 09:40PM UTC coverage: 52.475% (-0.003%) from 52.478%
9d389ff460311052b055b7f5d686ed36834f4cb0

push

github

web-flow
Fix JSV schema validation to preserve original data types (#173)

* Preserve original data types in JSV validation

JSV.validate/2 performs type coercion during validation (e.g., 1.0 -> 1
for integer schemas). While validation still ensures data conforms to
the schema, we now discard the cast result and return the original data
to preserve data fidelity.

Addresses: #172

* Add ETS-based caching for compiled JSV schemas

JSV.build!/1 compiles JSON schemas into an internal representation on
every validation call. Since schemas are typically static (defined in
provider code, tool definitions, etc.), this compilation overhead is
wasteful for repeated validations.

This adds an ETS table to cache compiled schemas using phash2 of the
schema map as the cache key. The table is configured with :public and
read_concurrency for fast concurrent reads without process bottlenecks.

Addresses: #172

* Update CHANGELOG for JSV validation fixes

---------

Co-authored-by: Mike Hostetler <84222+mikehostetler@users.noreply.github.com>

10 of 10 new or added lines in 2 files covered. (100.0%)

3 existing lines in 2 files now uncovered.

3943 of 7514 relevant lines covered (52.48%)

354.45 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.33
-16.67% lib/req_llm/provider.ex
2
69.52
-0.63% lib/req_llm/provider/defaults.ex
Jobs
ID Job ID Ran Files Coverage
1 9d389ff460311052b055b7f5d686ed36834f4cb0.1 03 Nov 2025 09:40PM UTC 89
52.42
GitHub Action Run
2 9d389ff460311052b055b7f5d686ed36834f4cb0.2 03 Nov 2025 09:40PM UTC 89
52.38
GitHub Action Run
3 9d389ff460311052b055b7f5d686ed36834f4cb0.3 03 Nov 2025 09:40PM UTC 89
52.4
GitHub Action Run
4 9d389ff460311052b055b7f5d686ed36834f4cb0.4 03 Nov 2025 09:40PM UTC 89
52.42
GitHub Action Run
Source Files on build 9d389ff460311052b055b7f5d686ed36834f4cb0
  • Tree
  • List 89
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 9d389ff4 on github
  • Prev Build on main (#8181EAFC...)
  • Next Build on main (#CECE86DC...)
  • Delete
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