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

dcdpr / jp / 26588707478
69%

Build:
DEFAULT BRANCH: main
Ran 28 May 2026 04:47PM UTC
Jobs 1
Files 380
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 May 2026 04:45PM UTC coverage: 65.958% (+0.06%) from 65.896%
26588707478

push

github

web-flow
feat(cli, conversation): Add `--first` and fix `--until` in `fork` (#672)

Add a `--first N` / `-f N` flag to `jp conversation fork`, mirroring the
existing `--last N` flag. When used alone it retains only the first N
turns of the source conversation. When combined with `--last`, both the
leading and trailing windows are kept while the turns in between are
dropped — useful for preserving context from the start of a long
conversation while still including the most recent exchange.

The `--until` filter was also corrected from inclusive (`<=`) to
exclusive (`<`), making the time range a proper half-open `[from,
until)` interval. This is a behaviour change: an event whose timestamp
equals the `--until` value is now dropped rather than retained.

Two new methods back these features in `jp_conversation`:
`retain_first_turns(n)` and `retain_first_and_last_turns(first, last)`.
Both are no-ops when the stream has fewer turns than requested, matching
the existing behaviour of `retain_last_turns`.

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

51 of 51 new or added lines in 2 files covered. (100.0%)

181 existing lines in 9 files now uncovered.

31553 of 47838 relevant lines covered (65.96%)

218.98 hits per line

Coverage Regressions

Lines Coverage ∆ File
76
73.75
3.01% crates/jp_md/src/render.rs
33
95.33
0.06% crates/jp_md/src/buffer.rs
24
93.33
0.0% crates/jp_md/src/writer.rs
15
87.55
0.0% crates/jp_md/src/format.rs
14
90.81
0.0% crates/jp_md/src/table.rs
8
89.61
0.0% crates/jp_md/src/buffer/fixup.rs
7
81.86
-3.1% crates/contrib/schematic_macros/src/common/field.rs
3
94.74
0.0% crates/jp_md/src/buffer/state.rs
1
90.74
-0.93% crates/contrib/schematic_macros/src/common/container.rs
Jobs
ID Job ID Ran Files Coverage
1 26588707478.1 28 May 2026 04:47PM UTC 380
65.96
GitHub Action Run
Source Files on build 26588707478
  • Tree
  • List 380
  • Changed 13
  • Source Changed 11
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26588707478
  • 64d2bd9b on github
  • Prev Build on main (#26583414471)
  • Next Build on main (#26605957513)
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