Repository navigation
Conversation
Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com> (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 <lareb.zafar@clickhouse.com>
|
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 |
Summary
Split document and chunk row preparation from publication. Manual document add uses the same chunking, embeddings, revision, original, and write order. Preparing rows does not publish a document. The helper returns the typed rows required by the existing inserts.
This prepares the knowledge write path for external source refresh. Refresh must commit its document revision and checkpoint together; that writer is a separate change. Related to #1190 and #1310.
Test plan
tests/unit/test_knowledge_chunk_rows.pyandtests/unit/test_knowledge_dedup.pyon the proposed source (58 passed).git diff --check.906d2573f9fc972176b187a29c4857addd1cc1cc.Review and CI
The first entire-source review identified a blocking return type error at
5057ce3ab31c9a4e0952802e4170c3b9c8dd0a2b. The hosted type check failed. A bounded mypy comparison with the two actual row stores removed all three type errors caused by losing the row types. It used a limited import graph and does not replace the hosted type check. Fresh independent review approved the corrected head with no findings. The hosted Ruff and mypy check passed. The remaining required checks are pending.Release notes
Not for changelog. No wire, configuration, or schema change. Revert the change to restore the single function.
Authorship
AI-generated (Codex).