Skip to content

test: check network usage reporting #465

test: check network usage reporting

test: check network usage reporting #465

Triggered via pull request December 29, 2024 13:23
Status Failure
Total duration 12m 33s
Artifacts

elixir.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 48 warnings
Run tests: test/supavisor/client_handler/stats_test.exs#L50
test client network usage increase on query (Supavisor.ClientHandler.StatsTest)
Run tests: test/supavisor/client_handler/stats_test.exs#L73
test client network usage do not not increase if other tenant is used (Supavisor.ClientHandler.StatsTest)
Run tests
Process completed with exit code 2.
Code style: lib/supavisor/helpers.ex#L374
Line is too long (max is 120, was 220).
Code style: lib/supavisor/protocol/server.ex#L477
Do not use parentheses when defining a function which has no arguments.
Code style: lib/supavisor/db_handler.ex#L316
Avoid negated conditions in if-else blocks.
Code style: lib/supavisor/db_handler.ex#L302
Avoid negated conditions in if-else blocks.
Code style: lib/supavisor/client_handler.ex#L577
Avoid negated conditions in if-else blocks.
Code style: lib/supavisor/client_handler.ex#L339
Function body is nested too deep (max depth is 2, was 4).
Code style: lib/supavisor/db_handler.ex#L316
Function body is nested too deep (max depth is 2, was 3).
Code style: lib/supavisor/db_handler.ex#L129
Function body is nested too deep (max depth is 2, was 3).
Code style: lib/supavisor/client_handler.ex#L280
Function body is nested too deep (max depth is 2, was 3).
Code style: lib/supavisor.ex#L298
Function body is nested too deep (max depth is 2, was 3).
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)
Run integration tests: test/supavisor/client_handler/stats_test.exs#L89
variable "other_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run integration tests: test/supavisor/client_handler/stats_test.exs#L98
variable "ctx" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run integration tests: test/supavisor/client_handler/stats_test.exs#L4
module attribute @subject was set but never used
Run integration tests
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Run integration tests
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Run integration tests
System.stacktrace/0 is deprecated. Use __STACKTRACE__ instead
Run integration tests
Mix.Config.eval!/2 is deprecated. Use Config.Reader.read_imports!/2 instead
Run integration tests
Mix.Config.merge/2 is deprecated. Use Config.Reader.merge/2 instead
Run integration tests
Mix.Config.persist/1 is deprecated. Use Application.put_all_env/2 instead
Run integration tests
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter.Behaviour.Schema)
Run integration tests
function delete/5 required by behaviour Ecto.Adapter.Schema is not implemented (in module Etso.Adapter)
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: test/supavisor/client_handler/stats_test.exs#L89
variable "other_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run tests: test/supavisor/client_handler/stats_test.exs#L98
variable "ctx" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run tests: test/supavisor/client_handler/stats_test.exs#L4
module attribute @subject was set but never used