Skip to content

Comments

Update delete, query APIs to support new changes#8

Merged
Nuvindu merged 19 commits intoballerina-platform:mainfrom
Nuvindu:ai-updates
Aug 31, 2025
Merged

Update delete, query APIs to support new changes#8
Nuvindu merged 19 commits intoballerina-platform:mainfrom
Nuvindu:ai-updates

Conversation

@Nuvindu
Copy link
Contributor

@Nuvindu Nuvindu commented Aug 28, 2025

Purpose

$subject

foreach string id in ids.cloneReadOnly() {
ai:Error? result = deleteById(id, path, self.weaviateClient);
if result is error {
return result;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This leads to an inconsistent stage.
Some are deleted and some are not.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Used a transaction block as suggested

Fixed in 4c2b6cd

@codecov
Copy link

codecov bot commented Aug 31, 2025

Codecov Report

❌ Patch coverage is 71.87500% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.98%. Comparing base (2fbba96) to head (5dcfce0).
⚠️ Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
ballerina/vector_store.bal 71.87% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
- Coverage   65.58%   61.98%   -3.60%     
==========================================
  Files           2        2              
  Lines         154      171      +17     
  Branches       49       63      +14     
==========================================
+ Hits          101      106       +5     
- Misses         53       65      +12     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Nuvindu Nuvindu merged commit 572c8ee into ballerina-platform:main Aug 31, 2025
3 of 4 checks passed
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.

3 participants