Skip to content

Conversation

@techiejd
Copy link
Owner

@techiejd techiejd commented Jan 10, 2026

Note

Improves reliability of the failed validation test by isolating DB state and asserting expected error outcomes.

  • Use createTestDb and point connectionString to failed_validation_test to isolate the database
  • Ensure vectorization job runs by enabling cron and waitForVectorizationJobs
  • Add assertions: latest payload-jobs entry for payloadcms-vectorize:vectorize has hasError = true with error mentioning chunk and Invalid indices: 1
  • Verify no embeddings were created by checking count in default collection

Written by Cursor Bugbot for commit 29f2526. This will update automatically on new commits. Configure here.

@techiejd techiejd merged commit c62abb4 into main Jan 10, 2026
2 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.

2 participants