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

dcdpr / jp / 26805122083
67%

Build:
DEFAULT BRANCH: main
Ran 02 Jun 2026 07:31AM UTC
Jobs 1
Files 397
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

02 Jun 2026 07:27AM UTC coverage: 66.438% (+0.3%) from 66.105%
26805122083

push

github

web-flow
chore(tools): Add supervised shutdown ladder and stale sandbox sweep (#711)

Debug tools that launch `jp` previously waited indefinitely for the
child to exit. A `jp` command that blocks or hangs would wedge the tool
forever.

This commit adds a time-budgeted supervision layer to the launch
harness. A process that doesn't exit within its run window is shut down
via an escalating ladder: two `SIGINT`s (mirroring a manual double
Ctrl+C, which drives jp's own graceful shutdown and flushes the trace
log / dhat heap profile), each followed by a grace window, then
`SIGKILL` as the backstop for a wedged process. The outcome is recorded
in `LaunchResult::termination` (`Exited`, `Graceful`, or `Forced`), and
a warning banner is prepended to the rendered report whenever jp didn't
exit on its own.

To keep pipe-fill deadlocks out of the picture, stdout and stderr are
now drained on dedicated reader threads rather than via
`wait_with_output`. jp is also placed in its own process group at spawn
so `SIGINT`/`SIGKILL` reach any children it left behind.

`Sandbox::create` now calls `sweep_stale_sandboxes` on entry to reclaim
worktrees left behind by a host process that was killed before its
`Drop` ran. Liveness is checked via `kill(pid, 0)` on unix; the sweep is
a no-op on non-unix targets.

A new `.jp/config/skill/debug.toml` registers the three debug tools and
a system-prompt section that describes when and how to reach for each
one.

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

152 of 345 new or added lines in 7 files covered. (44.06%)

37 existing lines in 5 files now uncovered.

33288 of 50104 relevant lines covered (66.44%)

282.05 hits per line

Uncovered Changes

Lines Coverage ∆ File
104
0.0
0.0% .config/jp/tools/src/debug_jp/util/sandbox.rs
44
0.0
0.0% .config/jp/tools/src/debug_jp/profile_sampling.rs
17
84.06
76.74% .config/jp/tools/src/debug_jp/util/launch.rs
16
33.03
33.03% .config/jp/tools/src/debug_jp/trace.rs
10
46.32
46.32% .config/jp/tools/src/debug_jp/profile_heap.rs
1
88.89
-11.11% .config/jp/tools/src/debug_jp/util.rs
1
92.68
92.68% .config/jp/tools/src/debug_jp/util/build.rs

Coverage Regressions

Lines Coverage ∆ File
29
90.42
0.02% crates/jp_llm/src/provider/cerebras.rs
3
83.33
35.51% crates/jp_llm/src/provider.rs
2
0.0
0.0% .config/jp/tools/src/debug_jp/profile_sampling.rs
2
0.0
0.0% .config/jp/tools/src/debug_jp/util/sandbox.rs
1
33.03
33.03% .config/jp/tools/src/debug_jp/trace.rs
Jobs
ID Job ID Ran Files Coverage
1 26805122083.1 02 Jun 2026 07:31AM UTC 397
66.44
GitHub Action Run
Source Files on build 26805122083
  • Tree
  • List 397
  • Changed 13
  • Source Changed 11
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26805122083
  • e6b4d081 on github
  • Prev Build on main (#26763651976)
  • Next Build on main (#26805864183)
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