The Ruby Style job in .github/workflows/pr_tests.yml is configured with continue-on-error: true, so bundle exec rake rubocop failures do not fail CI — they are silently ignored.
Under the OpenVox test stack (voxpupuli-test, which pins rubocop 1.85 / rubocop-rspec 3.9), rubocop currently fails here:
spec/acceptance/suites/default/01_ignore_spec.rb:11 & :13 RSpec/LeakyLocalVariable
spec/unit/puppet/provider/iptables_default_policy/enforce_spec.rb:3 & :4 RSpec/LeakyLocalVariable
spec/unit/puppet/type/iptables_default_policy_spec.rb:5 RSpec/LeakyLocalVariable
37 files inspected, 5 offenses detected
Follow-up
- Fix the offense(s) above.
- Remove
continue-on-error: true from the Ruby Style job so rubocop is actually enforced (note: pr_tests.yml is maintained by puppetsync, so the template likely needs updating too).
Filed as a follow-up during the round-2 OpenVox 9 / Ruby 4.0 migration.
The
Ruby Stylejob in.github/workflows/pr_tests.ymlis configured withcontinue-on-error: true, sobundle exec rake rubocopfailures do not fail CI — they are silently ignored.Under the OpenVox test stack (voxpupuli-test, which pins rubocop 1.85 / rubocop-rspec 3.9), rubocop currently fails here:
Follow-up
continue-on-error: truefrom theRuby Stylejob so rubocop is actually enforced (note:pr_tests.ymlis maintained by puppetsync, so the template likely needs updating too).Filed as a follow-up during the round-2 OpenVox 9 / Ruby 4.0 migration.