Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e42e937126
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
Adds partial document update support (set/unset patches) across core and HTTP APIs, with bulk NDJSON update support and accompanying docs/tests.
Changes:
- Introduces
IndexWriter::apply_patchwith patch validation and JSON path set/unset helpers. - Adds HTTP endpoints for single update (
/indexes/:name/update) and best-effort bulk update (/indexes/:name/_bulk_update) plus integration tests. - Updates OpenAPI/README and adds design + implementation plan docs for partial updates.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| searchlite-http/src/lib.rs | Adds update + bulk update routes, request/response structs, handlers, and HTTP tests; minor multi_search handling tidy-up. |
| searchlite-core/src/api/writer.rs | Implements apply_patch and helper functions to load/patch/validate documents. |
| searchlite-core/tests/partial_update.rs | Adds core tests covering set/unset, nested paths, and validation failures. |
| openapi.yaml | Documents new update and bulk update endpoints and schemas. |
| README.md | Documents new endpoints in the API overview and adds curl examples. |
| docs/plans/2026-02-04-issue-89-partial-update-implementation.md | Adds implementation plan for issue #89 partial update. |
| docs/plans/2026-02-04-issue-89-partial-update-design.md | Adds design notes/constraints for partial update behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
docs/plans/2026-02-04-issue-89-partial-update-implementation.md
Outdated
Show resolved
Hide resolved
- consult pending ops before loading patch source - rename update response field to accepted - update API docs and remove docs/plans 🤖 Generated with Codex
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 487baa6d9a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- add patch error type and vector update guard - stream bulk updates and avoid string matching - document vector update restriction 🤖 Generated with Codex
|
@codex review |
|
Codex Review: Didn't find any major issues. Keep it up! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@codex review |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 10 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 97616a09a8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- accept nested field root paths during patch validation - add regression tests for nested root acceptance/rejection - add end-to-end apply_patch test for replacing nested roots
davidkelley
left a comment
There was a problem hiding this comment.
Addressed pending review updates.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 16f6c98e42
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- traverse arrays while applying set/unset dotted paths - add regression tests for set_path/unset_path array traversal - add apply_patch test covering nested-array dotted updates
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0c5ad22f25
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- expose writer checkpoint/rollback_to for request-scoped rollback - bulk update abort now rolls back only request changes - add regression test for preserving pre-existing queued writes
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1c404884c7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- cache pending latest state by doc id for O(1) lookups - reuse an IndexReader while applying patches - add regression test for fresh committed state across commits
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5cf547768c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- refresh apply_patch reader cache when manifest stamp changes\n- keep reader reuse for stable manifest generations\n- add regression test for interleaved external commit
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0ca7a9db15
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- only allow ancestor patch paths for declared nested fields\n- apply patches to literal dotted top-level field names as single keys\n- add regression tests for dotted field validation and update behavior
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Test Plan
Coverage