You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(nodes): improve Milvus vector DB node — address all TODOs (#562)
* feat(vscode): improve stop button feedback in Pipeline Observability screen
Handle TASK_STATE.STOPPING in the control button to show "Stopping..."
with a disabled state and distinct orange styling, preventing duplicate
clicks and giving immediate visual feedback during pipeline shutdown.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat(nodes): improve Milvus vector DB node — address all TODOs
- Add configurable timeout (default 60s) replacing hardcoded timeout=20,
read from node config via 'timeout' key (TODO line 101, 483)
- Add connection error handling with meaningful failure messages
instead of raw pymilvus exceptions propagating
- Implement bulk insert with configurable batch size (default 50) for
addChunks(), replacing one-at-a-time upserts (TODO lines 449, 464)
- Add _batchUpsertResults() helper to batch-update markDeleted/markActive
operations, eliminating the per-vector upsert loop bottleneck
(TODO lines 514-515, 546-547)
- Add timeout parameter to remove() delete call (TODO line 483)
- Document Milvus COSINE distance score range [0,2] rescaling to [0,1]
for codebase consistency (TODO line 253)
- Fix typos in docstrings and comments
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: remove unrelated PageStatus "Stopping..." changes from Milvus PR
The PageStatus changes belong in a separate PR (#549) and were
accidentally included here.
* fix(nodes): address CodeRabbit feedback on Milvus PR #562
- Remove dead protocol check (host already stripped of scheme at init)
- Add exception chaining with 'from e' for connection errors (B904)
- Add output_fields to markDeleted/markActive queries to prevent data
loss during upsert (was only returning primary key)
- Add output_fields to renderChunks query to prevent KeyError on
content/chunkId access
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(nodes): address remaining review feedback on Milvus PR #562
- Remove unrelated PageStatus changes that were re-introduced
- Validate timeout and bulkInsertBatchSize to ensure positive values
- Make isDeleted a keyword-only argument in _batchUpsertResults
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
# Erase all documents/chunks associated with that ObjectId in one operation (TODO: Start discussion about better use of upsert() method to increase performance)
453
+
# Erase all documents/chunks associated with that ObjectId in one operation
454
+
# so we can cleanly insert the new version
441
455
iflen(objectIds.keys()):
442
456
filter_condition=f"meta['objectId'] in [{', '.join(json.dumps(k) forkinobjectIds.keys())}]"
0 commit comments