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

[NO-TICKET] Fix rubocop lint #4062

Merged
merged 1 commit into from
Nov 4, 2024
Merged

[NO-TICKET] Fix rubocop lint #4062

merged 1 commit into from
Nov 4, 2024

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Nov 4, 2024

What does this PR do?

This PR moves the start_worker and stop_worker to the private section of writer.rb.

It does this instead of using
private :start_worker, :stop_worker to make rubocop happy.

Motivation:

Unbreak rubocop in master.

Change log entry
(Not relevant)

Additional Notes:

I thought we had pinned down the version of rubocop in CI, but it appears we have a gap. I've not investigated further.

How to test the change?

Validate that the lint check in CI is back to green.

**What does this PR do?**

This PR moves the `start_worker` and `stop_worker` to the `private`
section of `writer.rb`.

It does this instead of using
`private :start_worker, :stop_worker` to make rubocop happy.

**Motivation:**

Unbreak rubocop in master.

**Additional Notes:**

I thought we had pinned down the version of rubocop in CI, but it
appears we have a gap. I've not investigated further.

**How to test the change?**

Validate that the lint check in CI is back to green.
@ivoanjo ivoanjo added dev/testing Involves testing processes (e.g. RSpec) dev/internal Other internal work that does not need to be included in the changelog labels Nov 4, 2024
@ivoanjo ivoanjo requested a review from a team as a code owner November 4, 2024 12:56
Copy link
Contributor

@Strech Strech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏🏼

Copy link

@bouwkast bouwkast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (but am not Ruby dev 😄 )

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.73%. Comparing base (51446c7) to head (f208359).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4062   +/-   ##
=======================================
  Coverage   97.72%   97.73%           
=======================================
  Files        1338     1338           
  Lines       80249    80249           
  Branches     4016     4016           
=======================================
+ Hits        78422    78429    +7     
+ Misses       1827     1820    -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pr-commenter
Copy link

pr-commenter bot commented Nov 4, 2024

Benchmarks

Benchmark execution time: 2024-11-04 13:34:00

Comparing candidate commit f208359 in PR branch ivoanjo/fix-rubocop-lint with baseline commit 51446c7 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 29 metrics, 2 unstable metrics.

@TonyCTHsu TonyCTHsu merged commit ce863f0 into master Nov 4, 2024
275 checks passed
@TonyCTHsu TonyCTHsu deleted the ivoanjo/fix-rubocop-lint branch November 4, 2024 16:07
@github-actions github-actions bot added this to the 2.5.0 milestone Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/internal Other internal work that does not need to be included in the changelog dev/testing Involves testing processes (e.g. RSpec) tracing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants