Skip to content

Implement optimistic resource quota utilization computation #197

Implement optimistic resource quota utilization computation

Implement optimistic resource quota utilization computation #197

Triggered via pull request November 13, 2024 16:07
Status Failure
Total duration 40s
Artifacts 1

ruby_tests.yml

on: pull_request
rubocop  /  Rubocop
28s
rubocop / Rubocop
Ruby  /  Setup matrix
Ruby / Setup matrix
Matrix: Ruby / existing-database
Waiting for pending jobs
Matrix: Ruby / test
Waiting for pending jobs
Ruby  /  Test suite
Ruby / Test suite
Fit to window
Zoom out
Zoom in

Annotations

10 errors
rubocop / Rubocop: app/helpers/foreman_resource_quota/resource_quota_helper.rb#L116
Rails/IndexWith: Prefer `index_with` over `each_with_object`.
rubocop / Rubocop: app/models/concerns/foreman_resource_quota/host_managed_extensions.rb#L12
Rails/InverseOf: Specify an `:inverse_of` option.
rubocop / Rubocop: app/models/concerns/foreman_resource_quota/host_managed_extensions.rb#L14
Rails/InverseOf: Specify an `:inverse_of` option.
rubocop / Rubocop: app/models/concerns/foreman_resource_quota/host_managed_extensions.rb#L82
Style/PreferredHashMethods: Use `Hash#key?` instead of `Hash#has_key?`.
rubocop / Rubocop: app/models/concerns/foreman_resource_quota/host_managed_extensions.rb#L82
Style/PreferredHashMethods: Use `Hash#key?` instead of `Hash#has_key?`.
rubocop / Rubocop: app/models/concerns/foreman_resource_quota/host_managed_extensions.rb#L148
Style/PreferredHashMethods: Use `Hash#key?` instead of `Hash#has_key?`.
rubocop / Rubocop: app/models/foreman_resource_quota/host_resources.rb#L7
Rails/InverseOf: Specify an `:inverse_of` option.
rubocop / Rubocop: app/models/foreman_resource_quota/host_resources.rb#L7
Rails/RedundantForeignKey: Specifying the default value for `foreign_key` is redundant.
rubocop / Rubocop: app/models/foreman_resource_quota/host_resources.rb#L12
Style/RedundantSelf: Redundant `self` detected.

Artifacts

Produced during runtime
Name Size
Gemfile-theforeman-actions-rubocop-ruby-2.7.lock
911 Bytes