Skip to content

[Bug] Add GC memory pressure tracking for native allocations to avoid memory leaking #127

[Bug] Add GC memory pressure tracking for native allocations to avoid memory leaking

[Bug] Add GC memory pressure tracking for native allocations to avoid memory leaking #127

Triggered via pull request April 12, 2026 10:24
Status Success
Total duration 4m 7s
Artifacts 3

build-and-release.yml

on: pull_request
Matrix: test
validate-release
0s
validate-release
build-nuget
0s
build-nuget
create-release
0s
create-release
publish-nuget
0s
publish-nuget
Fit to window
Zoom out
Zoom in

Annotations

33 warnings
test (macos-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (macos-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L64
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L40
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L199
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L182
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Utilities/Hashset`1.cs#L1078
Type parameter 'T' has the same name as the type parameter from outer type 'Hashset<T>'
test (macos-latest): src/NumSharp.Core/Utilities/Hashset`1.cs#L919
Type parameter 'T' has the same name as the type parameter from outer type 'Hashset<T>'
test (macos-latest): src/NumSharp.Core/Utilities/Hashset`1.cs#L914
Type parameter 'T' has the same name as the type parameter from outer type 'Hashset<T>'
test (macos-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (macos-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.
test (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L187
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L64
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L40
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L199
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L182
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/View/Shape.cs#L1099
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/View/Shape.cs#L1096
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (ubuntu-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.
test (windows-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L40
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L199
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L67
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L40
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L204
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L187
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L182
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (windows-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.

Artifacts

Produced during runtime
Name Size Digest
test-results-macos-latest Expired
973 KB
sha256:c33d97f68306139c3f1a05dd771302d2fc809a96e5381de170a18f5fffdf4b3b
test-results-ubuntu-latest Expired
981 KB
sha256:d543a19b49ec3b3a220b6bbd4e4df3d9e323b73617a5479a84fab8af1f576cc8
test-results-windows-latest Expired
984 KB
sha256:2a9ae9fb7ff04dae6a0d6f94a3b07e2b64e530fa99393b81f5b1fb708d958d6f