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

futpib / slopd / 26961905873
86%

Build:
DEFAULT BRANCH: master
Ran 04 Jun 2026 03:34PM UTC
Jobs 1
Files 8
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

04 Jun 2026 01:33PM UTC coverage: 87.073% (+0.3%) from 86.816%
26961905873

push

github

futpib
test: cover `slopctl run` failing when a pane dies before any hook

`slopctl run` waits for a freshly-spawned pane to become ready and fails if the pane dies first. The existing failure test only covered the SessionStart → SessionEnd path, which surfaces as `... (session ended: <reason>)`.

A pane can also die before any Claude hook fires — e.g. the configured executable isn't on the tmux server's PATH, or it crashes on launch. slopd then notices the dead pane only via its reconciler and emits PaneDestroyed, so `run` reports the bare `... died before becoming ready` with no reason suffix. That path had no coverage.

Add `mock_claude --exit-immediately`, which exits before firing any hook, and `run_fails_when_pane_dies_without_any_hook`, which drives `slopctl run` against real tmux to assert the reason-less failure surfaces correctly: non-zero exit, the bare message (no "session ended" suffix), and no pane id on stdout.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

3 of 3 new or added lines in 1 file covered. (100.0%)

5 existing lines in 2 files now uncovered.

4203 of 4827 relevant lines covered (87.07%)

2224690.27 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
62.69
-2.24% iroh-slopctl/src/main.rs
2
89.66
0.19% libslopctl/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 26961905873.1 04 Jun 2026 03:34PM UTC 8
87.07
GitHub Action Run
Source Files on build 26961905873
  • Tree
  • List 8
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26961905873
  • c4072dc8 on github
  • Prev Build on master (#26911421868)
  • Next Build on master (#26982693153)
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