Skip to content

fix: Chat Failure#901

Merged
BenjaminMichaelis merged 3 commits intomainfrom
BMichaelis/chatFailure
Mar 6, 2026
Merged

fix: Chat Failure#901
BenjaminMichaelis merged 3 commits intomainfrom
BMichaelis/chatFailure

Conversation

@BenjaminMichaelis
Copy link
Member

Description

Method 'ValidateKeyProperty' in type 'Microsoft.SemanticKernel.Connectors.PgVector.PostgresModelBuilder' from assembly 'Microsoft.SemanticKernel.Connectors.PgVector, Version=1.70.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3' does not have an implementation.

Ensure that your pull request has followed all the steps below:

  • Code compilation
  • Created tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary

Fix failure: Method 'ValidateKeyProperty' in type 'Microsoft.SemanticKernel.Connectors.PgVector.PostgresModelBuilder' from assembly 'Microsoft.SemanticKernel.Connectors.PgVector, Version=1.70.0.0, Culture=neutral, PublicKeyToken=f300afd708cefcd3' does not have an implementation.
Copilot AI review requested due to automatic review settings March 6, 2026 22:00
@BenjaminMichaelis BenjaminMichaelis self-assigned this Mar 6, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns Semantic Kernel PgVector connector versioning with the Semantic Kernel core package to prevent runtime TypeLoadException failures in the Chat components, and adds a regression test to catch future mismatches.

Changes:

  • Centralized the Semantic Kernel version into SemanticKernelVersion and aligned Microsoft.SemanticKernel.Connectors.PgVector to that version.
  • Added a regression test to ensure PostgresVectorStore.GetCollection doesn’t fail with TypeLoadException due to SK package mismatches.
  • Ignored TestResults/ artifacts.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
EssentialCSharp.Chat.Tests/PgVectorConnectorTests.cs Adds a regression test covering the previously observed TypeLoadException failure mode.
Directory.Packages.props Aligns SK core and PgVector connector versions via a shared SemanticKernelVersion property.
.gitignore Adds TestResults/ to ignored outputs.

@BenjaminMichaelis BenjaminMichaelis merged commit 0bd2e01 into main Mar 6, 2026
7 checks passed
@BenjaminMichaelis BenjaminMichaelis deleted the BMichaelis/chatFailure branch March 6, 2026 22:26
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