Skip to content

Diagnose unsupported span params on test methods #21520

Diagnose unsupported span params on test methods

Diagnose unsupported span params on test methods #21520

Triggered via pull request November 5, 2026 20:56
Status Success
Total duration 56m 30s
Artifacts 82

dotnet.yml

on: pull_request
Matrix: modularpipeline
Fit to window
Zoom out
Zoom in

Annotations

65 warnings and 4 notices
nuget-package-tests-windows
No files were found with the provided path: **/log_*.diag. No artifacts will be uploaded.
nuget-package-tests-windows: src/TUnit.Analyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs#L218
Possible null reference argument for parameter 'originalRoot' in 'CompilationUnitSyntax BaseMigrationCodeFixProvider.NormalizeLineEndings(CompilationUnitSyntax compilationUnit, SyntaxNode originalRoot)'.
nuget-package-tests-windows: src/TUnit.Mocks.Analyzers/Rules.cs#L71
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
nuget-package-tests-windows: src/TUnit.Mocks.Analyzers/Rules.cs#L30
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
nuget-package-tests-windows: src/TUnit.Analyzers.Internal/CultureSensitiveFormattingAnalyzer.cs#L37
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
doc-snippets: src/TUnit.Analyzers.CodeFixers/Base/BaseMigrationCodeFixProvider.cs#L218
Possible null reference argument for parameter 'originalRoot' in 'CompilationUnitSyntax BaseMigrationCodeFixProvider.NormalizeLineEndings(CompilationUnitSyntax compilationUnit, SyntaxNode originalRoot)'.
doc-snippets: src/TUnit.Mocks.Analyzers/Rules.cs#L71
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
doc-snippets: src/TUnit.Mocks.Analyzers/Rules.cs#L30
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
doc-snippets: src/TUnit.Analyzers.Internal/CultureSensitiveFormattingAnalyzer.cs#L37
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
mock AOT: src/TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L56
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
mock AOT: src/TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L47
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
mock AOT: src/TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L957
Dereference of a possibly null reference.
mock AOT: src/TUnit.Mocks.Analyzers/Rules.cs#L71
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
mock AOT: src/TUnit.Mocks.Analyzers/Rules.cs#L30
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
mock AOT: src/TUnit.Analyzers.Internal/CultureSensitiveFormattingAnalyzer.cs#L37
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (windows-latest)
No files were found with the provided path: **/log_*.diag. No artifacts will be uploaded.
modularpipeline (windows-latest): src/TUnit.Analyzers.Internal/CultureSensitiveFormattingAnalyzer.cs#L37
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (ubuntu-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (ubuntu-latest)
No files were found with the provided path: **/log_*.diag. No artifacts will be uploaded.
modularpipeline (ubuntu-latest): src/TUnit.Mocks.Analyzers/Rules.cs#L71
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (ubuntu-latest): src/TUnit.Mocks.Analyzers/Rules.cs#L30
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (ubuntu-latest): src/TUnit.Analyzers.Internal/CultureSensitiveFormattingAnalyzer.cs#L37
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (macos-latest)
No files were found with the provided path: **/hangdump*. No artifacts will be uploaded.
modularpipeline (macos-latest): src/TUnit.Assertions.SourceGenerator/Generators/MethodAssertionGenerator.cs#L47
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
modularpipeline (macos-latest): src/TUnit.Analyzers.Internal/CultureSensitiveFormattingAnalyzer.cs#L37
The diagnostic message should not contain any line return character nor any leading or trailing whitespaces and should either be a single sentence without a trailing period or a multi-sentences with a trailing period
doc-snippets
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
mock AOT
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
modularpipeline (ubuntu-latest)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
modularpipeline (macos-latest)
Due to capacity constraints, jobs targeting macOS arm64 runners may experience longer queue times.

Artifacts

Produced during runtime
Name Size Digest
HangDump-nuget-package-tests-windows
911 Bytes
sha256:64d46ce437bf79cf5894750cf806b72df750919e69a1b6454dbca94c30bfd40f
HangDumpwindows-latest
911 Bytes
sha256:8f8688bbf912affd1ffbbb617f52f16753044349af3b05b25e4796d7c8408f71
NuGetPackages-ubuntu-latest
25.9 MB
sha256:c2ed5d0a5b6a9c97afe1368fd711544ea9aca8c080a447970daf8f2f4021907e
TUnit.Analyzers.Internal.Tests-linux-net10.0-report.html
163 KB
sha256:037446842d6b129d9cfd3bcfdc84fb6520bd895557137fd3e8858ed61e6d6df1
TUnit.Analyzers.Internal.Tests-linux-net8.0-report.html
163 KB
sha256:6e0a4827d6fa13bb863a5393600483f5d266e8e7ff0b7aae422be4a5f9efbdae
TUnit.Analyzers.Internal.Tests-linux-net9.0-report.html
163 KB
sha256:55f2dff5cc2742c89108c503a9702d2a5a99886e71ec136b0186a13259e9c61b
TUnit.Analyzers.Tests-linux-net10.0-report.html
403 KB
sha256:2ce7a9bddb2301b2a246cff4d613daa014d25f7edd2e9946c97e5a2a21f41a2c
TUnit.Analyzers.Tests-linux-net8.0-report.html
397 KB
sha256:f408f7a869db029c6f9d6178dab9700b038a533f9c33cc7ae53f188b217a36b1
TUnit.Analyzers.Tests-linux-net9.0-report.html
400 KB
sha256:4cc2011510c505aa1bb295392b8ee74c5783ccd64aae7c5b6c77cecc217a159a
TUnit.AspNetCore.Analyzers.Tests-linux-net10.0-report.html
156 KB
sha256:1a8e1010e537d34042f6402b4d17fd33d93af72257a6cdfa6cdb02846cd8f544
TUnit.AspNetCore.Analyzers.Tests-linux-net8.0-report.html
156 KB
sha256:71c8dc4fee1f80391b4a141ced805eee09f1f275638d6e03c2cd2700ede1efc4
TUnit.AspNetCore.Analyzers.Tests-linux-net9.0-report.html
156 KB
sha256:7e4099d354699f25c5acf3c638393c3ef36e8f7265b9ca6542b5c148654f8e93
TUnit.AspNetCore.NugetTester-linux-net10.0-report.html
166 KB
sha256:7204503e95050c270d7dfb7e6f5c9cd0c9f333406ec0188f574025b1e4c45086
TUnit.AspNetCore.NugetTester-linux-net8.0-report.html
165 KB
sha256:665cf3fec823b6e60dfd2fc3a8fda0e409936e6217e67a50c470fc433aa584d8
TUnit.AspNetCore.NugetTester-linux-net9.0-report.html
165 KB
sha256:443f36bca39085234a5ecdf9cb832d42a8f10d9db5c1cbe130d78260276ab910
TUnit.AspNetCore.Tests-linux-net10.0-report.html
199 KB
sha256:1609d4f8691e9c3095e1c3cdbc7c5e5405e2abb85c282af5aab876254467c93e
TUnit.AspNetCore.Tests-linux-net8.0-report.html
195 KB
sha256:f14ffab2aa0668263cb6c5fb5a1885da6a04345f762fe1b693fda64e814e604b
TUnit.AspNetCore.Tests-linux-net9.0-report.html
196 KB
sha256:47e0b6c6589ec198f2f8ceb68aa55cc87a39d7be76de294d39aa23621c03b67a
TUnit.AspNetCore.Tests-macos-net10.0-report.html
198 KB
sha256:bf52c014d74e8c26d43b846f9f421e99299662b6a43a64588912d4784e82f022
TUnit.AspNetCore.Tests-windows-net10.0-report.html
201 KB
sha256:396e042257e996920a650cf3f719f0e763544ef13216c447924d2e0898ea62b1
TUnit.Aspire.Tests-linux-net10.0-report.html
219 KB
sha256:0b98378814c0a1acaafa041ac98993f537fdb0edc19ab98f2eada5df9d5e14fe
TUnit.Assertions.Analyzers.CodeFixers.Tests-linux-net10.0-report.html
154 KB
sha256:f8a60a6060e236f7c3c4cac1b3af8c30d65cce704a291a338d36d333ea63e6de
TUnit.Assertions.Analyzers.CodeFixers.Tests-linux-net8.0-report.html
154 KB
sha256:96a95ed7ccd028b2eac327e88fc227ba8ccd9169c17c7c1fb334f88c23fdce78
TUnit.Assertions.Analyzers.CodeFixers.Tests-linux-net9.0-report.html
154 KB
sha256:8989c152c1dfcf2025bd0de71fbbe4b0c1ba5fe5ff09eaa07aad2f169343b6dd
TUnit.Assertions.Analyzers.Tests-linux-net10.0-report.html
178 KB
sha256:298937a357b7617031d3bb5e2316c9167c5c8592e5c7839c3119593431598909
TUnit.Assertions.Analyzers.Tests-linux-net8.0-report.html
177 KB
sha256:604935b2533b22a2c02207db463347c9bb25cbbc5c7036f7852a7fd8227fe49e
TUnit.Assertions.Analyzers.Tests-linux-net9.0-report.html
178 KB
sha256:e5fa55ec45cb4efb8da87f5d97e9b1584775dc5aaf58141f47e184f89d39a739
TUnit.Assertions.Should.SourceGenerator.Tests-linux-net10.0-report.html
158 KB
sha256:92d4774e69e841647b1afa753eab3b1aeb5b3bb60a25c10ae26c2c35b9c583a6
TUnit.Assertions.Should.SourceGenerator.Tests-linux-net8.0-report.html
158 KB
sha256:4d410db02e578797bbc3aada9a07af4aaf1ded0da73160c82c8ad0857ba7fdfe
TUnit.Assertions.Should.SourceGenerator.Tests-linux-net9.0-report.html
158 KB
sha256:9ff50d438aa164492e97f4731c5ac656c6896cb0b94803b8c52999db47bfbf6b
TUnit.Assertions.Should.Tests-linux-net10.0-report.html
181 KB
sha256:4cf022cace587cfcd43afaca25939595e17f23ab6e9726c4b74a03c014eac764
TUnit.Assertions.Should.Tests-linux-net8.0-report.html
180 KB
sha256:608e520becde5d4de5abc76927ac0eb769e11170872bf8d59ca20f05535d34b4
TUnit.Assertions.Should.Tests-linux-net9.0-report.html
181 KB
sha256:5de6521d0a84845f683b4085b503431d1fc1a6092c551a031b3e0ec598b450f4
TUnit.Assertions.SourceGenerator.Tests-linux-net10.0-report.html
182 KB
sha256:5631e05539fa4b3d022d868d2ddbd1fbad5099b6d1db7ab853935dec55b7b555
TUnit.Assertions.SourceGenerator.Tests-linux-net8.0-report.html
182 KB
sha256:768ffd124b394175ff053e07ba1e13d3edbc82846e8d9f8a0b3bb4632cf0e685
TUnit.Assertions.SourceGenerator.Tests-linux-net9.0-report.html
182 KB
sha256:fc57ab3dae531377cd2ae1d5faa956563077eccab270feff4c25bf6ed5fb9d77
TUnit.Assertions.SourceGenerator.Tests-windows-net48-report.html
159 KB
sha256:ea43a9be66913b528da92ec14f2fcb2459fc76c4521a49979cb136884722ae90
TUnit.Assertions.Tests-linux-net10.0-report.html
644 KB
sha256:cc99b4ad3ea1ad1ba77d3cf6f8713b0c127ce8a1bf1070991c85ac5ea665bdfb
TUnit.Assertions.Tests-linux-net8.0-report.html
633 KB
sha256:2f06ef50949c446665acb18d9e788eb4955b238499342e74f8de7a40a68e0e78
TUnit.Assertions.Tests-linux-net9.0-report.html
641 KB
sha256:8505ce02403b39882e8a60170ddc03710329f684eadad8210458f463e3359ff5
TUnit.Core.SourceGenerator.Tests-linux-net10.0-report.html
240 KB
sha256:515591535e92be83f1b6691d11f09336be73593c2dd9aa73440c7c8ad677a591
TUnit.Core.SourceGenerator.Tests-linux-net8.0-report.html
234 KB
sha256:c6daafae7c50f8bb6ff7fa0eba414db23c56d4738e28c72cf89cefbb1dfb1adb
TUnit.Core.SourceGenerator.Tests-linux-net9.0-report.html
240 KB
sha256:d2a60d317c6d25ec9fc50c7cbd21b2b053affabef1d6204d1620476de26acb52
TUnit.Core.SourceGenerator.Tests-windows-net48-report.html
173 KB
sha256:04e89bc06d92668c92289a2c2ae2030ffc1a8bca2c1f011c2b44065e03b4b59d
TUnit.Example.Asp.Net.TestProject-linux-net10.0-report.html
218 KB
sha256:00b9f538343914ef69dabe4b6010c741a1a1ae9715ea95abbe5c90ee122e8599
TUnit.Mocks.Analyzers.Tests-linux-net10.0-report.html
173 KB
sha256:975684506b57ed0344d2998faf897ff638c61ca88370a8dd05f6387facaf3b66
TUnit.Mocks.Analyzers.Tests-linux-net8.0-report.html
173 KB
sha256:2ddf428ed92987492d77ad8576460f24ba46cd945aba8e9936e4c04021b14d07
TUnit.Mocks.Analyzers.Tests-linux-net9.0-report.html
173 KB
sha256:cad3086753dd50c2fb620cb73c07452df0e1a73a9673a9d9c789871669f55968
TUnit.Mocks.Http.Tests-linux-net10.0-report.html
161 KB
sha256:e396091408804f24fec002d465500d3f4985e6ffad304b6978f55cb25830805a
TUnit.Mocks.Http.Tests-linux-net8.0-report.html
161 KB
sha256:b4c0c99c3db41f0d0abd03fcd597355b0526bea2d22d61bdec23b42d04bbbfe0
TUnit.Mocks.Http.Tests-linux-net9.0-report.html
161 KB
sha256:cf63cd7032b2ac8dafd6eb016d2c8d3e91c0bf84626ed1b3d65125199155a4c9
TUnit.Mocks.InternalsAccess.Tests-linux-net10.0-report.html
157 KB
sha256:fce386ba8367cae3ea57a28cdf887bbaa56107fc07e9b1524797962e378c42fc
TUnit.Mocks.Logging.Tests-linux-net10.0-report.html
155 KB
sha256:a0c6a887bef9192ad7adc897b5a82bea28e7d0d6cc3f9a56e0dc94c924409491
TUnit.Mocks.Logging.Tests-linux-net8.0-report.html
155 KB
sha256:6abe3ccba879381dea167df8bf76a596864e2a98bc224e7d74981a195c35b9d5
TUnit.Mocks.Logging.Tests-linux-net9.0-report.html
155 KB
sha256:5e22e5ffcc6e8424a6cff612f99b361175c0a18870ac01f6ead6a0ba7ce5a500
TUnit.Mocks.SourceGenerator.Tests-linux-net10.0-report.html
204 KB
sha256:96e83df4a90dc3824e1f610310e876def1cf3e65eb54bdaedd997bf8d093a702
TUnit.Mocks.SourceGenerator.Tests-linux-net8.0-report.html
202 KB
sha256:d7e52ac634a2bd50f57c572b7665f685fb78848b7676cf376f4553f3bc15fcf8
TUnit.Mocks.SourceGenerator.Tests-linux-net9.0-report.html
203 KB
sha256:5275ce69eb1df1f9f3ae5628200369beaffe50f8d883ffb63c0d99be7d37ccf9
TUnit.Mocks.Tests-linux-net10.0-report.html
483 KB
sha256:88602d3ca2fa25ff72f1425ce2d46f545fc1b1d1e6ddfb7c1478c696b481c15e
TUnit.Mocks.Tests-linux-net8.0-report.html
474 KB
sha256:3e8383548bae50d8edb65edf094e1f2d3e2889ba05d30c9ffc480df6b10c09a3
TUnit.Mocks.Tests-linux-net9.0-report.html
481 KB
sha256:1c9c9ef8ddee818b5452ca6a1932df6e7c31048542b2f259705fd9606486bba7
TUnit.NugetTester-linux-net10.0-report.html
152 KB
sha256:5ab6c37a8fa2ea114d17d11602c7a7c8cd1419b98aaea96d0e46d5d41b4c4ce1
TUnit.NugetTester-linux-net8.0-report.html
152 KB
sha256:29626fd79243e161c069fb93921ae0e3c77dbd3c5fd8be7f4b0b799f1b57d9d3
TUnit.NugetTester.FSharp-linux-net10.0-report.html
149 KB
sha256:0b06cad4e8a4a23dd979ba3bd5097c5f59a925a1507974f175eedcab9200cf4b
TUnit.NugetTester.FSharp-linux-net8.0-report.html
149 KB
sha256:3abc0658d972cc44188ed3b22ec02f3d0f0251896e5c9690d0bb52a9fbbde44e
TUnit.NugetTester.VB-linux-net10.0-report.html
149 KB
sha256:0a5903af3cc6f2dfe205baf9cbe6bc39b9b1c7549c91515c27090f1c9e961a4b
TUnit.NugetTester.VB-linux-net8.0-report.html
149 KB
sha256:e5bc06488c68921825bb456ddb61217de1110ef20990a0e6965b31aa44fb9202
TUnit.OpenTelemetry.Tests-linux-net10.0-report.html
163 KB
sha256:fe7aa713bf412bb1627ed3197e6d72d76b67e82e289ac06e46bb392eba446e61
TUnit.OpenTelemetry.Tests-macos-net10.0-report.html
163 KB
sha256:4f941d526843945c0c89eb5873d4c283e8020e9e630a169e3c9bc2a8498fac5e
TUnit.OpenTelemetry.Tests-windows-net10.0-report.html
165 KB
sha256:3faf284b01a3c982f56a6353e1d190fb30357fadced581724fda83afb6d77eb0
TUnit.RpcTests-linux-net10.0-report.html
152 KB
sha256:8364521fbe1bbb1ed162ffeeb1fb05faa63a97e63146cfb32e58129d7d51eab5
TUnit.RpcTests-macos-net10.0-report.html
152 KB
sha256:5939fec7aeb23934578ebf9c4eb89c56c9251b90a683fb8b603fada70dfe8d1b
TUnit.RpcTests-windows-net10.0-report.html
152 KB
sha256:667f0dc59377c400502bd50d1f959d3fc6107efbf23e38484aca8715cbdfee81
TUnit.SourceGenerator.IncrementalTests-linux-net10.0-report.html
168 KB
sha256:acfec9f49696d0915d034e662e44dba0a6f21037be7f33838c1157dcb856b029
TUnit.Templates.Tests-linux-net10.0-report.html
153 KB
sha256:73c12b9357f2e96b8d60f3dcedefce44bcb21d7b0f04d8330e4c23694315da88
TUnit.UnitTests-linux-net10.0-report.html
378 KB
sha256:b07bef91228986f90b7a65a466f217f5abb67469853b6895f1011ae844586de9
TUnit.UnitTests-linux-net8.0-report.html
374 KB
sha256:8b621b303b5c13d2819277ede0c360039054f7dd05f318182a4e3a457e9154d9
TUnit.UnitTests-linux-net9.0-report.html
377 KB
sha256:577c264ad94be6f75911bdec0f0adec57cd6e50a89c02c0ca926e77376c8571b
TUnit.UnitTests-macos-net10.0-report.html
371 KB
sha256:dce128f5dd59c40a5ef891a8b466268f7a4293b265cd8bda35cb2c841693c277
TUnit.UnitTests-windows-net10.0-report.html
377 KB
sha256:7b3962825df29b229569f6daf92a4b4952d534a574ba462101abb2ffaafac2a1
TestingPlatformDiagnosticLogsmacos-latest
938 KB
sha256:caeef496955372aee48c8927584a3249dcd19ea3a2d166c0d855ba084159264b
fsharp-trimming-logs
2.67 KB
sha256:a8de21d906d0c27e43e9d1ecf8b2c8a5f490bf0c4d5d3bdcd433d57cab6571a6