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

dcdpr / jp / 25080314439
66%

Build:
DEFAULT BRANCH: main
Ran 28 Apr 2026 10:14PM UTC
Jobs 1
Files 292
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

28 Apr 2026 10:10PM UTC coverage: 64.236% (+0.02%) from 64.213%
25080314439

push

github

web-flow
perf(cli, workspace): Parallelize `conversation grep` with rayon (#587)

The grep command previously used a two-phase approach for workspace-wide
searches: eagerly pre-loading all conversation event streams in parallel
via `ensure_all_events_loaded`, then sequentially iterating over
results. This coupling required `Workspace` to own parallelism logic it
shouldn't need to care about.

The new approach is simpler and more direct: `collect_hits` now takes
`&Ctx` (no longer `&mut`) and fans out over conversation IDs using
`rayon::par_iter`. Each conversation is handled by
`collect_hits_for_id`, a pure per-ID function that loads and searches
its own event stream independently. Rayon's order-preserving `collect`
on `Vec<Vec<Hit>>` keeps the pre-sorted ID order intact after
flattening.

As a result, `Workspace::ensure_all_events_loaded` is removed entirely,
along with the distinction between "workspace-wide" and "narrow" search
paths.

---------

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

53 of 60 new or added lines in 1 file covered. (88.33%)

23432 of 36478 relevant lines covered (64.24%)

261.09 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
84.46
0.36% crates/jp_cli/src/cmd/conversation/grep.rs
Jobs
ID Job ID Ran Files Coverage
1 25080314439.1 28 Apr 2026 10:14PM UTC 292
64.24
GitHub Action Run
Source Files on build 25080314439
  • Tree
  • List 292
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25080314439
  • abc40393 on github
  • Prev Build on main (#25076211620)
  • Next Build on main (#25080330382)
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