Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

RuboCop 1.72 breaks GitHub CodeClimate CI #376

Copy link
Copy link
Open
@JoeCohen

Description

@JoeCohen
Issue body actions

I am a developer for MushroomObserver (MO), an open-source, all-volunteer nonprofit.

MO is a Ruby on Rails app.
The code repository is GitHub, https://github.com/MushroomObserver/mushroom-observer
We use and rely on both RuboCop for local testing and the CodeClimate GitHub App for CI.

When we upgraded RuboCop to version 1.72, the CodeClimate CI broke. Example: https://codeclimate.com/github/MushroomObserver/mushroom-observer/builds/11148

I believe the breakage relates to the plugin system introduced in v 1.72, in particular, the changed key in the .rubocop.yml file: “require” changed to “plugins”. See https://docs.rubocop.org/rubocop/1.72/extensions.html

  • With plugins: our CI breaks,. while our local RuboCop works fine.
  • With require: it’s the opposite: CI works fine, but local RuboCop breaks.

Note that our .codeclimate.yml includes the rubocop plugin, and we specify the latest channel available from CodeClimate (rubocop-1-56-3). See https://github.com/codeclimate/codeclimate-rubocop/branches/all?utf8=%E2%9C%93&query=channel%2Frubocop

I therefore wonder if:

  • CodeClimate could add a new rubocop channel which fixes the problem.
  • RuboCop could continue to accept require for extension; and/or
    you could suggest a workaround which would let us use the latest RuboCop version both locally and in the CodeClimate GitHub App for CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.