Claude Code v2.1.295 업데이트 - 훅 실패 차단 및 타임아웃 제어 강화
Claude Code가 명령·HTTP 훅 실패 시 작업을 차단하는 onFailure: "block" 옵션을 추가했다. Claude 앱 게이트웨이에 upstream_ttfb_ms 타임아웃 설정이 도입돼 Bedrock·Vertex 등 클라우드 업스트림의 스트림 시작 지연을 제한하고 장애조치
Claude Code · 릴리스 v2.1.295 · 2026-10-08
Claude Code가 명령·HTTP 훅 실패 시 작업을 차단하는 onFailure: "block" 옵션을 추가했다. Claude 앱 게이트웨이에 upstream_ttfb_ms 타임아웃 설정이 도입돼 Bedrock·Vertex 등 클라우드 업스트림의 스트림 시작 지연을 제한하고 장애조치를 트리거한다. 모델별 업스트림 라우팅을 위한 선택적 models 리스트와 재시도 대기 시간을 제한하는 CLAUDE_CODE_RETRY_WATCHDOG_MAX_WAIT_MS 환경변수가 추가됐다. [1m] 모델 요청 실패, 원격 MCP 서버 재연결 루프, Bash 도구 호출 오류 등 다수의 버그가 수정됐다.
weltiq 관점: API 타임아웃 제어와 장애조치 로직 개선으로 자동 실행 전략의 안정성이 높아지고, 훅 실패 차단 옵션은 백테스트 환경에서 불완전한 실행을 방지할 수 있다.
릴리스 노트 발췌
What's changed Added onFailure: "block" for command and HTTP hooks: a hook that can't start, times out, or exits with an unexpected code blocks the action instead of letting it through Added Program Status Protocol (OSC 7501) support: terminals that implement it can show whether Claude Code is working, waiting on you, or done Added quoted text to the /copy picker, so a drafted message copies without its > markers Added a warning to claude plugin install , enable , disable and marketplace add when the settings file they write to does not load Added a line on stderr, when it is a terminal, that says what a claude -p run is waiting for when it stays open after its last turn Added support for ti…
원문: https://github.com/anthropics/claude-code/releases/tag/v2.1.295