mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-31 15:48:51 +01:00
💾 feat: Add Memory Configuration Options for CI unit tests (#10567)
* 💾 feat: Add Memory Configuration Options for CI unit tests - configured GitHub Actions workflows with configurable Node.js heap allocation, defaults to 6144 MiB - added heap usage logging for memory monitoring and debugging - increased Docker frontend build memory allocation to ensure consistent memory limits - optimized Jest timeout for tokenSplit test * 💾 feat: Add Memory Configuration Options for CI unit tests - responding to PR feedback from Copilot
This commit is contained in:
parent
d7a765ac4c
commit
b9792160e2
9 changed files with 34 additions and 6 deletions
|
|
@ -7,7 +7,7 @@
|
|||
"server-dev": "echo 'please run this from the root directory'",
|
||||
"test": "cross-env NODE_ENV=test jest",
|
||||
"b:test": "NODE_ENV=test bun jest",
|
||||
"test:ci": "jest --ci",
|
||||
"test:ci": "jest --ci --logHeapUsage",
|
||||
"add-balance": "node ./add-balance.js",
|
||||
"list-balances": "node ./list-balances.js",
|
||||
"user-stats": "node ./user-stats.js",
|
||||
|
|
|
|||
|
|
@ -11,3 +11,7 @@ OPENAI_API_KEY=your-api-key
|
|||
BAN_VIOLATIONS=true
|
||||
BAN_DURATION=7200000
|
||||
BAN_INTERVAL=20
|
||||
|
||||
# NODE_MAX_OLD_SPACE_SIZE is only used as a Docker build argument.
|
||||
# Node.js does NOT recognize this environment variable for heap size.
|
||||
NODE_MAX_OLD_SPACE_SIZE=6144
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue