Skip to content

feat: 支持账号等级号池与 API Key 多分组路由 #2

feat: 支持账号等级号池与 API Key 多分组路由

feat: 支持账号等级号池与 API Key 多分组路由 #2

Triggered via push May 5, 2026 03:47
Status Failure
Total duration 3m 28s
Artifacts

backend-ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
golangci-lint
issues found
golangci-lint: backend/internal/repository/api_key_repo.go#L476
SA4006: this value of client is never used (staticcheck)
golangci-lint: backend/internal/repository/account_share_policy_repo.go#L222
Error return value of `(*strings.Builder).WriteString` is not checked (errcheck)
golangci-lint: backend/internal/repository/account_share_policy_repo.go#L221
Error return value of `(*strings.Builder).WriteString` is not checked (errcheck)
test
Process completed with exit code 2.
test
cannot use (*stubUsageLogRepo)(nil) (value of type *stubUsageLogRepo) as service.UsageLogRepository value in variable declaration: *stubUsageLogRepo does not implement service.UsageLogRepository (missing method GetUserAccountSharingDashboard)
test
cannot use usageRepo (variable of type *stubUsageLogRepo) as service.UsageLogRepository value in argument to service.NewUsageService: *stubUsageLogRepo does not implement service.UsageLogRepository (missing method GetUserAccountSharingDashboard)
frontend
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/