Skip to content

refactor(api): connect and create store instance on same function #17281

refactor(api): connect and create store instance on same function

refactor(api): connect and create store instance on same function #17281

Triggered via pull request February 11, 2025 14:46
Status Failure
Total duration 4m 17s
Artifacts

qa.yml

on: pull_request
Matrix: validate
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 6 warnings
validate (cli)
cannot use db (variable of type *"go.mongodb.org/mongo-driver/mongo".Database) as string value in argument to mongo.NewStore (typecheck)
validate (cli)
issues found
validate (api)
cannot use db (variable of type *"go.mongodb.org/mongo-driver/mongo".Database) as string value in argument to mongo.NewStore (typecheck)
validate (api)
issues found
validate (tests)
cannot use db (variable of type *"go.mongodb.org/mongo-driver/mongo".Database) as string value in argument to mongo.NewStore
validate (tests)
cannot use db (variable of type *"go.mongodb.org/mongo-driver/mongo".Database) as string value in argument to mongo.NewStore
validate (tests)
Process completed with exit code 1.
validate (agent)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
validate (ssh)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
validate (cli)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
validate (api)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
validate (pkg)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
validate (tests)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum