Skip to content

Remove unnecessary trips to the DB #1587

Remove unnecessary trips to the DB

Remove unnecessary trips to the DB #1587

Triggered via pull request September 20, 2024 14:31
Status Failure
Total duration 3m 33s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 17 warnings
Run CI: test/cadet_web/admin_controllers/admin_assessments_controller_test.exs#L59
test GET /:course_reg_id, staff only renders assessments overview of student by staff (CadetWeb.AdminAssessmentsControllerTest)
Run CI: test/cadet_web/admin_controllers/admin_assessments_controller_test.exs#L110
test GET /:course_reg_id, staff only renders assessments overview of admin by staff (CadetWeb.AdminAssessmentsControllerTest)
Run CI
Process completed with exit code 2.
Run CI: lib/cadet/assessments/assessments.ex#L944
variable "team" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: lib/cadet/assessments/assessments.ex#L2683
variable "cr_id" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: priv/repo/migrations/20210531155751_multitenant_upgrade.exs#L201
variable "configs" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI
:included_environments option is deprecated. Use :dsn to control whether to send events to Sentry.
Run CI
CadetWeb.Endpoint.init/2 is deprecated, use config/runtime.exs instead or pass additional options when starting the endpoint in your supervision tree
Run CI: priv/repo/seeds.exs#L87
variable "i" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: priv/repo/seeds.exs#L121
variable "i" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI
:included_environments option is deprecated. Use :dsn to control whether to send events to Sentry.
Run CI
CadetWeb.Endpoint.init/2 is deprecated, use config/runtime.exs instead or pass additional options when starting the endpoint in your supervision tree
Run CI: test/cadet_web/plug/rate_limiter_test.exs#L25
variable "key" is unused (if the variable is not meant to be used, prefix it with an underscore)
Run CI: test/cadet_web/plug/rate_limiter_test.exs#L3
unused import Plug.Conn
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.
Run CI
attempting to determine the presence of embed_many field :choices with validate_required/3 or field_missing?/2 which has no effect. You can pass the :required option to Ecto.Changeset.cast_embed/3 to achieve this.