Repository navigation
Run RuboCop with --no-parallel - #1043
Merged
Merged
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
lolgab
marked this pull request as ready for review
December 3, 2026 10:26
lolgab
enabled auto-merge
December 3, 2026 10:26
There was a problem hiding this comment.
Pull Request Overview
✅ No blocking issues noticed
No blocking findings identified.
Test suggestions
- Verify the constructed RuboCop command contains
--no-parallelfor repository and generated configuration paths. - Verify existing configuration, pattern, and file arguments are still included when
--no-parallelis added.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify the constructed RuboCop command contains `--no-parallel` for repository and generated configuration paths.
2. Verify existing configuration, pattern, and file arguments are still included when `--no-parallel` is added.
TIP Add review instructions in .codacy/instructions/review.md, or an AGENTS.md, so the reviewer knows your conventions.
TIP How was this review? Give us feedback
DMarinhoCodacy
approved these changes
Dec 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RuboCop turns
--parallelon by itself when every CLI option is in its default-parallel list (ours all are) and the active config doesn't setAllCops: UseCache: false. That happens for runs that use the repo's own.rubocop.yml/.rubocop-codacy.yml: RuboCop then forks one worker per CPU it sees, and with no CPU limit on the pod that is the node's 16–64 cores, each worker paying for its own copy of the ~18 loaded plugins against the 250Mi memory limit.--no-parallel, so RuboCop always inspects files in a single process, whichever config is used.UseCache: false) were already serial; nothing changes for them.--no-parallelsetsparallel: false, soparallel_by_default!(RuboCop 1.92.3lib/rubocop/cli.rb:152-161) no longer switches it on, and the runner'srun_in_parallel?returns false.Same fix as codacy/codacy-opengrep#50.
ToolOutOfMemorycount and run-time p99 vs the 7 days before