Skip to content

Fix generic inheritance dependency matching for DependsOn attributes #899

Fix generic inheritance dependency matching for DependsOn attributes

Fix generic inheritance dependency matching for DependsOn attributes #899

Triggered via issue August 16, 2025 01:29
Status Success
Total duration 2m 47s
Artifacts

claude.yml

on: issue_comment
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
claude
Process completed with exit code 1."
claude
/home/runner/work/TUnit/TUnit/TUnit.Core.SourceGenerator/Generators/AotMethodInvocationGenerator.cs(168,52): warning CS8604: Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'. [/home/runner/work/TUnit/TUnit/TUnit.Core.SourceGenerator.Roslyn47/TUnit.Core.SourceGenerator.Roslyn47.csproj::TargetFramework=netstandard2.0]\n2370-2025-08-14T21:04:07.8679055Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.Core.SourceGenerator/CodeGenerators/Helpers/TupleArgumentHelper.cs(72,37): warning CS8600: Converting null literal or possible null value to non-nullable type. [/home/runner/work/TUnit/TUnit/TUnit.Core.SourceGenerator.Roslyn47/TUnit.Core.SourceGenerator.Roslyn47.csproj::TargetFramework=netstandard2.0]\n2371-2025-08-14T21:04:07.8685845Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.Core.SourceGenerator/Generators/TestMetadataGenerator.cs(724,54): warning CS8604: Possible null reference argument for parameter 'name' in 'ImmutableArray<ISymbol> INamespaceOrTypeSymbol.GetMembers(string name)'. [/home/runner/work/TUnit/TUnit/TUnit.Core.SourceGenerator.Roslyn47/TUnit.Core.SourceGenerator.Roslyn47.csproj::TargetFramework=netstandard2.0]\n2372-2025-08-14T21:04:07.8844897Z TUnit.Core.SourceGenerator.Roslyn47 -> /home/runner/work/TUnit/TUnit/TUnit.Core.SourceGenerator.Roslyn47/bin/Release/netstandard2.0/TUnit.Core.SourceGenerator.dll\n2373-2025-08-14T21:04:08.0572047Z Removing SourceGeneratedViewer directory...\n2374:2025-08-14T21:04:08.0580045Z /home/runner/work/TUnit/TUnit/TUnit.Engine.Tests/TUnit.Engine.Tests.csproj : warning NU1504: Duplicate 'PackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageReference' items are: Microsoft.Testing.Platform.MSBuild , Microsoft.Testing.Platform.MSBuild . [TargetFramework=net9.0]\n2375-2025-08-14T21:04:08.8906682Z TUnit.Analyzers.Roslyn44 -> /home/runner/work/TUnit/TUnit/TUnit.Analyzers.Roslyn44/bin/Release/netstandard2.0/TUnit.Analyzers.dll\n2376-2025-08-14T21:04:10.4824266Z TestProject -> /home/runner/work/TUnit/TUnit/TUnit.Templates/content/TUnit/bin/Release/net8.0/TestProject.dll\n2377-2025-08-14T21:04:10.6551441Z Removing SourceGeneratedViewer directory...\n2378-2025-08-14T21:04:10.6590882Z /home/runner/work/TUnit/TUnit/TUnit.Assertions.Analyzers.CodeFixers.Tests/TUnit.Assertions.Analyzers.CodeFixers.Tests.csproj : warning NU1504: Duplicate 'PackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageReference' items are: Microsoft.Testing.Platform.MSBuild , Microsoft.Testing.Platform.MSBuild . [TargetFramework=net472]\n2379-2025-08-14T21:04:10.7633795Z Removing SourceGeneratedViewer directory...\n2380-2025-08-14T21:04:10.7677989Z /home/runner/work/TUnit/TUnit/TUnit.Assertions.Analyzers.CodeFixers.Tests/TUnit.Assertions.Analyzers.CodeFixers.Tests.csproj : warning NU1504: Duplicate 'PackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageReference' items are: Microsoft.Testing.Platform.MSBuild , Microsoft.Testing.Platform.MSBuild . [TargetFramework=net8.0]\n2381-2025-08-14T21:04:10.8797360Z Removing SourceGeneratedViewer directory...\n2382-2025-08-14T21:04:10.8824893Z /home/runner/work/TUnit/TUnit/TUnit.Assertions.Analyzers.CodeFixers.Tests/TUnit.Assertions.Analyzers.CodeFixers.Tests.csproj : warning NU1504: Duplicate 'PackageReference' items found. Remove the duplicate items or use the Update functionality to ensure a consistent restore behavior. The duplicate 'PackageReference' items are: Microsoft.Testing.Platform.MSBuild , Microsoft.Testing.Platform.MSBuild . [TargetFramework=net9.0]\n2383-2025-08-14T21:04:11.0987544Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.Analyzers/MultipleConstructorsAnalyzer.cs(13,15): warning RS2008: Enable analyzer release tracking for the analyzer project containing rule 'TUnit0052'
claude
/home/runner/work/TUnit/TUnit/TUnit.UnitTests/DependencyResolutionFailureTests.cs(14,15): warning TUnitAssertions0005: Assert.That(...) should not be used with a constant value [/home/runner/work/TUnit/TUnit/TUnit.UnitTests/TUnit.UnitTests.csproj::TargetFramework=net472]\n2561:2025-08-14T21:04:56.5629985Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.UnitTests/DependencyResolutionFailureTests.cs(39,15): warning TUnitAssertions0005: Assert.That(...) should not be used with a constant value [/home/runner/work/TUnit/TUnit/TUnit.UnitTests/TUnit.UnitTests.csproj::TargetFramework=net472]\n2562:2025-08-14T21:04:56.5634709Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.UnitTests/DependencyResolutionFailureTests.cs(32,15): warning TUnitAssertions0005: Assert.That(...) should not be used with a constant value [/home/runner/work/TUnit/TUnit/TUnit.UnitTests/TUnit.UnitTests.csproj::TargetFramework=net472]\n2563:2025-08-14T21:04:56.5639249Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.UnitTests/DependencyResolutionFailureTests.cs(23,15): warning TUnitAssertions0005: Assert.That(...) should not be used with a constant value [/home/runner/work/TUnit/TUnit/TUnit.UnitTests/TUnit.UnitTests.csproj::TargetFramework=net472]\n2564:2025-08-14T21:04:56.5643980Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.UnitTests/DependencyResolutionFailureTests.cs(47,15): warning TUnitAssertions0005: Assert.That(...) should not be used with a constant value [/home/runner/work/TUnit/TUnit/TUnit.UnitTests/TUnit.UnitTests.csproj::TargetFramework=net472]\n2604:2025-08-14T21:05:04.2349921Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.UnitTests/DependencyResolutionFailureTests.cs(14,15): warning TUnitAssertions0005: Assert.That(...) should not be used with a constant value [/home/runner/work/TUnit/TUnit/TUnit.UnitTests/TUnit.UnitTests.csproj::TargetFramework=net8.0]\n2605:2025-08-14T21:05:04.2354924Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.UnitTests/DependencyResolutionFailureTests.cs(32,15): warning TUnitAssertions0005: Assert.That(...) should not be used with a constant value [/home/runner/work/TUnit/TUnit/TUnit.UnitTests/TUnit.UnitTests.csproj::TargetFramework=net8.0]\n2606:2025-08-14T21:05:04.2359479Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.UnitTests/DependencyResolutionFailureTests.cs(39,15): warning TUnitAssertions0005: Assert.That(...) should not be used with a constant value [/home/runner/work/TUnit/TUnit/TUnit.UnitTests/TUnit.UnitTests.csproj::TargetFramework=net8.0]\n2607:2025-08-14T21:05:04.2364120Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.UnitTests/DependencyResolutionFailureTests.cs(23,15): warning TUnitAssertions0005: Assert.That(...) should not be used with a constant value [/home/runner/work/TUnit/TUnit/TUnit.UnitTests/TUnit.UnitTests.csproj::TargetFramework=net8.0]\n2608:2025-08-14T21:05:04.2369379Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.UnitTests/DependencyResolutionFailureTests.cs(47,15): warning TUnitAssertions0005: Assert.That(...) should not be used with a constant value [/home/runner/work/TUnit/TUnit/TUnit.UnitTests/TUnit.UnitTests.csproj::TargetFramework=net8.0]\n2640:2025-08-14T21:05:21.8063679Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.TestProject/Bugs/_2804/MultipleAfterHooksFailureTests.cs(254,9): warning CS0162: Unreachable code detected [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net8.0]\n2641:2025-08-14T21:05:21.8067570Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.TestProject/Bugs/_2804/MultipleAfterHooksFailureTests.cs(269,9): warning CS0162: Unreachable code detected [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net8.0]\n2642:2025-08-14T21:05:21.8071389Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.TestProject/Bugs/_2804/MultipleAfterHooksFailureTests.cs(285,9): warning CS0162: Unreachable code detected [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net8.0]\n2655:2025-08-14T21:05:21.8326470Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.TestProject/Bugs