Skip to content

fix: CU MCP 매장 차단 시 연결 유지#160

Merged
hmmhmmhm merged 1 commit into
mainfrom
fix/cu-mcp-degraded
Jul 27, 2026
Merged

fix: CU MCP 매장 차단 시 연결 유지#160
hmmhmmhm merged 1 commit into
mainfrom
fix/cu-mcp-degraded

Conversation

@hmmhmmhm

Copy link
Copy Markdown
Owner

요약

  • CU MCP 재고 도구에서 storeLimit: 0이면 불필요한 후속 매장 조회를 생략합니다.
  • 매장 보강 요청까지 차단돼도 재고 degraded 응답을 유지하고 nearbyStores.available/unavailableReason으로 원인을 제공합니다.
  • 실제 운영 MCP 호출에서 재현된 평문 Zyte 520 연쇄 오류를 회귀 테스트로 고정했습니다.

검증

  • 포맷, ESLint, Biome, 타입 검사, 소스 450줄 제한 통과
  • npx vitest run --maxWorkers=1 --no-file-parallelism (143 files, 1,621 tests)
  • npx vitest run --coverage --maxWorkers=1 --no-file-parallelism (143 files, 1,622 tests; 100% statements/branches/functions/lines)
  • npm run build

운영 재현

cu_check_inventory가 재고 520을 degraded로 바꾼 뒤에도 기본 매장 조회의 520 때문에 MCP 오류를 반환하던 문제를 해결합니다.

@hmmhmmhm
hmmhmmhm merged commit f3386ae into main Jul 27, 2026
6 checks passed
@hmmhmmhm
hmmhmmhm deleted the fix/cu-mcp-degraded branch July 27, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant