Skip to content

fix: batch supersede creates through bulk store#860

Open
TurboTheTurtle wants to merge 1 commit into
CortexReach:masterfrom
TurboTheTurtle:codex/issue-676-supersede-bulkstore
Open

fix: batch supersede creates through bulk store#860
TurboTheTurtle wants to merge 1 commit into
CortexReach:masterfrom
TurboTheTurtle:codex/issue-676-supersede-bulkstore

Conversation

@TurboTheTurtle
Copy link
Copy Markdown
Contributor

Summary

  • queue superseding smart-extractor entries into the existing bulkStore batch path
  • defer old-record invalidation until the created superseding entry ID is known
  • keep the non-batch fallback path intact

Fixes #676

Tests

  • node --test test/smart-extractor-supersede-bulkstore.test.mjs
  • node --test test/smart-extractor-scope-filter.test.mjs
  • npm run build

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.

[BUG] handleSupersede (existing found path) bypasses bulkStore and uses per-item lock

1 participant