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

dcdpr / jp / 21475486858
58%

Build:
DEFAULT BRANCH: main
Ran 29 Jan 2026 11:01AM UTC
Jobs 1
Files 177
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 Jan 2026 10:57AM UTC coverage: 53.886% (+1.7%) from 52.206%
21475486858

push

github

web-flow
chore(tools): improve infrastructure and testability (#384)

Migrate from `std::path` to `camino` across `jp_tool` and project
tooling to ensure UTF-8 path safety. This change simplifies path
handling and prevents potential encoding issues when interacting with
external processes.

Introduce a `ProcessRunner` abstraction to decouple tool logic from the
system shell. This enables unit testing of tools that invoke `git` or
`cargo` by using a new `MockProcessRunner`, eliminating the need for
complex integration tests that rely on the local environment.

Refactor the `cargo`, `fs`, and `git` tool modules to use the new runner
and improve consistency in error reporting. Additionally, enhance the
XML serialization logic to better handle multiline strings and provide
more readable output for LLM consumption.

---------

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

644 of 796 new or added lines in 22 files covered. (80.9%)

14 existing lines in 7 files now uncovered.

10726 of 19905 relevant lines covered (53.89%)

117.66 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.25
-1.04% .config/jp/tools/src/fs/list_files.rs
1
97.56
43.71% .config/jp/tools/src/fs/utils.rs
2
0.0
0.0% .config/jp/tools/src/fs/delete_file.rs
3
0.0
0.0% .config/jp/tools/src/cargo.rs
3
84.23
0.35% .config/jp/tools/src/fs/modify_file.rs
3
88.46
88.46% .config/jp/tools/src/git/commit.rs
3
90.0
90.0% .config/jp/tools/src/git/unstage.rs
3
43.94
0.0% .config/jp/tools/src/lib.rs
3
93.33
0.2% .config/jp/tools/src/util.rs
4
91.38
-0.29% .config/jp/tools/src/cargo/check.rs
4
79.55
-5.24% .config/jp/tools/src/cargo/expand.rs
4
0.0
0.0% .config/jp/tools/src/git.rs
4
84.0
84.0% .config/jp/tools/src/git/diff.rs
5
86.24
86.24% .config/jp/tools/src/cargo/test.rs
5
0.0
0.0% .config/jp/tools/src/fs.rs
6
95.98
2.99% .config/jp/tools/src/git/list_patches.rs
21
70.31
70.31% .config/jp/tools/src/git/stage_patch.rs
35
81.18
.config/jp/tools/src/util/runner.rs
42
0.0
0.0% .config/jp/tools/src/github.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.38
-0.29% .config/jp/tools/src/cargo/check.rs
1
84.23
0.35% .config/jp/tools/src/fs/modify_file.rs
1
0.0
0.0% .config/jp/tools/src/github.rs
1
90.0
90.0% .config/jp/tools/src/git/unstage.rs
3
70.31
70.31% .config/jp/tools/src/git/stage_patch.rs
3
83.1
7.34% .config/jp/tools/src/util/xml.rs
4
79.55
-5.24% .config/jp/tools/src/cargo/expand.rs
Jobs
ID Job ID Ran Files Coverage
1 21475486858.1 29 Jan 2026 11:01AM UTC 177
53.89
GitHub Action Run
Source Files on build 21475486858
  • Tree
  • List 177
  • Changed 22
  • Source Changed 22
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21475486858
  • 38392fea on github
  • Prev Build on main (#21077788296)
  • Next Build on main (#21478625683)
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