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

dcdpr / jp / 24579266447
66%

Build:
DEFAULT BRANCH: main
Ran 17 Apr 2026 05:59PM UTC
Jobs 1
Files 290
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

17 Apr 2026 05:56PM UTC coverage: 64.082% (+0.06%) from 64.024%
24579266447

push

github

web-flow
feat(cli, workspace): Add `--scope` filter to `conversation grep` (#577)

Add a `-s`/`--scope` flag to `jp conversation grep` that restricts the
search to specific parts of a conversation. The available scopes are
`title`, `user`, `assistant`, `reasoning`, `structured`, `tool-call`,
`tool-result`, and `inquiry`. Two meta-scopes expand to their concrete
members: `chat` covers user, assistant, reasoning, and structured;
`tool` covers tool-call and tool-result. Omitting `--scope` searches
every part, preserving the existing behaviour.

Conversation titles were not previously searchable at all; they are now
a first-class scope. Tool call arguments are pretty-printed before
matching so individual keys and values land on their own lines, giving
`--context` meaningful results.

When more than one scope is passed, a right-aligned scope column appears
in the text output so hits from different parts are easy to distinguish.
A bare invocation or a single `--scope` value keeps the pre-existing
output shape unchanged. The JSON output gains a `scope` field on every
hit regardless.

For workspace-wide searches that require the event stream,
`Workspace::ensure_all_events_loaded` pre-warms every conversation in
parallel, amortising the per-file disk reads across cores. Narrow
(handle-specific) searches still lazy-load sequentially.

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

168 of 219 new or added lines in 2 files covered. (76.71%)

1 existing line in 1 file now uncovered.

23340 of 36422 relevant lines covered (64.08%)

183.24 hits per line

Uncovered Changes

Lines Coverage ∆ File
36
84.1
-3.12% crates/jp_cli/src/cmd/conversation/grep.rs
15
83.93
-2.56% crates/jp_workspace/src/lib.rs

Coverage Regressions

Lines Coverage ∆ File
1
79.89
-0.29% crates/jp_cli/src/render/tool.rs
Jobs
ID Job ID Ran Files Coverage
1 24579266447.1 17 Apr 2026 05:59PM UTC 290
64.08
GitHub Action Run
Source Files on build 24579266447
  • Tree
  • List 290
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24579266447
  • 5d60aa56 on github
  • Prev Build on main (#24578098452)
  • Next Build on main (#24579271925)
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