Skip to content

Create GenerateCommitMessageServiceTests.cs #451

Create GenerateCommitMessageServiceTests.cs

Create GenerateCommitMessageServiceTests.cs #451

Triggered via push December 12, 2024 15:05
Status Failure
Total duration 25s
Artifacts

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Build: 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?)
Build: Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L82
'ChatCompletion' does not contain a constructor that takes 0 arguments
Build: Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L84
Property or indexer 'ChatCompletion.Content' cannot be assigned to -- it is read only
Build: Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L84
'ChatMessage' does not contain a constructor that takes 0 arguments
Build: Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L84
'ChatMessage' does not contain a definition for 'Text'
Build: 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?)
Build: Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L111
'ChatCompletion' does not contain a constructor that takes 0 arguments
Build: Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L113
Property or indexer 'ChatCompletion.Content' cannot be assigned to -- it is read only
Build: Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L113
'ChatMessage' does not contain a constructor that takes 0 arguments
Build: Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L113
'ChatMessage' does not contain a definition for 'Text'
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build: Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L137
Dereference of a possibly null reference.
Build: Tests/AiCommitMessage.Tests/Services/GenerateCommitMessageServiceTests.cs#L137
Dereference of a possibly null reference.