test(api): regression tests for embedding null-parameter SQL bug #612

Merged
chris merged 1 commit from test/pr611-embedding-null-regression into hotfix/worker-embedding-null-comparison 2026-07-14 17:04:20 +02:00
Owner

Summary

Regression tests for the embedding null-parameter SQL bug (PR #611).

What this adds

4 dedicated tests for and :

  • Null params create row: Verifies no PSQLException when modelName/modelVersion are null
  • Dedup: Second call with same null params does not create duplicate

Also fixes

Pre-existing constructor mismatch in and (constructor gained param on this branch but tests weren't updated).

## Summary Regression tests for the embedding null-parameter SQL bug (PR #611). ### What this adds 4 dedicated tests for and : - **Null params create row**: Verifies no PSQLException when modelName/modelVersion are null - **Dedup**: Second call with same null params does not create duplicate ### Also fixes Pre-existing constructor mismatch in and (constructor gained param on this branch but tests weren't updated).
test(api): add regression tests for embedding null-parameter SQL bug
All checks were successful
Build and Deploy / Detect changed services and test scopes (push) Successful in 3s
Build and Deploy / Run scoped PR tests (push) Has been skipped
Build and Deploy / Smoke API and media worker (push) Has been skipped
Build and Deploy / Smoke web (push) Has been skipped
Build and Deploy / Smoke ML worker (push) Has been skipped
Build and Deploy / Build plants worker image (push) Has been skipped
Build and Deploy / Build people worker image (push) Has been skipped
Build and Deploy / Build converter worker image (push) Has been skipped
Build and Deploy / Build API image (push) Has been skipped
Build and Deploy / Build media worker image (push) Has been skipped
Build and Deploy / Build web image (push) Has been skipped
Build and Deploy / Build ML worker image (push) Has been skipped
Build and Deploy / Deploy API (push) Has been skipped
Build and Deploy / Deploy web (push) Has been skipped
Build and Deploy / Deploy media worker (push) Has been skipped
Build and Deploy / Deploy ML worker (push) Has been skipped
Build and Deploy / Deploy plants worker (push) Has been skipped
Build and Deploy / Deploy people worker (push) Has been skipped
Build and Deploy / Deploy converter worker (push) Has been skipped
Build and Deploy / Clean Docker build artifacts (push) Has been skipped
4c906d7c8c
- upsertOccurrenceEmbedding: null modelName/modelVersion creates row without PSQLException
- upsertOccurrenceEmbedding: second call with null params deduplicates correctly
- bufferPendingEmbedding: null modelName/modelVersion creates row without PSQLException
- bufferPendingEmbedding: second call with null params deduplicates correctly
- Fix pre-existing constructor mismatch in ClassInstanceDiscoveryServiceTest and MLResultAcceptanceTest
chris merged commit b2a2aa26af into hotfix/worker-embedding-null-comparison 2026-07-14 17:04:20 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
chris/memories!612
No description provided.