Skip to content

Implement optimistic resource quota utilization computation #196

Implement optimistic resource quota utilization computation

Implement optimistic resource quota utilization computation #196

Triggered via pull request November 13, 2024 15:20
Status Failure
Total duration 43s
Artifacts 1

ruby_tests.yml

on: pull_request
rubocop  /  Rubocop
31s
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#L83
Style/PreferredHashMethods: Use `Hash#key?` instead of `Hash#has_key?`.
rubocop / Rubocop: app/models/concerns/foreman_resource_quota/host_managed_extensions.rb#L83
Style/PreferredHashMethods: Use `Hash#key?` instead of `Hash#has_key?`.
rubocop / Rubocop: app/models/concerns/foreman_resource_quota/host_managed_extensions.rb#L149
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.
rubocop / Rubocop: app/models/foreman_resource_quota/host_resources.rb#L13
Style/RedundantSelf: Redundant `self` detected.
rubocop / Rubocop: app/models/foreman_resource_quota/host_resources.rb#L14
Style/RedundantSelf: Redundant `self` detected.

Artifacts

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