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

dcdpr / jp / 24172309547
67%

Build:
DEFAULT BRANCH: main
Ran 09 Apr 2026 04:29AM UTC
Jobs 1
Files 257
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

09 Apr 2026 04:25AM UTC coverage: 64.403% (+0.007%) from 64.396%
24172309547

push

github

web-flow
fix(storage): Retry when mid-persist dirs detected (#525)

When another process holds the atomic-swap lock, only a `.old-*` or
`.staging-*` directory exists for the conversation being saved. Any
concurrent directory scan would miss that conversation entirely, causing
it to temporarily vanish from `load_all_conversation_ids` and
`find_conversation_dir_path`.

Both functions now detect these in-flight directories and retry up to 10
× 1ms, giving the atomic rename time to complete. An orphaned in-flight
directory (where no rename ever arrives) is safely skipped.

Two new helpers support this: `load_inflight_conversation_id` extracts a
`ConversationId` from `.old-*`/`.staging-*` names, and
`scan_conversation_ids` encapsulates the retry logic extracted from
`load_all_conversation_ids`.

---------

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

48 of 67 new or added lines in 2 files covered. (71.64%)

20205 of 31373 relevant lines covered (64.4%)

177.6 hits per line

Uncovered Changes

Lines Coverage ∆ File
19
72.56
-2.51% crates/jp_storage/src/lib.rs
Jobs
ID Job ID Ran Files Coverage
1 24172309547.1 09 Apr 2026 04:29AM UTC 257
64.4
GitHub Action Run
Source Files on build 24172309547
  • Tree
  • List 257
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24172309547
  • 03b38bbf on github
  • Prev Build on main (#24159695622)
  • Next Build on main (#24172313850)
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