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

dcdpr / jp / 20595238311
58%

Build:
DEFAULT BRANCH: main
Ran 30 Dec 2025 11:17AM UTC
Jobs 1
Files 170
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

30 Dec 2025 11:13AM UTC coverage: 51.67% (+0.02%) from 51.653%
20595238311

push

github

web-flow
refactor(workspace, storage): implement lazy loading (#338)

This change introduces lazy loading for conversation metadata and event
streams within the `jp_workspace` crate. By wrapping these data
structures in `OnceCell` inside the `TombMap` state, the workspace now
only performs disk I/O when a specific conversation or its history is
actually accessed.

Previously, the workspace state required more eager loading or
specialized query objects. This refactor removes the
`jp_workspace::query` module in favor of standard iterator patterns
enabled by the new lazy-loading mechanism. The `jp_storage` crate has
been updated with helper methods to support this granular loading
strategy.

This improvement reduces the initial memory footprint and startup time
for the CLI, particularly in workspaces with a large volume of archived
conversations.

---------

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

72 of 239 new or added lines in 4 files covered. (30.13%)

15 existing lines in 3 files now uncovered.

9032 of 17480 relevant lines covered (51.67%)

130.7 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
0.0
0.0% crates/jp_cli/src/cmd/conversation/ls.rs
10
0.0
0.0% crates/jp_cli/src/cmd/conversation/rm.rs
35
59.42
-3.28% crates/jp_storage/src/lib.rs
114
44.51
-6.76% crates/jp_workspace/src/lib.rs

Uncovered Existing Lines

Lines Coverage ∆ File
4
59.42
-3.28% crates/jp_storage/src/lib.rs
5
44.51
-6.76% crates/jp_workspace/src/lib.rs
6
46.71
5.22% crates/jp_tombmap/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 20595238311.1 30 Dec 2025 11:17AM UTC 170
51.67
GitHub Action Run
Source Files on build 20595238311
  • Tree
  • List 170
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20595238311
  • f21c16da on github
  • Prev Build on main (#20485476397)
  • Next Build on main (#20595441263)
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