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

dcdpr / jp / 28774224049
69%

Build:
DEFAULT BRANCH: main
Ran 06 Jul 2026 07:13AM UTC
Jobs 1
Files 432
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

06 Jul 2026 07:10AM UTC coverage: 68.089% (-0.02%) from 68.113%
28774224049

push

github

web-flow
chore(tools): Add checksum freshness opt-in and touch to unix_utils (#844)

Cargo tools (`cargo_check`, `cargo_expand`, `cargo_test`) can now set
`CARGO_UNSTABLE_CHECKSUM_FRESHNESS=true` via a new `checksum_freshness`
tool option, enabled by default in the `.jp/mcp/tools/cargo/*.toml`
definitions. This makes cargo compare file content checksums instead
of mtimes when deciding what needs rebuilding, so sibling checkouts
(git worktrees) sharing a target directory can no longer serve each
other's stale build artifacts, matching CI behavior. The option
requires nightly cargo (https://github.com/rust-lang/cargo/issues/14136)
and defaults to off at
the code level so the tools keep working on stable Rust.

`unix_utils` gains `touch` as its first write-capable utility. Every
other utility stays read-only; `touch` is carved out in the sandbox
profile with `file-write*` access scoped to the workspace root (and
its canonicalized path, since seatbelt checks resolved symlinks). This
lets the model bump a file's mtime to force a rebuild, e.g.
`{"util": "touch", "args": ["crates/jp_cli/src/main.rs"]}`. The tool
description warns against `-t`/`-d`/`-r` timestamp flags, since
backdated mtimes can corrupt build-freshness tracking. `nl`, already
supported in code but missing from the tool's `util` enum, is added
there too, and a new test pins the enum and the code allowlist
together so future drift between them fails the test suite.

---------

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

22 of 65 new or added lines in 5 files covered. (33.85%)

5 existing lines in 3 files now uncovered.

38643 of 56754 relevant lines covered (68.09%)

672.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
15
82.83
-12.29% .config/jp/tools/src/cargo/check.rs
15
58.3
-1.45% .config/jp/tools/src/unix/utils.rs
7
60.53
-7.33% .config/jp/tools/src/cargo/expand.rs
4
0.0
0.0% .config/jp/tools/src/cargo.rs
2
76.53
0.95% .config/jp/tools/src/cargo/test.rs

Coverage Regressions

Lines Coverage ∆ File
2
82.83
-12.29% .config/jp/tools/src/cargo/check.rs
2
76.53
0.95% .config/jp/tools/src/cargo/test.rs
1
64.52
0.0% .config/jp/tools/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 28774224049.1 06 Jul 2026 07:13AM UTC 432
68.09
GitHub Action Run
Source Files on build 28774224049
  • Tree
  • List 432
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28774224049
  • 36a43071 on github
  • Prev Build on main (#28717676749)
  • Next Build on main (#28873271327)
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