GitAuto: [FEATURE] Preserve original message for merge conflict resolutions +semver: minor #23
sonar-cloud.yml
on: pull_request
SonarCloud Analysis
32s
Annotations
10 errors and 11 warnings
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L80
The type or namespace name 'ChatCompletionResult' could not be found (are you missing a using directive or an assembly reference?)
|
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L82
'ChatCompletion' does not contain a constructor that takes 0 arguments
|
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L84
Property or indexer 'ChatCompletion.Content' cannot be assigned to -- it is read only
|
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L84
'ChatMessage' does not contain a constructor that takes 0 arguments
|
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L84
'ChatMessage' does not contain a definition for 'Text'
|
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L109
The type or namespace name 'ChatCompletionResult' could not be found (are you missing a using directive or an assembly reference?)
|
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L111
'ChatCompletion' does not contain a constructor that takes 0 arguments
|
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L113
Property or indexer 'ChatCompletion.Content' cannot be assigned to -- it is read only
|
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L113
'ChatMessage' does not contain a constructor that takes 0 arguments
|
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L113
'ChatMessage' does not contain a definition for 'Text'
|
SonarCloud Analysis
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
SonarCloud Analysis:
Src/AiCommitMessage/Services/GenerateCommitMessageService.cs#L20
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
|
SonarCloud Analysis:
Src/AiCommitMessage/Services/GenerateCommitMessageService.cs#L149
Make sure the "PATH" used to find this command includes only what you intend. (https://rules.sonarsource.com/csharp/RSPEC-4036)
|
SonarCloud Analysis:
Src/AiCommitMessage/Services/GenerateCommitMessageService.cs#L47
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
SonarCloud Analysis:
Src/AiCommitMessage/Services/GenerateCommitMessageService.cs#L20
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
|
SonarCloud Analysis:
Src/AiCommitMessage/Services/GenerateCommitMessageService.cs#L149
Make sure the "PATH" used to find this command includes only what you intend. (https://rules.sonarsource.com/csharp/RSPEC-4036)
|
SonarCloud Analysis:
Src/AiCommitMessage/Services/GenerateCommitMessageService.cs#L47
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
SonarCloud Analysis:
Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L137
Dereference of a possibly null reference.
|
SonarCloud Analysis:
Src/AiCommitMessage/Services/GenerateCommitMessageService.cs#L20
Pass a timeout to limit the execution time. (https://rules.sonarsource.com/csharp/RSPEC-6444)
|
SonarCloud Analysis:
Src/AiCommitMessage/Services/GenerateCommitMessageService.cs#L149
Make sure the "PATH" used to find this command includes only what you intend. (https://rules.sonarsource.com/csharp/RSPEC-4036)
|
SonarCloud Analysis:
Src/AiCommitMessage/Services/GenerateCommitMessageService.cs#L47
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|