Skip to content

Upgrade RuboCop related gems #3367

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Mar 28, 2025

Motivation

Upgrade the rest of the outdated development gems, all related to RuboCop. There's a bug fix for the RuboCop add-on in these upgrades, so that we stop seeing an argument error while developing.

@vinistock vinistock self-assigned this Mar 28, 2025
@vinistock vinistock added the chore Chore task label Mar 28, 2025 — with Graphite App
Copy link
Member Author


How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock marked this pull request as ready for review March 28, 2025 18:10
@vinistock vinistock requested a review from a team as a code owner March 28, 2025 18:10
@vinistock vinistock force-pushed the 03-28-upgrade_rubocop_related_gems branch 6 times, most recently from 1bf88c8 to dc3352c Compare March 31, 2025 17:20
@vinistock vinistock force-pushed the 03-28-upgrade_rubocop_related_gems branch from dc3352c to 5f936b3 Compare April 7, 2025 20:05
@vinistock
Copy link
Member Author

Just FYI, something in the new RuboCop versions is breaking our ability to show documentation links as part of the quick fixes, which is why I haven't shipped this yet.

I have not managed to figure out what changed, but it looks this call to base_url_for is not consistently returning nil.

I suspect that's a symptom and not the root cause. Something may have changed in how settings are taken into account.

@vinistock vinistock force-pushed the 03-28-upgrade_rubocop_related_gems branch 6 times, most recently from c112681 to 04cbfec Compare May 23, 2025 21:01
@bbatsov
Copy link

bbatsov commented May 25, 2025

I guess we should look into this to make sure it's not a bug in RuboCop. //cc @koic

@vinistock
Copy link
Member Author

@bbatsov it has been failing only on Windows, but I'm having trouble figuring out why. It could actually be something related to our tests and not RuboCop.

@vinistock vinistock force-pushed the 03-28-upgrade_rubocop_related_gems branch from 04cbfec to 914efdf Compare May 29, 2025 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants