Skip to content

fix: resolve BalanceSyncWorker failing to discover active tenants in multi-tenant mode #3103

fix: resolve BalanceSyncWorker failing to discover active tenants in multi-tenant mode

fix: resolve BalanceSyncWorker failing to discover active tenants in multi-tenant mode #3103

Triggered via pull request March 19, 2026 21:22
Status Success
Total duration 2m 18s
Artifacts 4

go-combined-analysis.yml

on: pull_request
Go Analysis  /  Detect Changes
13s
Go Analysis / Detect Changes
Matrix: Go Analysis / tests
Matrix: Go Analysis / build
Matrix: Go Analysis / lint
Matrix: Go Analysis / security
Go Analysis  /  No Go Changes
0s
Go Analysis / No Go Changes
Matrix: Go Analysis / coverage
Go Analysis  /  ...  /  Send Notification
7s
Go Analysis / Notify / Send Notification
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Go Analysis / Lint (midaz-transaction): components/transaction/internal/adapters/http/in/transaction-creation-helpers.go#L736
SA1019: ft.Route is deprecated: passive field kept for backward compatibility. Accepted from client and persisted, but not used in any validation or business logic. Use routeId instead. (staticcheck)
Go Analysis / Lint (midaz-transaction): components/transaction/internal/adapters/http/in/transaction-creation-helpers.go#L613
SA1019: ft.Route is deprecated: passive field kept for backward compatibility. Accepted from client and persisted, but not used in any validation or business logic. Use routeId instead. (staticcheck)
Go Analysis / Lint (midaz-transaction): components/transaction/internal/adapters/http/in/transaction-creation-helpers.go#L561
SA1019: ft.Route is deprecated: passive field kept for backward compatibility. Accepted from client and persisted, but not used in any validation or business logic. Use routeId instead. (staticcheck)
Go Analysis / Lint (midaz-transaction): components/transaction/internal/adapters/http/in/transaction-creation-helpers.go#L478
SA1019: ft.Route is deprecated: passive field kept for backward compatibility. Accepted from client and persisted, but not used in any validation or business logic. Use routeId instead. (staticcheck)
Go Analysis / Lint (midaz-transaction): components/transaction/internal/adapters/http/in/transaction-creation-helpers.go#L426
SA1019: ft.Route is deprecated: passive field kept for backward compatibility. Accepted from client and persisted, but not used in any validation or business logic. Use routeId instead. (staticcheck)
Go Analysis / Lint (midaz-transaction): components/transaction/internal/services/query/validate-accounting-routes.go#L32
cyclomatic complexity 24 of func `(*UseCase).ValidateAccountingRules` is high (> 18) (gocyclo)
Go Analysis / Lint (midaz-transaction): components/transaction/internal/bootstrap/redis.consumer.go#L246
cyclomatic complexity 20 of func `(*RedisQueueConsumer).processMessage` is high (> 18) (gocyclo)
Go Analysis / Lint (midaz-transaction): components/transaction/internal/bootstrap/config.go#L384
cyclomatic complexity 19 of func `InitServersWithOptions` is high (> 18) (gocyclo)
Go Analysis / Lint (midaz-transaction): components/transaction/internal/services/command/sync-balances-batch.go#L45
cognitive complexity 36 of func `(*UseCase).SyncBalancesBatch` is high (> 30) (gocognit)
Go Analysis / Lint (midaz-transaction): components/transaction/internal/adapters/http/in/transaction-creation-helpers.go#L148
cognitive complexity 35 of func `(*TransactionHandler).BuildOperations` is high (> 30) (gocognit)

Artifacts

Produced during runtime
Name Size Digest
coverage-midaz-ledger Expired
1001 Bytes
sha256:633cbb35725033e8b50ab6954f66769f76b1665c8ba4ea32426d53466f546d0a
coverage-midaz-transaction Expired
16.5 KB
sha256:df842cf46afa7ed9b5a8ade7e0590efe943b640c3b6ed30aba03dd9137f90e4d
coverage-report-midaz-ledger Expired
5.85 KB
sha256:4b3463bfcbf608532e153ff53ba21e0dde7b026696bcc8c6861458eae702c09a
coverage-report-midaz-transaction Expired
98.3 KB
sha256:3d768e0d74c77f14775b938074b8c62ad5b4630a65e7cd25774685b47e577036