Skip to content

feat(enmeshed): support nmshd::Connector API version 3.1.0 #5291

feat(enmeshed): support nmshd::Connector API version 3.1.0

feat(enmeshed): support nmshd::Connector API version 3.1.0 #5291

Triggered via push January 20, 2025 14:55
Status Failure
Total duration 4m 9s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 17 warnings
lint
reviewdog: Too many results (annotations) in diff. You may miss some annotations due to GitHub limitation for annotation created by logging command. Please check GitHub Actions log console to see all results. Limitation: - 10 warning annotations and 10 error annotations per step - 50 annotations per job (sum of annotations from all the steps) - 50 annotations per run (separate from the job annotations, these annotations aren't created by users) Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
lint
Process completed with exit code 1.
scan_ruby
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
slim-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint: app/controllers/application_controller.rb#L77
[rubocop] reported by reviewdog 🐶 Cyclomatic complexity for render_error is too high. [8/7] Raw Output: app/controllers/application_controller.rb:77:3: C: Metrics/CyclomaticComplexity: Cyclomatic complexity for render_error is too high. [8/7]
lint: app/controllers/application_controller.rb#L77
[rubocop] reported by reviewdog 🐶 Perceived complexity for render_error is too high. [9/8] Raw Output: app/controllers/application_controller.rb:77:3: C: Metrics/PerceivedComplexity: Perceived complexity for render_error is too high. [9/8]
lint: lib/enmeshed/connector.rb#L29
[rubocop] reported by reviewdog 🐶 Assignment Branch Condition size for fetch_existing_attribute is too high. [<6, 16, 3> 17.35/17] Raw Output: lib/enmeshed/connector.rb:29:7: C: Metrics/AbcSize: Assignment Branch Condition size for fetch_existing_attribute is too high. [<6, 16, 3> 17.35/17]
lint: lib/enmeshed/connector.rb#L101
[rubocop] reported by reviewdog 🐶 Align parts of a string concatenated with backslash. Raw Output: lib/enmeshed/connector.rb:101:15: C: Layout/LineEndStringConcatenationIndentation: Align parts of a string concatenated with backslash.
lint: spec/lib/enmeshed/connector_spec.rb#L7
[rubocop] reported by reviewdog 🐶 Space missing inside }. Raw Output: spec/lib/enmeshed/connector_spec.rb:7:97: C: Layout/SpaceInsideBlockBraces: Space missing inside }.
lint: spec/lib/enmeshed/relationship_spec.rb#L93
[rubocop] reported by reviewdog 🐶 Use the new Ruby 1.9 hash syntax. Raw Output: spec/lib/enmeshed/relationship_spec.rb:93:109: C: Style/HashSyntax: Use the new Ruby 1.9 hash syntax.
lint: spec/lib/enmeshed/relationship_spec.rb#L102
[rubocop] reported by reviewdog 🐶 Use the new Ruby 1.9 hash syntax. Raw Output: spec/lib/enmeshed/relationship_spec.rb:102:111: C: Style/HashSyntax: Use the new Ruby 1.9 hash syntax.
lint: spec/lib/enmeshed/relationship_template_spec.rb#L18
[rubocop] reported by reviewdog 🐶 Use 2 (not 32) spaces for indenting an expression spanning multiple lines. Raw Output: spec/lib/enmeshed/relationship_template_spec.rb:18:39: C: Layout/MultilineMethodCallIndentation: Use 2 (not 32) spaces for indenting an expression spanning multiple lines.
lint: spec/lib/enmeshed/relationship_template_spec.rb#L40
[rubocop] reported by reviewdog 🐶 Use `described_class` instead of `Enmeshed::RelationshipTemplate`. Raw Output: spec/lib/enmeshed/relationship_template_spec.rb:40:9: C: RSpec/DescribedClass: Use `described_class` instead of `Enmeshed::RelationshipTemplate`.
lint: spec/lib/enmeshed/relationship_template_spec.rb#L44
[rubocop] reported by reviewdog 🐶 Use `described_class` instead of `Enmeshed::RelationshipTemplate`. Raw Output: spec/lib/enmeshed/relationship_template_spec.rb:44:9: C: RSpec/DescribedClass: Use `described_class` instead of `Enmeshed::RelationshipTemplate`.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test: spec/services/proforma_service/import_task_spec.rb#L56
ProformaService::ImportTask#execute when task with same uuid exists in db creates a predecessor for task Failure/Error: expect { import_proforma_task }.to change { task.reload.predecessor }.from(nil).to(be_an(Task)) NoMethodError: undefined method 'predecessor' for an instance of Task
test: spec/services/proforma_service/import_task_spec.rb#L78
ProformaService::ImportTask#execute when task with same uuid exists in db when user does not own task when user is an author of task changes existing task Failure/Error: before { task.authors << user } NoMethodError: undefined method 'authors' for an instance of Task
test: spec/services/proforma_service/import_task_spec.rb#L74
ProformaService::ImportTask#execute when task with same uuid exists in db when user does not own task when user is an author of task creates a new task Failure/Error: before { task.authors << user } NoMethodError: undefined method 'authors' for an instance of Task
test: spec/services/proforma_service/import_task_spec.rb#L82
ProformaService::ImportTask#execute when task with same uuid exists in db when user does not own task when user is an author of task creates a predecessor for task Failure/Error: before { task.authors << user } NoMethodError: undefined method 'authors' for an instance of Task