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

dcdpr / jp / 28097667709 / 1
69%
main: 69%

Build:
DEFAULT BRANCH: main
Ran 24 Jun 2026 12:16PM UTC
Files 419
Run time 19s
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.1

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>

35966 of 53775 relevant lines covered (66.88%)

403.37 hits per line

Source Files on job 28097667709.1
  • Tree
  • List 419
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28097667709
  • b52b9872 on github
  • Prev Job for on main (#28097317511.1)
  • Next Job for on main (#28132072622.1)
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