Repository navigation
Conversation
Signed-off-by: zlareb1 <[email protected]> (cherry picked from commit 7aca0882170f44984f25535092ff9d27f0872d8f)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Independent review covered all five hunks in |
Return the document and chunk row types required by the existing insert calls. Signed-off-by: zlareb1 <[email protected]>
|
Fresh independent review of The reviewer compared the manual add preflight, original resolution, embedding and row builders, and publication and cleanup spans against the base. The same document and chunk types reach the existing inserts. The publication and cleanup block is unchanged. The change adds no worker entry point or wire or storage change. Ruff and whitespace checks passed. The two focused knowledge files passed 58 tests. The bounded type comparison removed the three affected typing errors; it does not replace normal hosted CI. This review did not run services or the full suite. The normal required checks must still pass on this head. |
|
The required run for The unit shard fails |
Run the preparation change with the repository gates and base code it will merge into. Signed-off-by: zlareb1 <[email protected]>
|
Independent review approved |
|
The Postgres 18 storage job on |
Signed-off-by: zlareb1 <[email protected]>
|
Independent review approved |
Related: #1190
Related: #1310
Changelog category (leave one):
Why
Source refresh needs to prepare document and chunk rows before committing them with a checkpoint. The existing manual add path prepares and publishes the rows in one function. Splitting preparation out gives refresh a reusable step without giving it a separate publication path.
Scope and risk
Manual add uses the same chunking, embeddings, revision, original and write order. The preparation helper returns the typed document and chunk rows without publishing them. This change does not wire refresh to the helper or change who can publish or read a document.
Compatibility, rollout and rollback
No wire, configuration or schema changes. No operator steps. Revert the change to restore the single function; rows written by either version use the same format.
Tests
Ruff, the function-length gate, strict mypy for the changed module, and 116 focused tests passed.
AI assistance in the code
Checklist