Skip to content

Fix unit tests: pass CancellationToken.None to async methods #2

Fix unit tests: pass CancellationToken.None to async methods

Fix unit tests: pass CancellationToken.None to async methods #2

Triggered via push November 21, 2025 04:25
Status Failure
Total duration 2m 25s
Artifacts

release.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
build
Process completed with exit code 1.
build
Applications published to a single-file are required to use the application host. You must either set PublishSingleFile to false or set UseAppHost to true.
build: Services/FileSearchService.cs#L16
Non-nullable event 'OnProgressUpdate' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable.
build: Services/FileSearchService.cs#L15
Non-nullable event 'OnStatusUpdate' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the event as nullable.
build: Forms/MainForm.cs#L267
Dereference of a possibly null reference.
build: Forms/MainForm.cs#L260
Dereference of a possibly null reference.
build: Forms/MainForm.cs#L252
Converting null literal or possible null value to non-nullable type.
build: Forms/MainForm.cs#L204
Possible null reference argument for parameter 'item' in 'void List<SearchResult>.Add(SearchResult item)'.
build: Forms/MainForm.cs#L204
Converting null literal or possible null value to non-nullable type.
build: Models/SearchResult.cs#L9
Non-nullable property 'LineContent' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: Models/SearchResult.cs#L7
Non-nullable property 'FilePath' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.