Skip to content

refactor(user-find): move manipulation of user object into user_json … #1128

refactor(user-find): move manipulation of user object into user_json …

refactor(user-find): move manipulation of user object into user_json … #1128

Triggered via push November 14, 2024 21:26
Status Failure
Total duration 2m 54s
Artifacts

main.yml

on: push
dependencies
11s
dependencies
static_code_analysis
20s
static_code_analysis
Run tests
2m 26s
Run tests
build-and-push-image
0s
build-and-push-image
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 13 warnings
static_code_analysis
Process completed with exit code 10.
Run tests: test/epochtalk_server_web/controllers/notification_test.exs#L150
test dismiss/2 when authenticated as notification receiver, after dismiss by mention id, returns updated mentions count (Test.EpochtalkServerWeb.Controllers.Notification)
Run tests
Process completed with exit code 2.
dependencies
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
static_code_analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
static_code_analysis
using map.field notation (without parentheses) to invoke function Credo.Check.Consistency.ExceptionNames.category() is deprecated, you must add parentheses instead: remote.function()
static_code_analysis: lib/epochtalk_server_web/json/user_json.ex#L19
Function is too complex (cyclomatic complexity is 11, max is 9).
Run tests
The following actions use a deprecated Node.js version and will be forced to run on node20: styfle/[email protected], actions/[email protected], actions/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Run tests
62..@dynamic_table_start + length - 1 inside guards requires an explicit step, please write 62..@dynamic_table_start + length - 1//1 or 62..@dynamic_table_start + length - 1//-1 instead
Run tests
the Behaviour module is deprecated. Instead of using this module, use the @callback and @macrocallback module attributes. See the documentation for Module for more information on these attributes
Run tests
5..1 has a default step of -1, please write 5..1//-1 instead
Run tests
~R/.../ is deprecated, use ~r/.../ instead
Run tests
first..last inside match is deprecated, you must always match on the step: first..last//var or first..last//_ if you want to ignore it
Run tests: lib/epochtalk_server/models/mention.ex#L168
2..-1 has a default step of -1, please write 2..-1//-1 instead
Run tests: lib/epochtalk_server/models/image_reference.ex#L1
invalid association `posts` in schema EpochtalkServer.Models.ImageReference: :join_through schema PostImageReference does not exist
Run tests: lib/epochtalk_server/models/image_reference.ex#L1
invalid association `profiles` in schema EpochtalkServer.Models.ImageReference: :join_through schema ProfileImageReference does not exist