Skip to content

feat: add preflight validation - #1

Merged
Achal13jain merged 1 commit into
mainfrom
feat/preflight-validation
Jun 11, 2026
Merged

feat: add preflight validation#1
Achal13jain merged 1 commit into
mainfrom
feat/preflight-validation

Conversation

@Achal13jain

Copy link
Copy Markdown
Owner

Summary

Adds a new vectormeta validate preflight command and reusable validate_records() API for checking vector records before upsert.

This validates metadata size, missing or duplicate IDs, vector shape, vector dimension consistency, optional --dim matching, and Pinecone metadata value rules. It also adds structured validation reports with error/warning severity, table and JSON output, tests, and documentation updates.

Testing

python -m pytest
ruff check .
ruff format --check .
mypy vectormeta

Checklist

  • Core logic remains independent from Typer/Rich where practical.
  • New behavior has focused tests.
  • Docs or examples are updated when user-facing behavior changes.
  • Vector database limit claims are cautious and sourced where needed.

@Achal13jain
Achal13jain merged commit 767988f into main Jun 11, 2026
3 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.

1 participant