Skip to content

fix: Cast search attributes to string for proper tagging in activity #36

fix: Cast search attributes to string for proper tagging in activity

fix: Cast search attributes to string for proper tagging in activity #36

Triggered via push September 3, 2025 22:55
Status Success
Total duration 56s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build: tests/AlbusKavaliro.TraceableLdapClient.Tests/TraceableLdapConnectionIntegrationTests.cs#L7
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
build: tests/AlbusKavaliro.TraceableLdapClient.Tests/LdapContainer.cs#L9
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
build: tests/AlbusKavaliro.TraceableLdapClient.Tests/TraceableLdapConnectionIntegrationTests.cs#L115
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: tests/AlbusKavaliro.TraceableLdapClient.Tests/TraceableLdapConnectionIntegrationTests.cs#L101
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: tests/AlbusKavaliro.TraceableLdapClient.Tests/TraceableLdapConnectionIntegrationTests.cs#L20
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: tests/AlbusKavaliro.TraceableLdapClient.Tests/TraceableLdapConnectionIntegrationTests.cs#L13
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
build: example/ServiceDefaults/Extensions.cs#L16
The type name Extensions conflicts in whole or in part with the namespace name 'Microsoft.AspNetCore.Builder.Extensions'. Change either name to eliminate the conflict. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724)
build: example/ServiceDefaults/Extensions.cs#L116
In externally visible method 'WebApplication Extensions.MapDefaultEndpoints(WebApplication app)', validate parameter 'app' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
build: example/ServiceDefaults/Extensions.cs#L71
'Microsoft.AspNetCore.Http.PathString.StartsWithSegments(Microsoft.AspNetCore.Http.PathString)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Microsoft.Extensions.Hosting.Extensions.ConfigureOpenTelemetry<TBuilder>(TBuilder)' with a call to 'Microsoft.AspNetCore.Http.PathString.StartsWithSegments(Microsoft.AspNetCore.Http.PathString, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)
build: example/ServiceDefaults/Extensions.cs#L70
'Microsoft.AspNetCore.Http.PathString.StartsWithSegments(Microsoft.AspNetCore.Http.PathString)' has a method overload that takes a 'StringComparison' parameter. Replace this call in 'Microsoft.Extensions.Hosting.Extensions.ConfigureOpenTelemetry<TBuilder>(TBuilder)' with a call to 'Microsoft.AspNetCore.Http.PathString.StartsWithSegments(Microsoft.AspNetCore.Http.PathString, System.StringComparison)' for clarity of intent. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1307)