Skip to content

fix: batch memory upgrader writes#853

Open
TurboTheTurtle wants to merge 1 commit into
CortexReach:masterfrom
TurboTheTurtle:codex/issue-632-upgrader-bulk-update
Open

fix: batch memory upgrader writes#853
TurboTheTurtle wants to merge 1 commit into
CortexReach:masterfrom
TurboTheTurtle:codex/issue-632-upgrader-bulk-update

Conversation

@TurboTheTurtle
Copy link
Copy Markdown
Contributor

Summary

  • split memory upgrade work into prepare/enrich and write phases
  • add bulkUpdateExact so upgrader batches exact-ID updates under one write lock
  • keep prefix/interactive update behavior on the existing update path

Fixes #632

Tests

  • node test/memory-upgrader-diagnostics.test.mjs
  • node --test test/store-write-queue.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] Lock contention between upgrade CLI and plugin causes writes to fail

1 participant