Skip to content

Conversation

@stephentoub
Copy link
Member

No description provided.

@stephentoub
Copy link
Member Author

This needs a new Azure.AI.OpenAI.

@markwallace-microsoft
Copy link
Member

AOT unit tests are failing

Run .github/workflows/test-aot-compatibility.ps1 8.0
Publishing the SemanticKernel.AotTests application.
  Determining projects to restore...
  Restored /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/SemanticKernel.AotTests/SemanticKernel.AotTests.csproj (in 1.34 sec).
  4 of 5 projects are up-to-date for restore.
  VectorData.Abstractions -> /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/VectorData/VectorData.Abstractions/bin/Release/net8.0/Microsoft.Extensions.VectorData.Abstractions.dll
  SemanticKernel.Abstractions -> /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/SemanticKernel.Abstractions/bin/Release/net8.0/Microsoft.SemanticKernel.Abstractions.dll
  SemanticKernel.Core -> /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/SemanticKernel.Core/bin/Release/net8.0/Microsoft.SemanticKernel.Core.dll
  Connectors.Onnx -> /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/Connectors/Connectors.Onnx/bin/Release/net8.0/Microsoft.SemanticKernel.Connectors.Onnx.dll
  SemanticKernel.AotTests -> /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/SemanticKernel.AotTests/bin/Release/net8.0/linux-x64/SemanticKernel.AotTests.dll
  Generating native code
ILC : Trim analysis warning IL2070: System.Text.Json.Serialization.Converters.EnumConverterFactory.Create(Type,EnumConverterOptions,JsonNamingPolicy,JsonSerializerOptions): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Type.MakeGenericType(Type[])'. The parameter 'enumType' of method 'System.Text.Json.Serialization.Converters.EnumConverterFactory.Create(Type,EnumConverterOptions,JsonNamingPolicy,JsonSerializerOptions)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [/home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/SemanticKernel.AotTests/SemanticKernel.AotTests.csproj]
ILC : Trim analysis warning IL2070: System.Text.Json.Serialization.Converters.NullableConverterFactory.GetNullableConverterType(Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicParameterlessConstructor' in call to 'System.Type.MakeGenericType(Type[])'. The parameter 'valueTypeToConvert' of method 'System.Text.Json.Serialization.Converters.NullableConverterFactory.GetNullableConverterType(Type)' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [/home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/SemanticKernel.AotTests/SemanticKernel.AotTests.csproj]
ILC : Trim analysis warning IL2090: System.Text.Json.Serialization.Converters.EnumConverter`1.ResolveEnumFields(JsonNamingPolicy): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields' in call to 'System.Type.GetFields(BindingFlags)'. The generic parameter 'T' of 'System.Text.Json.Serialization.Converters.EnumConverter`1' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to. [/home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/SemanticKernel.AotTests/SemanticKernel.AotTests.csproj]
  SemanticKernel.AotTests -> /home/runner/work/semantic-kernel/semantic-kernel/dotnet/src/SemanticKernel.AotTests/bin/Release/net8.0/linux-x64/publish/
Native AOT analysis warnings were detected while publishing the application. See the output for more details.
Error: Process completed with exit code 1.

@rogerbarreto rogerbarreto added this pull request to the merge queue Dec 1, 2025
Merged via the queue into microsoft:main with commit cd4b483 Dec 1, 2025
18 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.

4 participants