Affected module
Backend
Describe the bug
Updating a Test Case using the PUT /v1/dataQuality/testCases API removes the Test Case from the Bundle Suite UI until a search reindex is performed.
This issue also impacts Automator workflows since Automator internally uses the createOrUpdate operation (PUT), causing updated test cases to disappear from Bundle Suites after automation runs.
Initial analysis indicates this is related to search indexing behavior for Bundle Suites.
Specifically:
- PUT operation on Test Cases causes the Test Case association with Bundle Suites to disappear from search/UI.
- PATCH operation works correctly and does not remove the Test Case from the Bundle Suite.
- Search Reindex restores visibility, indicating the metadata relationship still exists but indexing becomes inconsistent.
To Reproduce
- Create a Test Case for a table.
Example: Column Count between 1 and 10.
- Create a Bundle Test Suite.
Navigate to:
Data Observability -> Test Suites -> Bundle Suite
- Add the created Test Case to the Bundle Suite.
- Update the Test Case using:
PUT /v1/dataQuality/testCases
- Navigate back to the Bundle Suite.
Expected behavior
- Updated Test Case should continue appearing in the Bundle Suite without requiring Search Reindex.
- PUT operation should preserve Bundle Suite associations and indexing consistency.
OS
No response
Python version
No response
OpenMetadata version
1.12.8
OpenMetadata Ingestion package version
No response
Additional context
No response
Pre-submission checklist
Affected module
Backend
Describe the bug
Updating a Test Case using the PUT /v1/dataQuality/testCases API removes the Test Case from the Bundle Suite UI until a search reindex is performed.
This issue also impacts Automator workflows since Automator internally uses the createOrUpdate operation (PUT), causing updated test cases to disappear from Bundle Suites after automation runs.
Initial analysis indicates this is related to search indexing behavior for Bundle Suites.
Specifically:
To Reproduce
Example: Column Count between 1 and 10.
Navigate to:
Data Observability -> Test Suites -> Bundle Suite
PUT /v1/dataQuality/testCases
Expected behavior
OS
No response
Python version
No response
OpenMetadata version
1.12.8
OpenMetadata Ingestion package version
No response
Additional context
No response
Pre-submission checklist