Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active
TypeScript aianthropicartifactsawsazurechatgptchatgpt-cloneclaudeclonedeepseekgeminigooglegpt-5librechatmcpo1openairesponses-apivisionwebui
🩹 ci: Invoke ESLint and Prettier Binaries Directly in Static Checks (#15884)
Danny Avila145325854541
diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.ymlindex 5782dab05f..8812e95902 100644--- a/.github/workflows/static-checks.yml+++ b/.github/workflows/static-checks.yml@@ -131,7 +131,11 @@ jobs:# Run ESLint# --no-warn-ignored: changed files under config-ignored paths# (e.g. packages/data-schemas/misc/**) must not fail --max-warnings=0- npx eslint --no-error-on-unmatched-pattern \+ # Invoke the installed binary, not `npx`: npm exec joins the whole+ # command into one shell string, and Linux rejects a single argv+ # string over 128 KiB (MAX_ARG_STRLEN) — past ~2,200 changed files+ # npx dies with exit 249 and no output.+ node_modules/.bin/eslint --no-error-on-unmatched-pattern \--config eslint.config.mjs \--no-warn-ignored \--max-warnings=0 \@@ -162,7 +166,7 @@ jobs:# `prettier --check` exits non-zero if any file would be reformatted.# Suggest the local fix in the failure message so contributors aren't# left guessing how to resolve.- if ! npx prettier --check --no-error-on-unmatched-pattern -- "${CHANGED_FILES[@]}"; then+ if ! node_modules/.bin/prettier --check --no-error-on-unmatched-pattern -- "${CHANGED_FILES[@]}"; thenecho ""echo "::error::Prettier formatting drift detected. Fix locally with:"echo "::error:: npx prettier --write <files>"@@ -235,7 +239,7 @@ jobs:if: always() && steps.paths.outputs.eslint_config == 'true'continue-on-error: truerun: |- npx eslint --config eslint.config.mjs \+ node_modules/.bin/eslint --config eslint.config.mjs \api/server/index.js client/src/main.jsx packages/api/src/index.ts- name: Restore data-provider build cache@@ -809,7 +813,7 @@ jobs:run_sweep() {set +etimeout -k 15 "$ESLINT_SWEEP_BUDGET_SECONDS" \- npx eslint --config "$1" api client packages -f json -o "$2"+ node_modules/.bin/eslint --config "$1" api client packages -f json -o "$2"local status=$?set -e# 124 = timeout sent TERM; 137 = it escalated to KILL.