Skip to content

Fix first event receiver thread safety using GetOnlyDictionary + Task pattern #866

Fix first event receiver thread safety using GetOnlyDictionary + Task pattern

Fix first event receiver thread safety using GetOnlyDictionary + Task pattern #866

Triggered via issue August 15, 2025 21:45
Status Success
Total duration 2m 7s
Artifacts

claude.yml

on: issue_comment
Fit to window
Zoom out
Zoom in

Annotations

1 warning
claude
/home/runner/work/TUnit/TUnit/TUnit.TestProject/MixedDataSourceBugTest.cs(5,41): warning CS9113: Parameter 'classValue' is unread. [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net472]\n2025-08-15T21:24:13.5597531Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.TestProject/NestedClassDataSourceDrivenTests3.cs(34,36): warning CS8618: Non-nullable property 'InnerClass' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable. [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net472]\n2025-08-15T21:24:13.5605091Z ##[error]/home/runner/work/TUnit/TUnit/TUnit.TestProject/FirstEventTrackerTest.cs(21,26): error CS0117: 'ValueTask' does not contain a definition for 'CompletedTask' [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net472]\n2025-08-15T21:24:13.5609573Z ##[error]/home/runner/work/TUnit/TUnit/TUnit.TestProject/FirstEventTrackerTest.cs(32,26): error CS0117: 'ValueTask' does not contain a definition for 'CompletedTask' [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net472]\n2025-08-15T21:24:13.5614969Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.TestProject/DynamicallyRegisteredTests.cs(58,19): warning CS0618: 'TestContext.ReregisterTestWithArguments(object?[]?, Dictionary<string, object?>?)' is obsolete: 'This method is non-functional after the removal of ITestFinder. It will be removed in a future version.' [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net472]\n2025-08-15T21:24:13.5618852Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.TestProject/ComprehensiveCountTest.cs(8,44): warning CS9113: Parameter 'classValue' is unread. [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net472]\n--\n2025-08-15T21:24:14.1334086Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.TestProject/Bugs/_2804/HookExceptionHandlingTests.cs(106,24): warning TUnit0042: Global hooks should not be mixed with test classes to avoid confusion. Place them in their own class. [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net472]\n2025-08-15T21:24:14.1336987Z ##[warning]/home/runner/work/TUnit/TUnit/TUnit.TestProject/Bugs/_2804/CriticalHookChainExecutionTests.cs(256,30): warning TUnit0042: Global hooks should not be mixed with test classes to avoid confusion. Place them in their own class. [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net472]\n2025-08-15T21:24:14.1339584Z ##[error]/home/runner/work/TUnit/TUnit/TUnit.TestProject/FirstEventTrackerTest.cs(21,26): error CS0117: 'ValueTask' does not contain a definition for 'CompletedTask' [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net472]\n2025-08-15T21:24:14.1342275Z ##[error]/home/runner/work/TUnit/TUnit/TUnit.TestProject/FirstEventTrackerTest.cs(32,26): error CS0117: 'ValueTask' does not contain a definition for 'CompletedTask' [/home/runner/work/TUnit/TUnit/TUnit.TestProject/TUnit.TestProject.csproj::TargetFramework=net472]\n2025-08-15T21:24:14.1343597Z 889 Warning(s)\n2025-08-15T21:24:14.1343785Z 2 Error(s)\n2025-08-15T21:24:14.1343897Z \n2025-08-15T21:24:14.1344001Z Time Elapsed 00:02:55.72\n2025-08-15T21:24:14.1347019Z ##[error]Process completed with exit code 1.\n2025-08-15T21:24:14.1425391Z ##[group]Run actions/upload-artifact@v4.6.2\n2025-08-15T21:24:14.1425713Z with:"