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

dcdpr / jp / 20124258614
58%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2025 06:41AM UTC
Jobs 1
Files 157
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

11 Dec 2025 06:34AM UTC coverage: 47.733% (-1.2%) from 48.957%
20124258614

push

github

web-flow
refactor(conversation)!: Replace `MessagePair` with `ConversationEvent` (#237)

This refactors the core conversation model to use a stream of events
instead of a list of message pairs. The `MessagePair` struct, which
coupled a user message with an assistant reply, is removed in favor of
distinct `ConversationEvents` for user and assistant messages.

This change provides a more flexible and extensible foundation for
conversation history. It paves the way for introducing more granular
event types in the future, such as tool call requests and results,
without being constrained to a rigid request/response structure.

BREAKING CHANGE: The `MessagePair` type has been removed and replaced
with the `ConversationEvent` enum. This fundamentally changes how
conversation history is structured, from a list of request-reply pairs
to a sequential stream of events.

The on-disk storage format for conversations is also changed from
`messages.json` to `events.json.` Existing conversation data is not
automatically migrated and will be incompatible.

---------

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

502 of 1652 new or added lines in 35 files covered. (30.39%)

289 existing lines in 40 files now uncovered.

8010 of 16781 relevant lines covered (47.73%)

13.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
62.01
0.0% crates/jp_cli/src/cmd/init.rs
1
99.07
crates/jp_conversation/src/event/inquiry.rs
2
0.0
0.0% crates/jp_cli/src/lib.rs
2
79.85
0.0% crates/jp_conversation/src/conversation.rs
3
0.0
0.0% crates/jp_cli/src/cmd/conversation/show.rs
3
0.0
0.0% crates/jp_cli/src/ctx.rs
3
23.46
0.0% crates/jp_config/src/fs.rs
3
0.0
0.0% crates/jp_task/src/task/title_generator.rs
5
0.0
0.0% crates/jp_cli/src/cmd/conversation/ls.rs
6
60.59
-19.9% crates/jp_config/src/lib.rs
7
0.0
0.0% crates/jp_cli/src/cmd/conversation/rm.rs
8
0.0
0.0% crates/jp_cli/src/cmd.rs
8
0.0
0.0% crates/jp_cli/src/cmd/config/set.rs
9
0.0
0.0% crates/jp_cli/src/cmd/conversation/edit.rs
9
0.0
0.0% crates/jp_format/src/conversation.rs
9
64.56
-1.12% crates/jp_llm/src/provider.rs
11
31.67
-10.44% crates/jp_conversation/src/thread.rs
15
54.13
-0.15% crates/jp_storage/src/lib.rs
16
60.89
-8.42% crates/jp_config/src/model/id.rs
18
36.97
3.17% crates/jp_cli/src/cmd/query/event.rs
20
54.02
5.1% crates/jp_workspace/src/lib.rs
23
59.65
crates/jp_conversation/src/event/chat.rs
25
69.21
9.32% crates/jp_llm/src/provider/google.rs
28
12.23
0.06% crates/jp_llm/src/tool.rs
30
63.58
1.55% crates/jp_llm/src/provider/ollama.rs
31
77.28
3.83% crates/jp_llm/src/provider/anthropic.rs
37
0.0
crates/jp_conversation/src/event/tool_call.rs
37
54.84
-4.57% crates/jp_llm/src/provider/openrouter.rs
45
59.76
7.44% crates/jp_llm/src/provider/llamacpp.rs
48
68.78
5.22% crates/jp_llm/src/provider/openai.rs
61
0.0
0.0% crates/jp_cli/src/editor.rs
139
13.66
crates/jp_conversation/src/event.rs
230
29.66
crates/jp_conversation/src/stream.rs
257
27.99
-0.67% crates/jp_cli/src/cmd/query.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% crates/jp_cli/src/ctx.rs
1
0.0
0.0% crates/jp_cli/src/editor.rs
1
77.28
3.83% crates/jp_llm/src/provider/anthropic.rs
1
59.76
7.44% crates/jp_llm/src/provider/llamacpp.rs
1
63.58
1.55% crates/jp_llm/src/provider/ollama.rs
1
54.84
-4.57% crates/jp_llm/src/provider/openrouter.rs
1
12.23
0.06% crates/jp_llm/src/tool.rs
2
0.0
0.0% crates/jp_cli/src/cmd/conversation/edit.rs
4
54.02
5.1% crates/jp_workspace/src/lib.rs
5
29.41
-29.41% crates/jp_config/src/conversation/title.rs
5
33.33
-27.78% crates/jp_config/src/providers/llm/deepseek.rs
5
33.33
-27.78% crates/jp_config/src/providers/llm/llamacpp.rs
5
33.33
-27.78% crates/jp_config/src/providers/llm/ollama.rs
5
27.78
-27.78% crates/jp_config/src/style/tool_call.rs
5
56.25
-10.42% crates/jp_config/src/template.rs
6
30.0
-30.0% crates/jp_config/src/conversation/title/generate.rs
6
45.45
-18.18% crates/jp_config/src/conversation/tool/style.rs
6
68.93
-5.83% crates/jp_config/src/editor.rs
6
90.74
-3.7% crates/jp_config/src/model.rs
6
33.33
-28.57% crates/jp_config/src/providers/llm/google.rs
6
30.0
-20.0% crates/jp_config/src/style/reasoning.rs
6
50.0
-16.67% crates/jp_config/src/style/typewriter.rs
6
39.68
0.0% crates/jp_tombmap/src/lib.rs
7
33.33
-29.17% crates/jp_config/src/providers/llm/openai.rs
8
29.17
-33.33% crates/jp_config/src/conversation.rs
8
33.33
-29.63% crates/jp_config/src/providers/llm/openrouter.rs
8
22.86
-22.86% crates/jp_config/src/providers.rs
8
34.62
-30.77% crates/jp_config/src/style.rs
9
33.33
-30.0% crates/jp_config/src/style/code.rs
9
32.56
-20.93% crates/jp_openrouter/src/types/chat.rs
10
60.89
-8.42% crates/jp_config/src/model/id.rs
11
27.99
-0.67% crates/jp_cli/src/cmd/query.rs
11
94.3
-2.85% crates/jp_config/src/assistant.rs
11
39.52
-8.87% crates/jp_config/src/model/parameters.rs
11
27.27
-33.33% crates/jp_config/src/providers/llm/anthropic.rs
12
68.78
5.22% crates/jp_llm/src/provider/openai.rs
14
50.0
-18.42% crates/jp_config/src/providers/llm.rs
16
35.25
-3.55% crates/jp_config/src/conversation/tool.rs
16
0.0
-51.61% crates/jp_config/src/delta.rs
29
60.59
-19.9% crates/jp_config/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 20124258614.1 11 Dec 2025 06:41AM UTC 157
47.73
GitHub Action Run
Source Files on build 20124258614
  • Tree
  • List 157
  • Changed 62
  • Source Changed 34
  • Coverage Changed 56
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20124258614
  • 2f4e5d47 on github
  • Prev Build on main (#19034261978)
  • Next Build on main (#20124362332)
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