Skip to content

fix: preserve concurrent case additions - #20

Merged
rogerchappel merged 3 commits into
mainfrom
agent/oss-f003966516ba-concurrent-add-locking
Aug 9, 2026
Merged

fix: preserve concurrent case additions#20
rogerchappel merged 3 commits into
mainfrom
agent/oss-f003966516ba-concurrent-add-locking

Conversation

@rogerchappel

Copy link
Copy Markdown
Owner

Summary

  • serialize additions to one case with a case-local lock and bounded retry window
  • replace index.json atomically and remove newly written entries if index persistence fails
  • add a 12-process CLI regression covering show, search, export, and orphan detection
  • document locking, retry timeout, and atomic reader behavior

Commits

  • af9ad3b test: cover concurrent CLI additions
  • f0960ab fix: serialize case index updates
  • 1ed7809 docs: explain concurrent writer behavior

Verification

  • npm run release:check
  • bash scripts/validate.sh
  • git diff --check origin/main..HEAD

All checks passed locally on Node.js 22.

@rogerchappel
rogerchappel merged commit df6cfaf into main Aug 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant