Skip to content

Merge pull request #396 from prom-client-net/observe-duration-excepti… #352

Merge pull request #396 from prom-client-net/observe-duration-excepti…

Merge pull request #396 from prom-client-net/observe-duration-excepti… #352

Triggered via push March 9, 2026 14:30
Status Success
Total duration 2m 58s
Artifacts 1

ci.yml

on: push
Matrix: CI Build / Build & Test
Create NuGet packages
29s
Create NuGet packages
Create GitHub release
0s
Create GitHub release
Deploy to GitHub
11s
Deploy to GitHub
Deploy to NuGet
0s
Deploy to NuGet
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
CI Build / Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L49
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/GCCollectionCountCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L62
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L37
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L174
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L172
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L166
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (ubuntu-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L151
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L49
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorTests/GCTotalMemoryCollectorTests.cs#L31
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L62
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorTests/ProcessCollectorTests.cs#L37
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L174
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L172
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L166
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (windows-latest): tests/Prometheus.Client.Tests/CollectorRegistryTests.cs#L151
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)
CI Build / Build & Test (windows-latest): tests/Prometheus.Client.Tests/SummaryTests/SummaryTests.cs#L40
Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken to allow test cancellation to be more responsive. (https://xunit.net/xunit.analyzers/rules/xUnit1051)

Artifacts

Produced during runtime
Name Size Digest
packages
299 KB
sha256:e2943c02facd72f2c459baf7d4c112950d1f06d400f84e370fead496d4a267b5