Skip to content

Enhance Prometheus metrics in health check example #53

Enhance Prometheus metrics in health check example

Enhance Prometheus metrics in health check example #53

Triggered via push October 23, 2025 03:56
Status Success
Total duration 2m 32s
Artifacts

dotnet.yml

on: push
Matrix: Build
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build (Release, Zetian.sln): tests/Zetian.Tests/RateLimiterTests.cs#L149
Null should not be used for type parameter 'key' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
Build (Release, Zetian.sln): tests/Zetian.Tests/SmtpCommandTests.cs#L62
Null should not be used for type parameter 'commandLine' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
Build (Release, Zetian.sln): tests/Zetian.Tests/ConnectionTrackerTests.cs#L181
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
Build (Release, Zetian.sln): tests/Zetian.Tests/SmtpServerRaceConditionTests.cs#L303
Converting null literal or possible null value to non-nullable type.
Build (Release, Zetian.sln): tests/Zetian.Tests/SmtpServerRaceConditionTests.cs#L61
Converting null literal or possible null value to non-nullable type.
Build (Release, Zetian.sln): tests/Zetian.Tests/SmtpServerBuilderTests.cs#L195
'X509Certificate2.X509Certificate2()' is obsolete: 'X509Certificate and X509Certificate2 are immutable. Use X509CertificateLoader to create a new certificate.' (https://aka.ms/dotnet-warnings/SYSLIB0026)
Build (Release, Zetian.sln): src/Zetian/Server/SmtpServerBuilder.cs#L145
'X509Certificate2.X509Certificate2(string, string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Build (Release, Zetian.sln): src/Zetian/Server/SmtpServerBuilder.cs#L144
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Build (Release, Zetian.sln): src/Zetian/Server/SmtpServerBuilder.cs#L145
'X509Certificate2.X509Certificate2(string, string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Build (Release, Zetian.sln): src/Zetian/Server/SmtpServerBuilder.cs#L144
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)