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

dcdpr / jp / 28097667709
69%

Build:
DEFAULT BRANCH: main
Ran 24 Jun 2026 12:15PM UTC
Jobs 1
Files 419
Run time 2min
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

24 Jun 2026 12:13PM UTC coverage: 66.882% (+0.007%) from 66.875%
28097667709

push

github

web-flow
chore(tools): Handle stringified JSON arrays in `OneOrMany` (#789)

LLMs occasionally pass an array-typed argument as a JSON string that
contains the array literal (e.g. `"[\"a\", \"b\"]"`) instead of a proper
JSON array. The derived `Deserialize` implementation on `OneOrMany`
treated such a string as a single `One` element, causing tools that
accept multi-value inputs to silently receive a raw JSON string rather
than the intended list.

The custom `Deserialize` impl now detects this pattern: when the
incoming value is a string that successfully parses as `Vec<T>`, it is
treated as `Many` rather than `One`. Plain strings that are not valid
JSON arrays continue to deserialize as `One` unchanged.

Signed-off-by: Jean Mertz <git@jeanmertz.com>

12 of 12 new or added lines in 1 file covered. (100.0%)

35966 of 53775 relevant lines covered (66.88%)

403.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28097667709.1 24 Jun 2026 12:15PM UTC 419
66.88
GitHub Action Run
Source Files on build 28097667709
  • Tree
  • List 419
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28097667709
  • b52b9872 on github
  • Prev Build on main (#28097317511)
  • Next Build on main (#28132072622)
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