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

dcdpr / jp / 24363712729
67%

Build:
DEFAULT BRANCH: main
Ran 13 Apr 2026 07:58PM UTC
Jobs 1
Files 268
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

13 Apr 2026 07:53PM UTC coverage: 65.361% (+0.08%) from 65.278%
24363712729

push

github

web-flow
fix(workspace): Prune stale session entries (#547)

Previously, `session_active_conversation` and
`session_previous_conversation` could return stale IDs for conversations
no longer in the workspace index. Both methods now filter against the
index, returning `None` when the referenced conversation is gone.

`cleanup_stale_files` gains a second pass: after deciding whether to
remove an entire session file, it now prunes individual history entries
that reference deleted conversations. An entry is removed when the
conversation is absent from disk and no other process holds its write
lock — the lock check guards against a mid-persist race where a
conversation is being written but not yet indexed.

To support the lock probe, `jp_storage` gains `is_conversation_locked`,
which checks an existing lock file without creating one. The path
resolution logic is extracted into a shared `lock_file_path` helper.

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

49 of 58 new or added lines in 2 files covered. (84.48%)

21586 of 33026 relevant lines covered (65.36%)

315.37 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
78.48
1.14% crates/jp_workspace/src/session_mapping.rs
4
81.4
18.9% crates/jp_storage/src/lock.rs
Jobs
ID Job ID Ran Files Coverage
1 24363712729.1 13 Apr 2026 07:58PM UTC 268
65.36
GitHub Action Run
Source Files on build 24363712729
  • Tree
  • List 268
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24363712729
  • b63a1689 on github
  • Prev Build on main (#24354983231)
  • Next Build on main (#24364592702)
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