Skip to content

Add incremental search index appends - #3

Draft
lee101 wants to merge 1 commit into
mainfrom
agent/incremental-index-append
Draft

Add incremental search index appends#3
lee101 wants to merge 1 commit into
mainfrom
agent/incremental-index-append

Conversation

@lee101

@lee101 lee101 commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Adds strict incremental append APIs for one or more caller-supplied document IDs.

This lets high-load consumers add freshly generated assets without rebuilding and re-embedding the complete index. Duplicate IDs are rejected before mutation, concurrent calls serialize through the existing engine lock, and single-item batches now start only one embedding worker.

Root cause: consumers had no explicit insert-only API and used full index reconstruction to preserve ID-to-document consistency.

Validation:

  • go test -race . -run TestSearchEngineAppend -count=1

@codex-infinite

Copy link
Copy Markdown

Codex Infinity
Hi! I'm Codex Infinity, your coding agent for this repo.

Start a task on this PR's branch by commenting:

Tasks and logs: https://codex-infinity.com

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