chore(ci): reduce Renovate memory usage#481
Merged
Merged
Conversation
chenjiahan
marked this pull request as ready for review
July 20, 2026 09:28
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Renovate configuration adds an ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
3 tasks
colinaaa
added a commit
to lynx-family/lynx-stack
that referenced
this pull request
Jul 20, 2026
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated automated dependency maintenance settings to limit resource usage during lockfile updates. * Reduced parallel processing and capped memory allocation to improve reliability and avoid timeouts. <!-- end of auto-generated comment: release notes by coderabbit.ai --> ## Summary Ported from [rstackjs/rstack-examples#481](rstackjs/rstack-examples#481). The Renovate lockfile-maintenance job risks being killed by the kernel OOM killer when pnpm regenerates the shared lockfile across this large workspace (100+ projects). This caps Renovate's Node child-process heap at 1536 MiB (`toolSettings.nodeMaxMemory`) and limits pnpm to a single worker (`PNPM_MAX_WORKERS=1`), leaving more memory available for the Renovate parent process and native allocations. ## Related Links - https://docs.renovatebot.com/mend-hosted/faq/#im-hitting-a-timeout--kernel-out-of-memory-limit-with-a-pnpmyarn-project ## Checklist - [x] Tests updated (or not required). - [x] Documentation updated (or not required). - [x] Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).
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.
Summary
The Renovate job was terminated by the kernel OOM killer while pnpm regenerated the shared lockfile for 178 workspace projects.
This caps Renovate's Node child-process heap at 1536 MiB and limits pnpm to one worker. The tuned reproduction completed successfully with about 0.87 GiB peak RSS, leaving more memory available for the Renovate parent process and native allocations.
Related Links