Skip to content

fix(migrations): honor configured vector extension before pgvector bootstrap#2426

Open
r266-tech wants to merge 1 commit into
vectorize-io:mainfrom
r266-tech:r266-vector-extension-migration-bootstrap-2423
Open

fix(migrations): honor configured vector extension before pgvector bootstrap#2426
r266-tech wants to merge 1 commit into
vectorize-io:mainfrom
r266-tech:r266-vector-extension-migration-bootstrap-2423

Conversation

@r266-tech

Copy link
Copy Markdown
Contributor

Summary

  • read HINDSIGHT_API_VECTOR_EXTENSION before migration extension bootstrap
  • keep the legacy pgvector public-schema relocation path only for the pgvector backend
  • let non-pgvector backends use the shared bootstrap dispatcher before schema migrations run

Fixes #2423.

Tests

  • uv run pytest tests/test_vector_index.py -q -k 'migration_bootstrap or bootstrap_extension_scann'
  • uv run ruff check hindsight_api/migrations.py
  • git diff --check

Review

  • Codex adversarial review: approve

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.

HINDSIGHT_API_VECTOR_EXTENSION ignored by an earlier unconditional pgvector check in migrations.py

1 participant