Skip to content

Standardize incoming introspection #298

Standardize incoming introspection

Standardize incoming introspection #298

Triggered via pull request December 4, 2023 15:38
Status Failure
Total duration 1m 16s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

build-workflow.yaml

on: pull_request
Check Dialyzer
25s
Check Dialyzer
Build and Test
33s
Build and Test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 38 warnings
Build and Test: test/astarte_core/triggers/simple_events_test.exs#L188
test payload serialized with ExProtobuf still works for IncomingIntrospectionEvent (Astarte.Core.SimpleEventsTest)
Build and Test
Process completed with exit code 2.
Check Dialyzer
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/
Check Dialyzer: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Check Dialyzer: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Check Dialyzer: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Check Dialyzer: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Check Dialyzer: lib/astarte_core/triggers/simple_trigger_config.ex#L33
unused alias AMQPTriggerTarget
Check Dialyzer: lib/astarte_core/triggers/simple_trigger_config.ex#L38
unused alias TriggerTargetContainer
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L138
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L142
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L118
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Check Dialyzer: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Check Dialyzer: lib/astarte_core/triggers/simple_trigger_config.ex#L33
unused alias AMQPTriggerTarget
Check Dialyzer: lib/astarte_core/triggers/simple_trigger_config.ex#L38
unused alias TriggerTargetContainer
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L138
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L142
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Check Dialyzer: lib/astarte_core/triggers/policy/handler.ex#L118
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test
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/
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test
use Bitwise is deprecated. import Bitwise instead
Build and Test: lib/astarte_core/triggers/simple_trigger_config.ex#L33
unused alias AMQPTriggerTarget
Build and Test: lib/astarte_core/triggers/simple_trigger_config.ex#L38
unused alias TriggerTargetContainer
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L138
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L142
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L118
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test: config/config.exs#L3
use Mix.Config is deprecated. Use the Config module instead
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L138
Astarte.Core.Triggers.PolicyProtobuf.ErrorKeyword.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L142
Astarte.Core.Triggers.PolicyProtobuf.ErrorRange.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: lib/astarte_core/triggers/policy/handler.ex#L118
Astarte.Core.Triggers.PolicyProtobuf.Handler.new/1 is deprecated. Build the struct by hand with %MyMessage{...} or use struct/2
Build and Test: lib/astarte_core/triggers/simple_trigger_config.ex#L33
unused alias AMQPTriggerTarget
Build and Test: lib/astarte_core/triggers/simple_trigger_config.ex#L38
unused alias TriggerTargetContainer
Build and Test: test/astarte_core/interface_test.exs#L383
variable "interface" is unused (if the variable is not meant to be used, prefix it with an underscore)
Build and Test
attempting to determine the presence of embed_many field :error_handlers 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.
Build and Test
attempting to determine the presence of embed_many field :error_handlers 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.
Build and Test
attempting to determine the presence of embed_many field :error_handlers 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.