Skip to content

feat: add new transaction handler #142

feat: add new transaction handler

feat: add new transaction handler #142

Triggered via pull request July 24, 2024 07:14
Status Failure
Total duration 6m 1s
Artifacts

elixir.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 54 warnings
Run tests: test/integration/proxy_test.exs#L203
test limit client connections (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L255
test invalid characters in user or db_name (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L70
test insert (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L77
test query via another node (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L127
test select (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L34
test prepared statement (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L182
test checks that client_handler is idle and db_pid is nil for transaction mode (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L151
test delete (Supavisor.Integration.ProxyTest)
Run tests: test/integration/proxy_test.exs#L134
test update (Supavisor.Integration.ProxyTest)
Run tests
Process completed with exit code 2.
Code style: test/supavisor_web/controllers/metrics_controller_test.exs#L16
Nested modules could be aliased at the top of the invoking module.
Code style: test/supavisor/syn_handler_test.exs#L10
Nested modules could be aliased at the top of the invoking module.
Code style: test/integration/proxy_test.exs#L78
Nested modules could be aliased at the top of the invoking module.
Code style: test/support/fixtures/single_connection.ex#L1
Modules should have a @moduledoc tag.
Code style: lib/supavisor/protocol/client.ex#L1
Modules should have a @moduledoc tag.
Code style: lib/supavisor/tenants/cluster_tenants.ex#L1
Modules should have a @moduledoc tag.
Code style: lib/supavisor/tenants/cluster.ex#L1
Modules should have a @moduledoc tag.
Code style: lib/supavisor/protocol/client.ex#L6
Modules should have a @moduledoc tag.
Code style: lib/supavisor/pg_parser.ex#L1
Modules should have a @moduledoc tag.
Code style: lib/supavisor/monitoring/tenant.ex#L29
Modules should have a @moduledoc tag.
Code style
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Code style
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Code style
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Code style
Mix.Config.eval!/2 is deprecated. Use Config.Reader.read_imports!/2 instead
Code style
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Code style
Mix.Config.persist/1 is deprecated. Use Application.put_all_env/2 instead
Code style
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter.Behaviour.Schema)
Code style
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter)
Dialyze
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Dialyze
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Dialyze
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Dialyze
Mix.Config.eval!/2 is deprecated. Use Config.Reader.read_imports!/2 instead
Dialyze
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Dialyze
Mix.Config.persist/1 is deprecated. Use Application.put_all_env/2 instead
Dialyze
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter.Behaviour.Schema)
Dialyze
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter)
Dialyze: lib/supavisor/application.ex#L9
unused alias ClientHandler
Dialyze: lib/supavisor/application.ex#L11
unused alias TransactionHandler
Dialyze: lib/supavisor/db_handler.ex#L38
variable "caller" is unused (if the variable is not meant to be used, prefix it with an underscore)
Dialyze: lib/supavisor/db_handler.ex#L452
variable "state" is unused (if the variable is not meant to be used, prefix it with an underscore)
Dialyze: lib/supavisor/handlers/proxy/client.ex#L412
variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)
Dialyze: lib/supavisor/handlers/proxy/client.ex#L688
function db_pid_meta/1 is unused
Dialyze: lib/supavisor/helpers.ex#L359
variable "level" is unused (if the variable is not meant to be used, prefix it with an underscore)
Dialyze: lib/supavisor/handlers/proxy/client.ex#L22
module attribute @sock_closed was set but never used
Dialyze: lib/supavisor/handlers/proxy/client.ex#L12
unused alias Client
Dialyze: lib/supavisor/handlers/proxy/client.ex#L7
unused alias Db
Run tests
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Run tests
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Run tests
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Run tests
Mix.Config.eval!/2 is deprecated. Use Config.Reader.read_imports!/2 instead
Run tests
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Run tests
Mix.Config.persist/1 is deprecated. Use Application.put_all_env/2 instead
Run tests
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter.Behaviour.Schema)
Run tests
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter)
Run tests: lib/supavisor/application.ex#L9
unused alias ClientHandler
Run tests: lib/supavisor/application.ex#L11
unused alias TransactionHandler
Run tests: lib/supavisor/db_handler.ex#L38
variable "caller" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run tests: lib/supavisor/db_handler.ex#L452
variable "state" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run tests: lib/supavisor/handlers/proxy/client.ex#L412
variable "data" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run tests: lib/supavisor/handlers/proxy/client.ex#L688
function db_pid_meta/1 is unused
Run tests: lib/supavisor/helpers.ex#L359
variable "level" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run tests: lib/supavisor/handlers/proxy/client.ex#L22
module attribute @sock_closed was set but never used
Run tests: lib/supavisor/handlers/proxy/client.ex#L12
unused alias Client
Run tests: lib/supavisor/handlers/proxy/client.ex#L7
unused alias Db