-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CA-401 Lock rubocop_rspec below v2.28.x #128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With the patched version v2.28.2, I'm not sure this is necessary anymore. I haven't tested it, yet, but, if it works, would you have any objections to closing this in favor of the updated dependency?
@jbeard6 The patched version is in a separate gem (rubocop-rspec_rails), so that would involve pulling in another dependency, and ensuring they are loaded correctly. I'd recommend rolling this change out first so we can unblock any gem releases, then following up with a more permanent fix. |
Do we have links to a couple of our workflows that show
|
Here's a link to a failing PR: https://github.com/ezcater/ezcater_accounting/actions/runs/8525581203/job/23354000587?pr=56 |
@mikowitz Here's a passing fork of that failing PR with just the version of rubocop-rspec locked below v2.28: https://github.com/ezcater/ezcater_accounting/pull/57/checks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Hopefully they'll fix this upstream and we can stop having to do this, but for now, let's get ourselves unblocked!
@mikowitz I just bumped the version and updated CHANGELOG.md. |
What did we change?
This locks the rubocop_rspec gem below v2.28 to temporarily fix a regression caused by that issue.
Why are we doing this?
Slack
rubocop_rspec v2.28.0 was released with a regression that is causing our gems to throw "Ambiguous cop name
RSpec/Rails/HttpStatus
" errors:This temporary fix should unblock ezcater gem releases until a more permanent solution is available
How was it tested?