Skip to content

fix(gateway): 透传 x-opencode-session 修复 OpenCode 400 并收紧模型目录校验,发布 1.2.63 #123

fix(gateway): 透传 x-opencode-session 修复 OpenCode 400 并收紧模型目录校验,发布 1.2.63

fix(gateway): 透传 x-opencode-session 修复 OpenCode 400 并收紧模型目录校验,发布 1.2.63 #123

Triggered via push September 7, 2026 19:12
Status Failure
Total duration 7m 12s
Artifacts

backend-ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
golangci-lint: backend/internal/service/content_moderation_input_memory_test.go#L122
Error return value of `(*strings.Builder).WriteByte` is not checked (errcheck)
golangci-lint: backend/internal/service/content_moderation_input_memory_test.go#L119
Error return value of `(*strings.Builder).WriteString` is not checked (errcheck)
golangci-lint: backend/internal/service/account_share_mode_test.go#L1930
Error return value of `(*github.com/Wei-Shaw/sub2api/internal/service.AccountShareModeService).processRoomLifecycleFinalizationOnce` is not checked (errcheck)
golangci-lint: backend/internal/service/account_share_mode.go#L1594
Error return value of `(*github.com/Wei-Shaw/sub2api/internal/service.AccountShareModeService).processRoomLifecycleFinalizationOnce` is not checked (errcheck)
golangci-lint: backend/internal/service/account_share_mode.go#L1590
Error return value of `(*github.com/Wei-Shaw/sub2api/internal/service.AccountShareModeService).processRoomLifecycleFinalizationOnce` is not checked (errcheck)
golangci-lint: backend/internal/handler/openai_responses_body_budget_test.go#L211
Error return value of `(net.Conn).Close` is not checked (errcheck)
golangci-lint: backend/internal/handler/openai_responses_body_budget_test.go#L81
Error return value of `(net.Conn).Close` is not checked (errcheck)
golangci-lint: backend/internal/service/openai_ws_state_store.go#L15
import 'github.com/redis/go-redis/v9' is not allowed from list 'service-no-repository': service must not import redis (depguard)
golangci-lint: backend/internal/service/openai_sticky_compat.go#L15
import 'github.com/redis/go-redis/v9' is not allowed from list 'service-no-repository': service must not import redis (depguard)
golangci-lint: backend/internal/service/openai_http_continuation.go#L15
import 'github.com/redis/go-redis/v9' is not allowed from list 'service-no-repository': service must not import redis (depguard)
test
Process completed with exit code 2.
docs
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
frontend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/