Skip to content
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

Temporary pin on rubocop-rails until next bugfix release #3323

Merged
merged 1 commit into from
Sep 15, 2021

Conversation

gravitystorm
Copy link
Collaborator

There is a bug in the Rails/ContentTag cop that causes rubocop to crash. The bug has already been fixed and so should be available in the next release.

See rubocop/rubocop-rails#543

There is a bug in the Rails/ContentTag cop that causes rubocop to crash. The bug has already been fixed and so should be available in the next release.

See rubocop/rubocop-rails#543
@gravitystorm gravitystorm added the dx Developer Experience label Sep 15, 2021
@tomhughes
Copy link
Member

I already did the upgrade yesterday, and disabled that test for the problem files because of that bug.

@gravitystorm
Copy link
Collaborator Author

Ah, I didn't notice the disabled file in .rubocop_todo.yml. But there's only one file in that list, and CI on master is failing due to the others.

@tomhughes
Copy link
Member

I didn't actually see the crash, what I saw was it trying to change Locale.tag calls even though that is nothing to do with AR classes.

I'm still not actually clear if the upstream fix is actually going to stop that as they seem to have concentrated on "top level" rather than on only looking at AR derived classes.

@tomhughes tomhughes merged commit 5f11c2d into openstreetmap:master Sep 15, 2021
@gravitystorm gravitystorm deleted the rubocop_rails_bug branch September 22, 2021 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Developer Experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants