Skip to content

chore: make each package its own go module #1

chore: make each package its own go module

chore: make each package its own go module #1

Triggered via pull request September 2, 2025 20:57
Status Failure
Total duration 2m 29s
Artifacts

openai.yml

on: pull_request
Matrix: build
Matrix: lint / lint
dependabot
0s
dependabot
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 2 warnings, and 4 notices
lint / lint (ubuntu-latest): providers/openai/openai.go#L1109
`if ok` has complex nested blocks (complexity: 6) (nestif)
lint / lint (ubuntu-latest): providers/openai/openai.go#L694
`if err == nil || errors.Is(err, io.EOF)` has complex nested blocks (complexity: 11) (nestif)
lint / lint (ubuntu-latest): providers/openai/openai.go#L572
`if ok` has complex nested blocks (complexity: 25) (nestif)
lint / lint (ubuntu-latest): providers/openai/openai.go#L516
`if chunk.Usage.TotalTokens > 0` has complex nested blocks (complexity: 5) (nestif)
lint / lint (ubuntu-latest): providers/openai/openai.go#L254
`if isReasoningModel(o.modelID)` has complex nested blocks (complexity: 10) (nestif)
lint / lint (ubuntu-latest): providers/openai/openai.go#L427
string `url_citation` has 4 occurrences, make it a constant (goconst)
lint / lint (ubuntu-latest): providers/openai/openai.go#L1069
missing cases in switch of type ai.ToolResultContentType: ai.ToolResultContentTypeMedia (exhaustive)
lint / lint (ubuntu-latest): providers/openai/openai.go#L1012
missing cases in switch of type ai.ContentType: ai.ContentTypeReasoning, ai.ContentTypeFile, ai.ContentTypeSource, ai.ContentTypeToolResult (exhaustive)
lint / lint (ubuntu-latest): providers/openai/openai.go#L889
missing cases in switch of type ai.ContentType: ai.ContentTypeReasoning, ai.ContentTypeSource, ai.ContentTypeToolCall, ai.ContentTypeToolResult (exhaustive)
lint / lint (ubuntu-latest): providers/openai/openai.go#L811
missing cases in switch of type ai.ToolChoice: ai.ToolChoiceRequired (exhaustive)
lint / lint (macos-latest)
The operation was canceled.
lint / lint (macos-latest)
The strategy configuration was canceled because "lint.lint.ubuntu-latest" failed
lint / lint (windows-latest)
The operation was canceled.
lint / lint (windows-latest)
The strategy configuration was canceled because "lint.lint.ubuntu-latest" failed
lint / lint (ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/ai/ai. Supported file pattern: go.sum
lint / lint (windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\ai\ai. Supported file pattern: go.sum
lint / lint (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
lint / lint (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677
build (macos-latest)
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
build (windows-latest)
The windows-latest label will migrate from Windows Server 2022 to Windows Server 2025 beginning September 2, 2025. For more information see https://github.com/actions/runner-images/issues/12677