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

futpib / slopd / 26985792068
86%

Build:
DEFAULT BRANCH: master
Ran 04 Jun 2026 11:32PM 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 11:25PM UTC coverage: 86.549% (-0.5%) from 87.02%
26985792068

push

github

futpib
fix: fall back instead of panicking when XDG_RUNTIME_DIR is unset

runtime_dir() did dirs::runtime_dir().expect(...), so a missing
XDG_RUNTIME_DIR crashed slopd/slopctl with a backtrace — including the
`slopctl hook` path that runs inside containers (cron jobs and non-login
ssh hit it too). The XDG Base Directory spec says to fall back to a
replacement directory with similar capabilities and warn, not fail.

Now: prefer /run/user/<uid> if it already exists, else a private 0700
/tmp/slopd-<uid> (uid-keyed so two users don't share a control socket),
with a one-time warning. slopd and slopctl share runtime_dir(), so they
still resolve to the same location. The pure decision is split out into
resolve_runtime_fallback() and unit-tested.

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

21 of 44 new or added lines in 1 file covered. (47.73%)

6 existing lines in 3 files now uncovered.

4298 of 4966 relevant lines covered (86.55%)

2162426.21 hits per line

Uncovered Changes

Lines Coverage ∆ File
23
92.18
-1.98% libslop/src/lib.rs

Coverage Regressions

Lines Coverage ∆ File
3
93.27
-2.88% slopctl/src/main.rs
2
67.2
-0.4% slopd/src/bin/mock_claude.rs
1
92.18
-1.98% libslop/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 26985792068.1 04 Jun 2026 11:32PM UTC 8
86.55
GitHub Action Run
Source Files on build 26985792068
  • Tree
  • List 8
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26985792068
  • 19561094 on github
  • Prev Build on master (#26982693153)
  • Next Build on master (#26988541275)
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