Skip to content

Refactor leaderboard #1963

Refactor leaderboard

Refactor leaderboard #1963

Triggered via pull request August 7, 2025 10:30
Status Failure
Total duration 2m 53s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 17 warnings
Run CI
Process completed with exit code 2.
Run CI: test/cadet_web/controllers/assessments_controller_test.exs#L1804
test GET /:assessment_id/popularVoteLeaderboard, unauthenticated unauthorized (CadetWeb.AssessmentsControllerTest)
Run CI: test/cadet_web/controllers/assessments_controller_test.exs#L1819
test GET /:assessment_id/scoreLeaderboard, unauthenticated unauthorized (CadetWeb.AssessmentsControllerTest)
Run CI: test/cadet_web/controllers/assessments_controller_test.exs#L1835
test GET /:assessment_id/popularVoteLeaderboard successful (CadetWeb.AssessmentsControllerTest)
Run CI: test/cadet_web/controllers/assessments_controller_test.exs#L1899
test GET /:assessment_id/scoreLeaderboard successful (CadetWeb.AssessmentsControllerTest)
Run CI: test/cadet/assessments/assessments_test.exs#L2841
test submissions_by_grader_for_index function sorting by assessment title ascending (Cadet.AssessmentsTest)
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: test/cadet/assessments/assessments_test.exs#L3194
50..1 has a default step of -1, please write 50..1//-1 instead
Run CI: test/cadet/assessments/assessments_test.exs#L3183
50..1 has a default step of -1, please write 50..1//-1 instead
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
using map.field notation (without parentheses) to invoke function Que.Persistence.Mnesia.DB.Jobs.__info__() is deprecated, you must add parentheses instead: remote.function()
Run CI
using map.field notation (without parentheses) to invoke function Que.Persistence.Mnesia.DB.Jobs.__info__() is deprecated, you must add parentheses instead: remote.function()
Run CI
:included_environments option is deprecated. Use :dsn to control whether to send events to Sentry.
Run CI
router paths should begin with a forward slash, got: ""
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
using map.field notation (without parentheses) to invoke function Que.Persistence.Mnesia.DB.Jobs.__info__() is deprecated, you must add parentheses instead: remote.function()
Run CI
using map.field notation (without parentheses) to invoke function Que.Persistence.Mnesia.DB.Jobs.__info__() is deprecated, you must add parentheses instead: remote.function()
Run CI
:included_environments option is deprecated. Use :dsn to control whether to send events to Sentry.
Run CI
router paths should begin with a forward slash, got: ""
Run CI: lib/cadet_web/router.ex#L235
Found a TODO tag in a comment: # TODO: Missing Swagger path
Run CI: test/support/xml_generator.ex#L13
Found a TODO tag in a comment: # TODO: refactor in smaller functions