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

dcdpr / jp / 18901345168
58%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2025 08:17AM UTC
Jobs 1
Files 151
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

29 Oct 2025 08:15AM UTC coverage: 48.435% (+0.3%) from 48.126%
18901345168

push

github

web-flow
chore(tools): Replace array parameters with `OneOrMany` (#285)

This introduces a new generic `OneOrMany<T>` utility type that accepts
either a single value or a vector through serde's untagged enum
serialization. All tool parameter functions now use `OneOrMany<String>`
instead of `Vec<String>` for list parameters like paths, labels,
assignees, and file_diffs.

The change improves API ergonomics by allowing callers to pass either
`"single_value"` or `["multiple", "values"]` without requiring single
values to be wrapped in arrays. This maintains backward compatibility
while making the tool interfaces more flexible and user-friendly,
particularly for LLMs that tend to sometimes provide single values when
an array is expected.

---------

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

99 of 123 new or added lines in 7 files covered. (80.49%)

2 existing lines in 2 files now uncovered.

7658 of 15811 relevant lines covered (48.43%)

14.67 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% .config/jp/tools/src/fs.rs
1
98.96
.config/jp/tools/src/util.rs
2
0.0
0.0% .config/jp/tools/src/github/pulls.rs
10
0.0
0.0% .config/jp/tools/src/github/create_issue_bug.rs
10
0.0
0.0% .config/jp/tools/src/github/create_issue_enhancement.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% .config/jp/tools/src/github/create_issue_bug.rs
1
0.0
0.0% .config/jp/tools/src/github/create_issue_enhancement.rs
Jobs
ID Job ID Ran Files Coverage
1 18901345168.1 29 Oct 2025 08:17AM UTC 151
48.43
GitHub Action Run
Source Files on build 18901345168
  • Tree
  • List 151
  • Changed 7
  • Source Changed 7
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18901345168
  • ca59a5fc on github
  • Prev Build on main (#18880782066)
  • Next Build on main (#18901902709)
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