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

chore(ci): tentative fix pronto #1857

Merged
merged 1 commit into from
Apr 9, 2024
Merged

chore(ci): tentative fix pronto #1857

merged 1 commit into from
Apr 9, 2024

Conversation

julienbourdeau
Copy link
Contributor

@julienbourdeau julienbourdeau commented Apr 9, 2024

Yesterday, all our pronto actions started failing like this.

It turned out that there was a bug introduced in rubocop, which made it incompatible with rubocop-rails. A fix seems on the way.

rubocop/rubocop#12823

One way to mitigate this is to use bundle exec rubocop instead of global rubocop. We don't have pronto in our Gemfile so let's move to regular rubocop for now.

Ideally, we'd like to move to checks like this: #1856

Note: It's necessary to exit if there is no files to run because you can run rubocop on the entire codebase today.

@julienbourdeau julienbourdeau self-assigned this Apr 9, 2024
@julienbourdeau julienbourdeau force-pushed the chore/pronto-error branch 9 times, most recently from 1040031 to f7e7395 Compare April 9, 2024 08:51
@julienbourdeau julienbourdeau merged commit 6900014 into main Apr 9, 2024
6 checks passed
@julienbourdeau julienbourdeau deleted the chore/pronto-error branch April 9, 2024 09:11
drejc pushed a commit to fliqa-io/lago-api that referenced this pull request May 15, 2024
Yesterday, all our `pronto` actions started [failing like
this](https://github.com/getlago/lago-api/actions/runs/8600901566/job/23566843917?pr=1854).

It turned out that there was a bug introduced in rubocop, which made it
incompatible with `rubocop-rails`. A
[fix](rubocop/rubocop#12826) seems on the way.

rubocop/rubocop#12823

One way to mitigate this is to use `bundle exec rubocop` instead of
global `rubocop`. We don't have pronto in our Gemfile so let's move to
regular rubocop for now.

Ideally, we'd like to move to checks like this:
getlago#1856

Note: It's necessary to exit if there is no files to run because you can
run rubocop on the entire codebase today.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants