Python: JSONL store writes through commit_store_file (jsonl-tmp-leak-on-replace-failure) #154

Merged
libby merged 1 commit from store-replace/jsonl-staged-file-cleanup into main 2026-11-13 02:53:48 +00:00
Member

JsonLinesBackingStore._replace_all staged a fixed .tmp and left it behind when the replace raised. It now calls commit_store_file (unique staged file, fsync, removal on failure), collapsing the duplicate staging authority. The new test fails without the change. Full py suite: only the 2 pre-existing cultnet_py import errors (same at base).

🤖 Generated with Claude Code

JsonLinesBackingStore._replace_all staged a fixed <path>.tmp and left it behind when the replace raised. It now calls commit_store_file (unique staged file, fsync, removal on failure), collapsing the duplicate staging authority. The new test fails without the change. Full py suite: only the 2 pre-existing cultnet_py import errors (same at base). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Python: the JSONL store writes through commit_store_file, so a failed replace removes its staged file (jsonl-tmp-leak-on-replace-failure)
All checks were successful
CultMesh portability and performance / ubuntu-latest reactive semantics and leases (pull_request) Successful in 24m12s
123a9d79a3
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
libby merged commit adbbb780fd into main 2026-11-13 02:53:48 +00:00
libby deleted branch store-replace/jsonl-staged-file-cleanup 2026-11-13 02:53:48 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/CultLib!154
No description provided.