Skip to content

WIP: openai support custom assistant/GPT #1155

WIP: openai support custom assistant/GPT

WIP: openai support custom assistant/GPT #1155

Triggered via pull request January 12, 2024 13:45
Status Failure
Total duration 3m 27s
Artifacts

test.yaml

on: pull_request
Matrix: Run tests
Fit to window
Zoom out
Zoom in

Annotations

18 errors and 25 warnings
Run tests (1.20.x, ubuntu-latest)
Process completed with exit code 2.
Run tests (1.21.x, ubuntu-latest)
Process completed with exit code 2.
Lint: command/openai/assistant.go#L86
Error return value of `storage.Read` is not checked (errcheck)
Lint: command/openai/assistant.go#L94
Error return value of `storage.Write` is not checked (errcheck)
Lint: command/openai/assistant.go#L99
Error return value is not checked (errcheck)
Lint: command/openai/assistant.go#L140
Error return value of `c.sendImageInSlack` is not checked (errcheck)
Lint: command/openai/assistant.go#L145
Error return value is not checked (errcheck)
Lint: command/openai/assistant.go#L271
Error return value of `json.Unmarshal` is not checked (errcheck)
Lint: command/openai/command.go#L158
Error return value of `storage.Read` is not checked (errcheck)
Lint: command/openai/assistant.go#L229
commentFormatting: put a space between `//` and comment text (gocritic)
Lint: command/openai/assistant.go#L5
File is not `gofumpt`-ed (gofumpt)
Lint: command/openai/assistant.go#L9
File is not `gofumpt`-ed (gofumpt)
Run tests (1.21.x, macos-latest)
Process completed with exit code 2.
Run race+coverage tests
Process completed with exit code 2.
Run tests (1.20.x, macos-latest)
Process completed with exit code 2.
Run tests (1.21.x, ubuntu-latest)
Process completed with exit code 2.
Run tests (1.21.x, windows-latest)
Process completed with exit code 1.
Run tests (1.20.x, windows-latest)
Process completed with exit code 1.
Run tests (1.20.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.21.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Lint: command/openai/command.go#L157
var-naming: var threadId should be threadID (revive)
Lint: command/openai/assistant.go#L16
var-naming: struct field Id should be ID (revive)
Lint: command/openai/assistant.go#L19
var-naming: struct field AssistantId should be AssistantID (revive)
Lint: command/openai/assistant.go#L23
var-naming: struct field Id should be ID (revive)
Lint: command/openai/assistant.go#L25
var-naming: struct field ThreadId should be ThreadID (revive)
Lint: command/openai/assistant.go#L33
var-naming: struct field Id should be ID (revive)
Lint: command/openai/assistant.go#L62
var-naming: struct field RunId should be RunID (revive)
Lint: command/openai/assistant.go#L70
var-naming: struct field ToolCallId should be ToolCallID (revive)
Lint: command/openai/assistant.go#L84
var-naming: var threadId should be threadID (revive)
Lint: command/openai/assistant.go#L191
var-naming: func parameter threadId should be threadID (revive)
Run tests (1.21.x, macos-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run race+coverage tests
Restore cache failed: Dependencies file is not found in /home/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, macos-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, macos-latest)
Restore cache failed: Dependencies file is not found in /Users/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.21.x, ubuntu-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/slack-bot/slack-bot. Supported file pattern: go.sum
Run tests (1.21.x, windows-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.21.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\slack-bot\slack-bot. Supported file pattern: go.sum
Run tests (1.20.x, windows-latest)
Unexpected input(s) 'stable', valid inputs are ['go-version', 'go-version-file', 'check-latest', 'token', 'cache', 'cache-dependency-path', 'architecture']
Run tests (1.20.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\slack-bot\slack-bot. Supported file pattern: go.sum