Skip to content

fix: Restrict seed file to handle test and dev environments #665

fix: Restrict seed file to handle test and dev environments

fix: Restrict seed file to handle test and dev environments #665

Triggered via pull request November 14, 2023 16:55
Status Failure
Total duration 25m 7s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

staging_linter.yml

on: pull_request
Formatting Checks
7m 32s
Formatting Checks
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 23 warnings
Formatting Checks: test/integration/rt_channel_test.exs#L186
test broadcast (Realtime.Integration.RtChannelTest)
Formatting Checks
Process completed with exit code 2.
Formatting Checks
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Formatting Checks
use Bitwise is deprecated. import Bitwise instead
Formatting Checks
Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
Formatting Checks
Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
Formatting Checks
unused import Bitwise
Formatting Checks
use Bitwise is deprecated. import Bitwise instead
Formatting Checks: lib/extensions/postgres/adapters/postgres/decoder/decoder.ex#L134
redefining module Realtime.Adapters.Postgres.Decoder.Messages.Relation.Column (current version loaded from _build/dev/lib/realtime/ebin/Elixir.Realtime.Adapters.Postgres.Decoder.Messages.Relation.Column.beam)
Formatting Checks
use Bitwise is deprecated. import Bitwise instead
Formatting Checks
Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
Formatting Checks
Application.get_env/3 is discouraged in the module body, use Application.compile_env/3 instead
Formatting Checks
unused import Bitwise
Formatting Checks
use Bitwise is deprecated. import Bitwise instead
Formatting Checks: lib/extensions/postgres/adapters/postgres/decoder/decoder.ex#L134
redefining module Realtime.Adapters.Postgres.Decoder.Messages.Relation.Column (current version loaded from _build/test/lib/realtime/ebin/Elixir.Realtime.Adapters.Postgres.Decoder.Messages.Relation.Column.beam)
Formatting Checks: lib/realtime/application.ex#L77
Nested modules could be aliased at the top of the invoking module.
Formatting Checks: test/realtime/repo_test.exs#L63
Nested modules could be aliased at the top of the invoking module.
Formatting Checks: test/realtime/repo_test.exs#L54
Nested modules could be aliased at the top of the invoking module.
Formatting Checks: test/realtime/repo_test.exs#L32
Nested modules could be aliased at the top of the invoking module.
Formatting Checks: test/realtime/repo_test.exs#L11
Nested modules could be aliased at the top of the invoking module.
Formatting Checks: test/realtime/cluster_strategy/postgres_test.exs#L9
Nested modules could be aliased at the top of the invoking module.
Formatting Checks: test/realtime/channels_test.exs#L14
Nested modules could be aliased at the top of the invoking module.
Formatting Checks: test/integration/rt_channel_test.exs#L93
Numbers larger than 9999 should be written with underscores: 10_000
Formatting Checks: test/realtime/tenants/connect_test.exs#L151
Numbers larger than 9999 should be written with underscores: 10_000
Formatting Checks: test/realtime/cluster_strategy/postgres_test.exs#L27
Numbers larger than 9999 should be written with underscores: 10_000