Repository navigation
Run oxlint with a single thread - #7
Merged
Merged
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 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:25
There was a problem hiding this comment.
Pull Request Overview
✅ No blocking issues noticed
No blocking findings were identified.
Test suggestions
- Verify the generated oxlint command includes --threads 1.
- Run the wrapper against representative fixtures and verify diagnostics remain unchanged.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Verify the generated oxlint command includes --threads 1.
2. Run the wrapper against representative fixtures and verify diagnostics remain unchanged.
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
lolgab
enabled auto-merge
December 3, 2026 10:25
DMarinhoCodacy
approved these changes
Dec 3, 2026
3 tasks
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.
oxlint sizes its thread pool from
std::thread::available_parallelism()when--threadsisn't given. Our tool pods have a memory limit but no CPU limit, so that's the whole node's core count (16–64), not the pod's 512m request. oxlint keeps one allocator arena per thread for the whole run, so on a big node it can hold that many parsed files at once against a 1Gi limit.--threads 1, matching the 512m CPU request.RAYON_NUM_THREADS, so the flag is the only way to set this (init_rayon_thread_poolatoxlint_v1.85.0).docs/multiple-testsfixtures is the same as onmaster(run locally with oxlint 1.85.0).Same fix as codacy/codacy-opengrep#50; rule written up in codacy/claude-workbench#59.
ToolOutOfMemorycount and run time p99 vs the 7 days before