Skip to content

Potential fix for code scanning alert no. 18: Workflow does not conta… #6

Potential fix for code scanning alert no. 18: Workflow does not conta…

Potential fix for code scanning alert no. 18: Workflow does not conta… #6

Triggered via push August 17, 2025 22:53
Status Failure
Total duration 37s
Artifacts
Build-Test-Publish
33s
Build-Test-Publish
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Build-Test-Publish
Process completed with exit code 1.
Build-Test-Publish: src/SourceFlow.ConsoleApp/Impl/InMemoryRepository.cs#L27
Converting null literal or possible null value to non-nullable type.
Build-Test-Publish: src/SourceFlow.ConsoleApp/Projections/AccountView.cs#L27
Cannot convert null literal to non-nullable reference type.
Build-Test-Publish: src/SourceFlow.ConsoleApp/Impl/InMemoryViewProvider.cs#L27
Possible null reference argument for parameter 'result' in 'Task<TViewModel> Task.FromResult<TViewModel>(TViewModel result)'.
Build-Test-Publish: src/SourceFlow.ConsoleApp/Impl/InMemoryViewProvider.cs#L27
Converting null literal or possible null value to non-nullable type.
Build-Test-Publish: src/SourceFlow.ConsoleApp/Commands/Payload.cs#L16
Non-nullable property 'AccountName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build-Test-Publish: src/SourceFlow.ConsoleApp/Projections/AccountViewModel.cs#L14
Non-nullable property 'ClosureReason' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build-Test-Publish: src/SourceFlow.ConsoleApp/Aggregates/BankAccount.cs#L12
Non-nullable property 'ClosureReason' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Build-Test-Publish: src/SourceFlow/Impl/EventQueue.cs#L40
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Build-Test-Publish: src/SourceFlow/Impl/EventQueue.cs#L40
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Build-Test-Publish: src/SourceFlow/Impl/EventQueue.cs#L40
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.