Skip to content

Add runtime VectorData compatibility canary test - #1264

Merged
BenjaminMichaelis merged 2 commits into
mainfrom
bmichaelis-investigate-missing-method-error
Aug 7, 2026
Merged

Add runtime VectorData compatibility canary test#1264
BenjaminMichaelis merged 2 commits into
mainfrom
bmichaelis-investigate-missing-method-error

Conversation

@BenjaminMichaelis

Copy link
Copy Markdown
Member

Why

Production chat streaming is currently failing with a runtime MissingMethodException from the PgVector search path (VectorSearchOptions<T>.get_OldFilter()), which indicates package binary incompatibility that was not being caught by tests.

What changed

  • Reworked PgVectorConnectorTests to validate runtime VectorData compatibility through the real connector search path.
  • Renamed the test to GetCollection_WithBookContentChunk_RuntimeVectorDataApiShapeIsCompatible to reflect intent.
  • After creating the collection, the test executes SearchAsync(...) with VectorSearchOptions<BookContentChunk> and advances the async enumerator.
  • The current package graph causes this test to fail with the same MissingMethodException, creating the requested red baseline.

Notes for reviewers

  • This is an intentional canary/regression gate: it is expected to fail until NuGet package versions are aligned.
  • Once package alignment is fixed, this same test should pass without test changes.

@BenjaminMichaelis
BenjaminMichaelis merged commit 70de21e into main Aug 7, 2026
6 checks passed
@BenjaminMichaelis
BenjaminMichaelis deleted the bmichaelis-investigate-missing-method-error branch August 7, 2026 08:12
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