Skip to content

perf(core): batch relation resolution writes - #1132

Merged
phernandez merged 1 commit into
mainfrom
codex-1110-relation-batch
Jul 21, 2026
Merged

perf(core): batch relation resolution writes#1132
phernandez merged 1 commit into
mainfrom
codex-1110-relation-batch

Conversation

@phernandez

Copy link
Copy Markdown
Member

Summary

  • resolve relation targets with one shared session and one set-based repository write
  • load and refresh affected source entities as one deterministic batch
  • preserve duplicate-edge cleanup across SQLite and PostgreSQL while avoiding per-relation transactions

Testing

  • just fast-check
  • focused relation/local-index tests: 78 passed
  • just fast-test: 163 passed, 1 skipped
  • targeted PostgreSQL relation tests: 40 passed
  • just package-check
  • git diff --check

Part of #1110

Signed-off-by: phernandez <paul@basicmachines.co>
@phernandez
phernandez merged commit 0390d2d into main Jul 21, 2026
22 checks passed
@phernandez
phernandez deleted the codex-1110-relation-batch branch July 21, 2026 06:30
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