부하·장애 주입 테스트 스크립트, 테스트 전용 HTTP 제한 해제 옵션, chess.js 의존성

- scripts/loadtest.ts: 방 N개 × (선수 2 + 관전자) 연결, 방마다 2초에 한 수, 상대 수신까지 지연 p50/p95/p99,
  서버 CPU·메모리, --chaos 시 서버 SIGKILL → 재시작 → 재연결·수 유실 검사
- LOADTEST_NO_HTTP_LIMITS=1(https 주소에서는 무시)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-04 05:07:43 +09:00
parent f81f20a4bf
commit f72be633f8
5 changed files with 219 additions and 5 deletions

View File

@@ -3,6 +3,13 @@
"version": "0.0.0",
"private": true,
"type": "module",
"exports": { ".": "./src/index.ts", "./*": "./src/*/index.ts" },
"dependencies": { "@bg/engine": "workspace:*", "zod": "4.6.5" }
"exports": {
".": "./src/index.ts",
"./*": "./src/*/index.ts"
},
"dependencies": {
"@bg/engine": "workspace:*",
"chess.js": "1.4.0",
"zod": "4.6.5"
}
}