Skip to content

Commit 02e21f8

Browse files
committed
test: scope sqlite-vec regression to sqlite
Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 445d009 commit 02e21f8

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/services/test_project_service_embedding_status.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ async def test_embedding_status_handles_sqlite_vec_unavailable(
148148
project_service: ProjectService, test_graph, test_project
149149
):
150150
"""Unreadable vec0 tables should degrade to unavailable status instead of crashing."""
151+
# Trigger: Postgres test matrix executes the same unit suite.
152+
# Why: sqlite-vec loading failures are specific to SQLite virtual tables, not Postgres joins.
153+
# Outcome: keep the regression focused on the backend that can actually hit this path.
154+
if _is_postgres():
155+
pytest.skip("sqlite-vec unavailable handling is SQLite-specific.")
156+
151157
original_execute_query = project_service.repository.execute_query
152158

153159
async def _execute_query_with_vec0_failure(query, params):

0 commit comments

Comments
 (0)