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

dcdpr / jp / 28132072622
69%

Build:
DEFAULT BRANCH: main
Ran 24 Jun 2026 09:55PM UTC
Jobs 1
Files 419
Run time 2min
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

24 Jun 2026 09:53PM UTC coverage: 66.863% (-0.02%) from 66.882%
28132072622

push

github

web-flow
enhance(cli, config): Improve `compact` summarize flag and output (#784)

`--summarize` now accepts optional context text passed to the LLM as
supplementary guidance for that summary, e.g.:

jp conversation compact --summarize "focus on the architectural
decisions"

Without a value it behaves as before (`-s` or `--summarize`). The
context rides on the user turn rather than the system prompt so the
cache-friendly system prompt is preserved.

The compaction output now renders an interleaved timeline of kept and
compacted turns instead of a bare "Compacted turns X..=Y" line. Each
compacted range carries a label describing what was applied (e.g.
`reasoning + tools` or `summary`). When a summary is generated its text
is also written to a temp file and the path is shown in the timeline for
immediate viewing. Dry-run output uses the same timeline format with
"Would have compacted / Would have kept" phrasing.

`build_compaction_events` and `apply_compactions` now accept an
`Option<&Printer>` so implicit callers (`jp query --compact`, fork
during compaction) apply silently without cluttering their own output.

The default `keep_last` bound drops from 3 to 1, keeping only the final
turn by default alongside the genesis turn.

---------

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

69 of 178 new or added lines in 5 files covered. (38.76%)

2 existing lines in 2 files now uncovered.

36040 of 53901 relevant lines covered (66.86%)

410.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
88
43.51
5.8% crates/jp_cli/src/cmd/conversation/compact.rs
9
12.5
-1.25% crates/jp_cli/src/cmd/conversation/summarize.rs
5
43.43
-0.04% crates/jp_cli/src/cmd/query.rs
4
66.37
-1.21% crates/jp_config/src/conversation/compaction.rs
3
66.67
-1.52% crates/jp_cli/src/cmd/conversation/fork.rs

Coverage Regressions

Lines Coverage ∆ File
1
43.51
5.8% crates/jp_cli/src/cmd/conversation/compact.rs
1
66.37
-1.21% crates/jp_config/src/conversation/compaction.rs
Jobs
ID Job ID Ran Files Coverage
1 28132072622.1 24 Jun 2026 09:55PM UTC 419
66.86
GitHub Action Run
Source Files on build 28132072622
  • Tree
  • List 419
  • Changed 7
  • Source Changed 5
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28132072622
  • ffa11b4f on github
  • Prev Build on main (#28097667709)
  • Next Build on main (#28132893375)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc